- Are similar user credentials required for remote shutdown to work properly?
See https://technet.microsoft.com/en-us/library/cc732503.aspx
Users must be assigned the Shut down the system user right to shut down a local or remotely administered computer that is using the shutdown command.
- Do both systems need to be in the same domain/workgroup for remote shutdown to work properly?
No, as long as you can perform the shutdown with a user who has shutdown rights on the target machine (I would add the /f
switch to force the shutdown)
- Are there OS features I have to enable/disable besides remote shutdown? If so, what are they?
Not that I am aware of. Of course you have to have access to the target machine which will allow the shutdown action. You could have an application running on the target system which will prevent the shutdown event.
What is the most common cause of and solution to Error: Access denied.(5)?
- Resource does not exist
- User has no access rights
- Access is blocked by firewall
- other, just search https://technet.microsoft.com/en-us/
The solution depends on what you were denied access to.