kumarkumar Posted December 26, 2010 Share Posted December 26, 2010 (edited) I am trying to shutdown computers remotely.All the computers are in the same workgroup. They are not part of any domain. They all have the same login username with no password, which is configured for auto login.I am not able to shutdown any computer remotely from any of the computers using the command "shutdown -s -m \\computername". I get the message "Access denied".I tried the suggestion mentioned here http://www.derkeiler.com/Newsgroups/microsoft.public.windowsxp.security_admin/2003-02/2268.html. No luckI also tried with PsShutdown. Same error. Edited December 26, 2010 by kumarkumar Link to comment Share on other sites More sharing options...
allen2 Posted December 27, 2010 Share Posted December 27, 2010 Psshutdown should work when using -u and -p options but i never tried with empty password. Also when using a local account on the target computer, the syntax of psshutdown should be as follow:psshutdown -s \\target -u target\administrator -p password Link to comment Share on other sites More sharing options...
kumarkumar Posted December 27, 2010 Author Share Posted December 27, 2010 Psshutdown should work when using -u and -p options but i never tried with empty password. Also when using a local account on the target computer, the syntax of psshutdown should be as follow:psshutdown -s \\target -u target\administrator -p passwordTried that too, both without specifying any password in "-p password" and without using the "-p" flag (in this case it asks for the password after you hit enter). Same error. Link to comment Share on other sites More sharing options...
rajuraja Posted December 27, 2010 Share Posted December 27, 2010 Psshutdown should work when using -u and -p options but i never tried with empty password. Also when using a local account on the target computer, the syntax of psshutdown should be as follow:psshutdown -s \\target -u target\administrator -p passwordTried that too, both without specifying any password in "-p password" and without using the "-p" flag (in this case it asks for the password after you hit enter). Same error.I suspect, PSShutdown dont work if its blank password....try after defining a password... Link to comment Share on other sites More sharing options...
schloss Posted December 28, 2010 Share Posted December 28, 2010 ...They all have ... no password...If they have no password, NO remote access to Windows will work, neither shutdown, nor psshutdown. Link to comment Share on other sites More sharing options...
kumarkumar Posted December 29, 2010 Author Share Posted December 29, 2010 I suspect, PSShutdown dont work if its blank password....try after defining a password...If they have no password, NO remote access to Windows will work, neither shutdown, nor psshutdown.Yep, that was the root cause. Put in some password and now everything works, including Remote Desktop which too wasn't working.Thanks to rajuraja and schloss. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now