-
December 13th, 2003, 10:15 PM
#1
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?
-
December 13th, 2003, 10:34 PM
#2
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.
-
December 13th, 2003, 10:42 PM
#3
Dont working, I havent this file TSSHUTDN.EXE
:,(
// too far away outside of limit
-
December 13th, 2003, 11:18 PM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|