I have researched this at length, but cannot find a solution to the specific issue I'm getting. Evidently there are a number of similar issues that regularly cause problems for people trying to connect or issue remote commands to a Windows server, but none of the solutions I've found help in this case.
Scenario (no domain involved):
- UserA has a workgroup account on WorkstationA (Win7 Ultimate).
- UserA has a workgroup account on ServerA (2012 R2).
- UserA is in the Administrators group on both machines.
With this setup, UserA is able to remote desktop to the server and carry out administrative tasks.
But if UserA tries to shut down ServerA from a WorkstationA command prompt, even from an administrator command prompt, access is denied:
shutdown /m \\ServerA /t 0 /s ServerA: Access is denied.(5)
Similarly, direct access is denied to the server's filesystem using Windows Explorer, which triggers a username/password dialog.
And here's the thing:
- All this used to work, on Server 2008 and 2008R2
- If UserA logs on to WorkstationA as the user called Administrator (instead of the UserA account which is in the Administrators group on both machines), it all works.