Shutdown Via CMD

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

PenFed

Thread Starter
Joined
Sep 15, 2014
Messages
17
I have several computers throughout my house, all on the same network. I am trying to set up basically a command center in my main computer, a windows 8 laptop, via command prompt. I want to be able to just use simple commands such as "shutdown -i', and everything appears to work fine until I receive an "access is denied.(5) every time I make an attempt. Are there settings I need to change on each computer, or just the command computer, to make this option accessible?
 
Joined
Dec 5, 2013
Messages
1,768
On the remote machines insure that "Remote Registry" in Services is enabled and the startup type is automatic.
 

PenFed

Thread Starter
Joined
Sep 15, 2014
Messages
17
That's the first thing I checked, I set the Remote Regestry service as automatic for all computers, including the remote computers and host computer.
 
Joined
Jan 23, 2007
Messages
65
I'm assuming the computers are not connected to a domain? If not, I doubt the local account on the main Win8 laptop will have the appropriate permissions to shutdown the other machines. My lab is currently all domain connected machines so can't really test but suspect you will need to use PSexec (link) with a command along the lines of:
Code:
psexec \\10.0.0.5 -u johndoe -p mypassword -accepteula "C:\windows\system32\shutdown -f"
Obviously you'll need to replace the IP address, username (johndoe) and password with the appropriate cred for you machine(s).
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top