Into Windows

  • Home
  • Windows 11
  • Windows 10
  • Windows 7
  • Privacy
You are here: Home » Windows 10 » Cortana Commands To Shut Down, Restart Or Hibernate Windows 10

Cortana Commands To Shut Down, Restart Or Hibernate Windows 10

Last Updated on October 4, 2018 by admin 1 Comment

UPDATE in 2018: Cortana now supports shut down, hibernate, log off and restart commands out of the box and you don’t need to manually add these commands. Refer to our how to use Cortana to shut down, hibernate, restart or log off Windows 10 article for directions.

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.

cortana command to restart, hibernate, or shut down Windows 10

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.

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

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:

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

Cortana commands to shutdown, restart, log off Windows 10 pic1It will open Programs folder:

cortana command to restart, hibernate, or shut down Windows 10 step1

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.

cortana command to restart, hibernate, or shut down Windows 10 step2

Cortana commands to shut down, restart, log off

Cortana commands to shutdown, restart, log off Windows 10 pic3

While creating shortcuts, you need to use the following commands:

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 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.

cortana command to restart, hibernate, or shut down Windows 10 step3

Hope this helps!

Our turn on or off three finger tap to launch Cortana guide might also interest you.

Filed Under: Windows 10 Tagged: Tips

Related Posts

  • How To Easily Shut Down, Restart, Or Hibernate Windows 8.1
  • Add Shut Down, Restart, & Hibernate To Start Screen In Windows 8
  • Keyboard Shortcut To Shut Down Or Hibernate Windows 10
  • Use Power Button To Shut Down Or Hibernate Windows 11 PC
  • Use Cortana To Shutdown, Restart, Sign Out & Lock Windows 10 PC

Comments

  1. Norman says

    April 1, 2019 at 6:34 pm

    I have a refurbished Dell system 10 converted from win 7 and am trying to make a desktop shortcut to sleep.
    I have tried everything , but I have no Hibernate and the sys does not recognize the terms (0,1,0) or (sleep) in the command line. I can make the computer sleep with the keyboard and with the power option in the start menu. but I don’t believe the system knows “sleep” as a command word. Any suggestions?

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements

Search Into Windows

Recent posts

  • 5 Ways To Go To Desktop In Windows 11
  • How To Show Battery Percentage On Taskbar In Windows 11
  • Fix: AMD Software Adrenalin Edition Not Opening In Windows 11
  • How To Show Year On Windows 11 Taskbar
  • Windows 11 24H2 Is Available Now
  • How To Create 7z & TAR Files In Windows 11 Without Using Additional Apps
  • How To Remove Bell Icon From Taskbar In Windows 11
  • How To Reinstall Windows 11 Without Losing Apps And Files
  • How To Hide/Show Files & Icons On Desktop In Windows 10/11
  • How To Show Hidden Icons On Taskbar In Windows 11

About us

  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2025 · Into Windows