Remote Shutdown with Win XP

Discussion in 'Operating Systems' started by rishid, Jun 29, 2004.

  1. rishid

    rishid Guest

    Hello,

    I have 2 computers on a lan, and want to be able to start up / shutdown one of the computer remotely. I will work on starting up later, just trying to use windows XP remote shutdown tool.
    Using
    shutdown.exe -s -m 192.168.1.101 -t 5 -f

    as the command. I keep getting an error saying The Network Path was not found. It is definetly the right IP, I pinged it and it replies. Do I need to change some settings on the computers so it allows me to shut it down?

    Thanks
     
  2. iisbob

    iisbob Member Guru

    Messages:
    167
    Likes Received:
    3
    GPU:
    MSI 1070
    You need to use the server name in the unc path not the ip; example-

    shutdown -r -f -m \\MyServer -t 60

    tells the pc to shutdown, (-r) reboot (-f) force any apps to close, (-m \\name ) the name of the remote system, and the (-t) time to do so

    You could also use the -d (u, p ) options with a specified numeric parameter to tell why the system is shutting down.

    See windows XP help for more info
     
  3. rishid

    rishid Guest

    I had used \\CompOne before and still displayed same message ("The Network Path was not found"). The computers are connected through a router, do I need to open some sort of port to allow this?
     

Share This Page