SHUTDOWN -i

zematex Posted messages 116 Status Membre -  
barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   -
Hello, this issue is about a shutdown I'm trying to do on my second computer.
So when I do: shutdown -i I put in the IP etc. and when I execute it, an error occurs in cmd.exe: Unable to connect to the Registry.
So there you go, if anyone can give me the answer, I would be grateful!

Oh yes, I also use another command: shutdown /m \\IPAddressOfRemotePC /s /i but when I execute it, cmd gives me the same result as if I had run the command: shutdown /?. So lots of stuff and explanations, Anyway, I don't understand anything, thank you, Goodbye!

3 réponses

barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   4 929
 
Hello,

You need to open the command prompt by right-clicking (run as administrator)

--

“Artificial intelligence is defined as the opposite of natural stupidity.”
0
zematex Posted messages 116 Status Membre
 
I have already tried.
0
barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   4 929
 
In the documentation, it is specified that the /i switch must be in the first position:

shutdown /i /s 

shutdown /i /s /m \\RemotePCAddress


--

“Artificial intelligence is defined as the opposite of natural stupidity.”
0
zematex Posted messages 116 Status Membre
 
It's not working, man.
0
zematex Posted messages 116 Status Membre
 
By entering what you said: shutdown /i /s /m \\AdressIPpcDistant, it opens a small window, so in the name I put its IP address, and once I run it, it shows me this: ******(ip of the pc)*******: The computer name entered is not valid or remote shutdown is not supported by the target computer. Please check the name, then try again, or contact your system administrator. (53)

Thank you for your help!
0
zematex Posted messages 116 Status Membre
 
THANK YOU FOR YOUR HELP ...
0
barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   4 929
 
You're certainly missing one of the prerequisites for the command to work remotely; everything is explained here:
https://www.futura-sciences.com/tech/questions-reponses/internet-eteindre-pc-distance-shutdown-1882/

“Artificial intelligence is defined as the opposite of natural stupidity.”
0