Rebooting 
Author Message
 Rebooting

Looking for the easiest way to reboot NT and win 98 machines in WSH.  Any
help would be appreciated

Billy



Sat, 21 Sep 2002 03:00:00 GMT  
 Rebooting
For WIn 9x have a look into the WSH Bazaar, there are a few
samples. For NT you need an external tool (like an ActiveX control).
have a look at Ian Morrish's site, Glazier offers an ActiveX control for
that.

G. Born

Check out the WSH Bazaar at:

www.borncity.de

Billy Graham schrieb in Nachricht

Quote:
>Looking for the easiest way to reboot NT and win 98 machines in WSH.  Any
>help would be appreciated

>Billy



Sat, 21 Sep 2002 03:00:00 GMT  
 Rebooting
Win98 SE reboots fine with the following:

Dim WshShell

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.Run ("C:\WINDOWS\RUNDLL32.EXE shell32.dll,SHExitWindowsEx 2")

--
Regards,
Doug Knox, Microsoft MVPDTS
No support provided by e-mail!  Reply to the newsgroups only!
* Help us help YOU - http://members.home.com/dts-l/goodpost.htm
--
The Microsoft MVP Program does not constitute employment or contractual
obligation with Microsoft Corporation. We do this for fun! :)
--
Visit my web site for Win95/98 Tweaks, Tips and Utilities
http://members.xoom.com/dbknox/registry/index.htm

Quote:

> Looking for the easiest way to reboot NT and win 98 machines in WSH.  Any
> help would be appreciated

> Billy



Sat, 21 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Weird Rebooting Problem

2. Reboot

3. Reboot script

4. Take control of the system after a reboot

5. Problem rebooting

6. using WMI to reboot

7. Preventing reboot? message

8. Reboot into Safe Mode

9. rebooting a PC from a link on Active Desktop

10. Change logout to reboot

11. Script to reboot web servers

12. Log off and log on without a reboot?

 

 
Powered by phpBB® Forum Software