How to run shutdown.exe to shut another machine with administrator right

  • Thread starter Thread starter hon123456
  • Start date Start date
H

hon123456

Dear all,

I am using shutdown -s -m \\remoteComputerName to shutdown the
other computer. But it prompts saying that access denied.

So how to obtain admin right to another computer in command
prompt, and after that I can use shutdown -s -m \\remoteComputerName.
I want to do it on
command prompt cause I am wrinting an automatic batch file. (Maybe you
just tell me what is the command, and I can read the documentation for
this command)

Thanks for your help.
 
hon123456 said:
Dear all,

I am using shutdown -s -m \\remoteComputerName to shutdown the
other computer. But it prompts saying that access denied.

So how to obtain admin right to another computer in command
prompt, and after that I can use shutdown -s -m \\remoteComputerName.
I want to do it on
command prompt cause I am wrinting an automatic batch file. (Maybe you
just tell me what is the command, and I can read the documentation for
this command)

Thanks for your help.

The user account you are using on the machine initiating the shutdown
(ie. the machine you are running RemoteShutdown.exe on) must be listed
in the "Administrators" local group of your target machine.
 
Back
Top