Skip to main content

How To Create Shutdown, Restart, Log Off, Suspend and More Shortcuts on Windows Desktop


We all use shortcuts today to do our tasks quickly. Generally to Shutdown/Log off/Hibernate/Restart, we use Start menu to access these option or we use keyboard shortcut Alt+F4 to open menu for these options. 

The other way is to create shortcuts of these options on desktop or wherever you want so you can use them by just double clicking on it!! You can also assign an icon to them.

Here i will show you how to create a shortcut of these options and how to change their icons. I am taking example of shutdown.

Steps:
  • Right click on desktop and go to New>>Shortcut.
  • In the Create Shortcut Setup Wizard, copy the code given below(without quotes) in the box. (Here "00" is timer in seconds as time system will shutdown after the given time. you can change if you want)
"Shutdown -s -t 00"
  • Click Next. In next wizard, Give a name to shortcut whatever you want. I am giving name Shortcut as its shortcut for shutdown.
  • Click on Finish. Your shortcut is created. Now, you can set a icon to it.
  • To set icon, right click on that shortcut and go to properties. In properties wizard, go to change icon and select a icon for your shortcut and click OK.
Other Codes : 
Copy it without quotes
  • Restart :  "Shutdown -r -t 00"
  • Log Off : "Shutdown.exe -L"
  • Hibernate/Suspend : "rundll32.exe PowrProf.dll, SetSuspendState"
  • Lock : "rundll32.exe user32.dll LockWorkStation
  • Enable Firewall : "netsh.exe firewall set opmode enable"
  • Disable Firewall : "netsh.exe firewall set opmode disable"





Comments

Popular posts from this blog

How To Install Dolby Digital Audio On Windows 10,8.1,8,7 on any Laptop/PC

Everyone wants High quality audio for their laptops/PCs. But not all devices come with high quality audio like Dolby/Dolby Digital Plus Sound . Here, I am sharing a tutorial for people who want Dolby for their Laptops/PCs. There 4 versions of Dolby Audio Listed Below. You can use any one you want but i will prefer to Dolby Digital Plus Advance Audio for any random Laptop/PC as it gives best performance according to my experience and guide is also for that. To install Dolby, you must Disable Driver Signature Enforcement first.  So lets start, Follow the steps given below. Windows 7 doesn't need to disable driver signature enforcement so you can skip those steps and continue with steps to install Dolby . List: Dolby Digital Plus Advance Audio Dolby Digital Plus Home Theatre Dolby Advance Audio v2 Dolby Home Theatre v4  Downloads: Download any one you want to install for your Laptop/PC. Dolby Digital Plus Advance Audio - Download Dolby Digital Pl...

How to Enable the Dark Mode on YouTube

We all use Youtube everyday but very know that Youtube has a Dark Theme. The Company has not made it official but you can still use it. Follow the steps to enable the dark theme on Youtube. Steps: Sign in to your Youtube account. It is necessary. With out sign in, trick will not work. Right click and choose Inspect ('in Chrome') or Inspect Element ('in Firefox') option. It will open a window that contains code of Youtube and multiple tabs. Now click on 'console' tab. Copy and paste the code given below (without quotes) and hit Enter. If you get warning then simply click on 'allow pasting'. If you get error then copy and paste again and hit Enter. var cookieDate = new Date(); cookieDate.setFullYear(cookieDate.getFullYear( ) + 1); document.cookie="VISITOR_INFO1_LIVE=fPQ4jCL6EiE; expires=" + cookieDate.toGMTString( ) + "; path=/"; If it successfully runs then refresh the Youtube page....

How To Copy Larger than 4GB file to a Capable Pendrive

Have you ever faced the problem that you are trying to copy a single file larger than 4 GB to your pen drive but it cannot copy even if there is free space more than 4 GB. The error says that the file is too large for the destination file system as show below. It happens mostly with pen drives with FAT32 File System .  The reason behind this problem is limitation of pen drive's file system FAT32 . FAT32 only supports less than 4 GB files. To do it, pen drive shouldn't be FAT32. Instead we can make it NTFS . Windows drives are also NTFS. That is why a file larger than 4 GB can be stored on your hard drive . NTFS supports larger than files  4 GB. To convert in NTFS we must have to format pen drive with NTFS file system . Before beginning, move your important data to your computer because all data will be lost as we are formatting the pen drive.  Formatting pen drive with NTFS will not affect the performance or anything of pen drive...