

#Vbscript syntax shutdown timer windows#
To do so, you use Windows Script Host (WSH), a Windows component that allows you to run scripts that you yourself have created in JScript and VBScript languages. If you are using Windows XP or Windows Server 2003, you do not have to cope with the discrepancies of Shutdown.exe: You can create your own shutdown tool.
#Vbscript syntax shutdown timer windows 7#
In fact, if you are using Windows 7 or Windows Server 2008, you are already in possession of the improved version of Shutdown.exe which should be more than enough to handle automatic shutdown of your local machine. The user can return to work by logging back on.) However, as of 2 August 2010, the latest version of this tool (2.52.0.0) also suffered from a crippling shortcoming: Only users with administrative privileges could use it. ( Locking a user session returns the user to the logon screen without logging out.

It can hibernate a computer or lock a user session.

In addition to Shutdown.exe, a freeware called PsShutdown.exe is also available from Microsoft that features additional capabilities over Shutdown.exe in Windows XP. We also saw that the earlier version of Shudown.exe included with Windows XP suffers from certain discrepancies that severely limit its usage scenarios. In the previous episode, we saw Shutdown.exe, a command-line tool that could perform shutdown, restart or logout.
