LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to shutdown WinXP

I want to shutdown WinXP.
In win9x and WinNT is this done by ExitWindowsEx in the user32.dll but this doesn't work in WinXP.
0 Kudos
Message 1 of 3
(3,373 Views)

Try some of the stuff mentioned here or here [links removed; threads no longer available].
They talk about ExitWindowsEx but go on from there to other methods that work with Windows 2000. If it works with Windows 2000, it might work with XP.

Message 2 of 3
(3,373 Views)
Try this VI. It uses the ExitWindowsEx, but passing value "PowerOff" instead of "Shutdown". This completely powers off the PC. It works fine on W2K.
Message 3 of 3
(3,373 Views)