SHUTDOWN -i

zematex Posted messages 116 Status Member -  
barnabe0057 Posted messages 14329 Registration date   Status Contributor 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 answers

  1. barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention   4 930
     
    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
    1. zematex Posted messages 116 Status Member
       
      I have already tried.
      0
  2. barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention   4 930
     
    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
    1. zematex Posted messages 116 Status Member
       
      It's not working, man.
      0
    2. zematex Posted messages 116 Status Member
       
      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
    3. zematex Posted messages 116 Status Member
       
      THANK YOU FOR YOUR HELP ...
      0