Windows 7 Remote Shutdown Script works locally but not remotely on a Windows 7 workstation joined to a workgroup
Posted on 2012-09-05
If I run the following script from a command prompt on the local machine it works perfectly.
runas /user:officepc\joe "shutdown /s /m \\officepc /t 120"
However when I run it from another machine on the network, I receive the following error message: RUNAS ERROR: Unable to run - shutdown /s /m \\officepc /t /120
1326: Logon failure: unknown user name or bad password.
Since it works when I'm on the machine locally, I know it's not a problem with the user name and password per se. I have also tried turning off the firewall, but to no avail. I also enabled the Remote Registry service.