How to Add Shutdown Button in Windows 8

If You are using Windows 8 then I’m sure that you are wandering for a problem which is How to Add Shutdown Button in Windows 8 ?

Windows 8 gives user friendly Metro User-Interface to users but, Operating Systems does not give a simple Shut down and Restart Option to users.



#Follow the steps to Add Shutdown and Restart Buttons:

(1) First Of all open Notepad.

(2) After that copy below text and paste to Notepad.
set WshShell = WScript.CreateObject("WScript.Shell")
strStartMenu = WshShell.SpecialFolders("StartMenu")
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Shutdown.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-s -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,27"
oShellLink.Description = "Shutdown Computer (Power Off)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Log Off.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-l"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,44"
oShellLink.Description = "Log Off (Switch User)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Restart.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-r -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,176"
oShellLink.Description = "Restart Computer (Reboot)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
Wscript.Echo "Created Shutdown, Restart and Log Off buttons"

(3) After that You have to save this file as “Shutdown.vbs”.

(4) Please don't forget to click on All File in File Type Menu.

(5) Then move to that destination of file and open file and file will open and will be disappear after a second.

(6) Now you will see Shutdown and Restart tile pinned in Start Menu.