close
Windows

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

cortana-command-to-restart-hibernate-or-shut-down-Windows-10_thumb

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 .

cortana-command-to-restart-hibernate-or-shut-down-Windows-10_thumb

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.

Cortana-commands-to-shutdown-restart-log-off-Windows-10-pic1

It will open Program folder.

cortana-command-to-restart-hibernate-or-shut-down-Windows-10-step1_thumb

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.

cortana-command-to-restart-hibernate-or-shut-down-Windows-10-step2_thumb
Cortana-commands-to-shutdown-restart-log-off-Windows-10-pic2
Cortana-commands-to-shutdown-restart-log-off-Windows-10-pic3

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.

cortana-command-to-restart-hibernate-or-shut-down-Windows-10-step3_thumb
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