I have been searching for a complete list of requirements for remote shutdown but have not been able to find anything at all. I have been constantly running into small problems that are never really mentioned in one summarized list of requirements for remote shutdown. Different sites provide the same answers and never the ones I'm looking for, so I'm begging for some help!
I am running Windows 7 on the host system and Windows 8.1 on the target system. I do not have any servers set up as this is a very small setup, and I am not looking to expand it in the near future. I have a Python script that needs to wake the target system and shut it down not too long after, with the WOL magic packet being sent by a pre-built Python function, and the shutdown command shutdown -s -t 00 /m \\XXX.XXX.X.X
Both of these systems are on a workplace domain, and I am planning on moving the script over to systems that are off the domain.
The questions that I have are as follows:
Are similar user credentials required for remote shutdown to work properly?
Do both systems need to be in the same domain/workgroup for remote shutdown to work properly?
Are there OS features I have to enable/disable besides remote shutdown? If so, what are they?
What is the most common cause of and solution to
Error: Access denied.(5)
?
Thank you in advance, and I'm hoping that this list would help people in the future!