Cortana, the digital personal assistant in Windows 10, can be used to search files on your PC, track packages, manage your time and calendar, quickly search the web, and find answers for your questions.
While Cortana is still evolving as a personal assistant and not available in all regions, it’s still one of the best features of Windows 10.
One of the limitations of Cortana is that it can’t be used to initiate a shutdown, restart, hibernate or sleep on your Windows 10 PC. This is because there is no command at present to shut down your PC using Cortana.
Many users often use Cortana to get their job done quickly, and looking for ways to use the personal assistant to initiate a shut down, restart or hibernate operation. If you find the Cortana very helpful and want to use the same to shut down, restart, hibernate or sleep your PC, you can do so with a simple workaround.
As you know, Cortana can be used to search files and launch files. Using this feature of Cortana, we can make the personal assistant from Microsoft to shut down, restart, sleep or hibernate your Windows 10 PC. In short, you need to create shortcuts to shut down, restart, hibernate and sleep operations first, and then you need launch one of these files using Cortana to shutdown, restart, hibernate or sleep your computer.
Use Cortana to shutdown, restart, hibernate or sleep Windows 10 PC
Step 1: First we need to create shortcuts for shutdown, restart, hibernate and sleep operations under the following folder.
So, first open Run command box by simultaneously pressing Windows logo and R keys, type the following path in the field, and then press Enter key to open Programs folder.
The path you need to enter in Run command box is:
Step 2: Now, right-click on the empty area, click New, click Short, type one of the following commands, enter the name for the shortcut as Shutdown, restart, hibernate or sleep, and then click Finish button to crate the shutdown shortcut.
While creating shortcuts, you need to use the following commands:
shutdown -s -t 0
shutdown -r -t 0
For log off:
Logoff: shutdown -l -t 0
C:\Windows\System32\rundll32.exe powrprof.dll, SetSuspendState 0,1,0
In the above command, replace “C” with the drive’s letter where Windows 10 is installed.
Step 3: Once the shortcut is ready, you can say Hey Cortana to start Cortana and then say Open shutdown to begin shutting down your computer.
Hope this helps!
Our turn on or off three finger tap to launch Cortana guide might also interest you.