How to Use Cortana Commands To Shut Down, Restart Or Hibernate Windows 10


Cortana is digital personal assistant in which helps you to search for files on PC, track packages, manage your time and calendar, quickly search the web and also find answers to your questions.

Cortana is not available in all regions as it is still evolving but it is proving to be and has the potential to be one of the best .

Cortana has its limitations as it can’t be used to initiate a shutdown, restart or hibernate as there is no command present to perform these tasks using .


Users use Cortana to perform tasks quickly. If you find Cortana very useful and want it to use to shutdown, restart or hibernate your PC you need to follow the following sequences. First we need to allocate shortcuts to these functions and then use Cortana to use one of these files to shutdown, hibernate, restart or sleep your computer.

Use Cortana to shutdown, restart, hibernate or sleep Windows 10 PC

Step 1: First thing is we need to create shortcuts for the functions we want Cortana to perform in the following folder.

%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

Open Run Command box and enter the above address and then press enter.


It will open Program folder.


Step 2: 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.


Use the following commands to create the shortcuts.

For shutdown:

shutdown -s -t 0

For restart:

shutdown -r -t 0

For log off:

Logoff: shutdown -l -t 0

For hibernate:

C:\Windows\System32\rundll32.exe powrprof.dll, SetSuspendState 0,1,0

In the above command, replace “C” with the drive’s letter where 10 is installed.

Step 3: Once you have prepared your shortcuts, start by saying Hey Cortana and then say Open Shutdown to begin shutting down your computer.

Tags : cortanaWindows 10windows 10 how to
Nooruddin Ahmed

The author Nooruddin Ahmed

An avid football fan. Lives for the weekend game.Aviation enthusiast. Believes in letting bygones be bygones.

Leave a Response