locked
Remote Computer RRS feed

  • Question

  • I am now doing my final project for Cybercafe.

    May i know that how can i shutdown, restart, or log off the user/customer pc after payment by using admin pc.

    How to remotely shutdown a pc or remotely run a .bat file?

    Before that have a fren send me the syntax below, but i stil canot remote shutdown other pc. Can any one tell me the way how to remore shutdown??

    Syntax

          SHUTDOWN [logoff_option]  [/m \\Computer] [options]

    logoff_option:
        /i         Display the GUI (must be the first option)
        /l         Log off. This cannot be used with /m or /d option
        /s         Shutdown
        /r         Shutdown and Restart
        /a         Abort a system shutdown.
                   (only during the time-out period)
        /p         Turn off the local computer with no time-out or warning
                   (only with /d)
        /h         Hibernate the local computer (only with /f )
        /e         Document the reason for an unexpected shutdown of a computer

    options:

       /m \\Computer  : A remote computer to shutdown.

       /t:xxx         : Time until system shutdown in seconds.
                        The valid range is xxx=0-600 seconds. [default=30]
       /c "Msg"       : An optional shutdown message [Max 127 chars]

       /f             : Force running applications to close.
                        This will not prompt for File-Save in any open applications.
                        so will result in a loss of all unsaved data!!!

       /d u:xx:yy     : List a USER reason code for the shutdown.
       /d P:xx:yy     : List a PLANNED reason code for the shutdown.
                         xx Specifies the major reason code (0-255)
                         yy Specifies the minor reason code (0-65536)

    Options in bold are for Windows 2003 only

    Example:
    To create a desktop shortcut that will immediately shutdown your system - set the shortcut Target Properties to:
    C:\Windows\System32\shutdown.exe -s

     

    Tuesday, February 28, 2006 11:01 AM

Answers

  • try this command "shutdown /s /m \\yourmachine_name"

    Tuesday, February 28, 2006 3:25 PM
  • First, thank you , Jack2005_MSFT

    I am doing Cybercafe now.

    for example one of the user pc at my Cybercafe name is calvin,

    so i should type "shutdown.exe /s /m \\calvin" right??

    Where should i type this command at admin pc to control the user pc to shutdown??

     

     

    Wednesday, March 1, 2006 6:21 AM

All replies

  • try this command "shutdown /s /m \\yourmachine_name"

    Tuesday, February 28, 2006 3:25 PM
  • First, thank you , Jack2005_MSFT

    I am doing Cybercafe now.

    for example one of the user pc at my Cybercafe name is calvin,

    so i should type "shutdown.exe /s /m \\calvin" right??

    Where should i type this command at admin pc to control the user pc to shutdown??

     

     

    Wednesday, March 1, 2006 6:21 AM
  • 1. Go to command prompt (Start -> run -> type "cmd") on your admin PC

    2. type "shutdown.exe /s /m \\calvin" inside the command prompt

    Wednesday, March 1, 2006 4:44 PM
  • i had try what u say, if i type the command on the user pc, it work. the user pc will shutdown.

    but if i type in admin pc the user pc do nothing.

    may i know that izzit we had to set something at the LAN setting. i mean the TCP/IP setting.

    Izzit?

    But stil wan to thank alot of ur sugesstion. Thanks

    Thursday, March 2, 2006 6:00 AM
  • Sorry, Jack i miss reading what u say.

    I had try , after i type the command , it show me that it is access denied

    How can i let admin pc to access to client pc?

    Thanks You alot, Jack

    Thursday, March 2, 2006 6:04 AM
  • Make sure you add your account to your client pc's admin group
    Friday, March 10, 2006 12:52 AM
  • I tried this one for shutting down a remote computer but the error i got is "The system cannot find  the path specified". Please help me. Thanks in advance.
    Saturday, June 6, 2009 6:12 AM
  • I tried this one for shutting down a remote computer but the error i got is "The system cannot find  the path specified". Please help me. Thanks in advance.
    Tuesday, June 9, 2009 6:18 AM
  • how can i add my account to the client pc's admin group? thanks in advance.
    Tuesday, June 9, 2009 6:22 AM