December 13th, 2003, 10:15 PM
Shut Down win2k in command line
I cant something that i could use to shut down my PC in command line or bat file.
%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:
On microsoft page
<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
Try this: %windir%\system32\TSSHUTDN.EXE 0 /DELAY:0 /POWERDOWN
or shutdown -s
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.
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
Dont working, I havent this file TSSHUTDN.EXE
// too far away outside of limit
December 13th, 2003, 11:18 PM
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:
So, it looks like you need the Resource Kit to upgrade and get the cool new shutdown command.
I came in to the world with nothing. I still have most of it.