+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Senior Member MrBabis is a splendid one to behold MrBabis is a splendid one to behold MrBabis is a splendid one to behold MrBabis is a splendid one to behold MrBabis is a splendid one to behold MrBabis is a splendid one to behold
    Join Date
    Oct 2003
    Posts
    394

    Shut Down win2k in command line

    I cant something that i could use to shut down my PC in command line or bat file.

    I tried:

    %windir%\system32\RUNDLL32.EXE shell32,SHExitWindowsEx 0

    But it doesnt work and i dont know why. I have foud lot of pages about this but no one work and all have same problem:

    Missing entry:SHExitWindowsEx

    On microsoft page
    http://<br /> <a rel="nofollow" hre....asp</a><br />
    was just vaues that rundll32 using and nothing more that i found.

    Can someone help me to shutdown PC with rundll32 in windows 2000?

  2. #2
    Elite Hacker skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute skiddieleet has a reputation beyond repute
    Join Date
    Mar 2003
    Posts
    1,407
    Try this: %windir%\system32\TSSHUTDN.EXE 0 /DELAY:0 /POWERDOWN
    or shutdown -s

    edit
    also try putting a 1 or a 5 at the end instead of 0, and a 2 or a 6 for reboot(I mean to the end of what you posted not me). The higher numbers are to force and the other ones are just normal.

    edit2
    what I first said worked for me on XP, but what you entered plus my addons didn't work. Did you try using the shutdown command, just type shutdown -s -t 0, and it should shutdown.

  3. #3
    Senior Member MrBabis is a splendid one to behold MrBabis is a splendid one to behold MrBabis is a splendid one to behold MrBabis is a splendid one to behold MrBabis is a splendid one to behold MrBabis is a splendid one to behold
    Join Date
    Oct 2003
    Posts
    394
    Dont working, I havent this file TSSHUTDN.EXE
    :,(
    // too far away outside of limit

  4. #4
    AO Curmudgeon rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen has a reputation beyond repute rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,714
    Windows 2000 (with the Resource Kit installed) and Windows XP (natively) have an actual shutdown command that can be launched from a command prompt — and which, therefore, also can be launched from a shortcut. To see all available options for this command, click Start, click Run, and type:

    SHUTDOWN /?
    http://aumha.org/win5/a/shutcut.php

    So, it looks like you need the Resource Kit to upgrade and get the cool new shutdown command.

    also see

    http://support.microsoft.com/?kbid=317371
    I came in to the world with nothing. I still have most of it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides