Add Shutdown/Reboot Button on Windows 8 home screen

By Unknown Saturday, July 13, 2013 0 comments
windows 8 tips

Windows 8, the latest Microsoft operating rod has tried to unify the experience from tablets to laptops and desktops.
This operating system is much nicer touch than its predecessors and its elegant approach to simplify daily tasks.However, there is a point at which the operating system is not carried out in accordance with the expectations of the users. And here is the ease with which you can turn off or restart the system. In previous versions of Windows, users simply need to click on the Start button and select Stop to stop the system. But this is not the case with Windows 8, Windows 8 presents no Start button. In fact, the home button has been replaced by the home screen. Then turn off the system, go to the option to low settings and select charm off. Largo, is not it?
So, today we are here with a tutorial, you can add a card to shutdown and restart your home screen of Windows 8 for the whole process becomes easier and you have to shut down or reboot the system with a single click . So let's begin. Follow the steps to add buttons restart and shutdown:
(1) First, open Notepad. This can be done by pressing Win + R to open the Run dialog box and type notepad and press enter. Or you can try notepad from the home screen and then run it.
(2) Then copy and paste the following text into Notepad given.

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"
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" - See more at: http://www.alltechbuzz.net/2012/12/add-shutdown-reboot-buttons-windows-8.html#sthash.EEAw3KcF.dpuf
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" - See more at: http://www.alltechbuzz.net/2012/12/add-shutdown-reboot-buttons-windows-8.html#sthash.EEAw3KcF.dpuf
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" - See more at: http://www.alltechbuzz.net/2012/12/add-shutdown-reboot-buttons-windows-8.html#sthash.EEAw3KcF.dpuf
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" - See more at: http://www.alltechbuzz.net/2012/12/add-shutdown-reboot-buttons-windows-8.html#sthash.EEAw3KcF.dpuf


(3) Now click Save As on the File menu and enter the file name Shutdown.vbs not forget to enter. Vbs
(4) along with the file type, select all files and select the Save option.
(5) Next, go to the location where you saved the file and run the file once. The file opens for a second and then disappears automatically.
(6) At this point, go to the home screen and voilla. You will see that the tiles off, Restart and Exit are automatically placed there and now with a single click you can shut down or reboot.
Sharing is sexy

Related posts

0 comments for this post

Leave a reply