How To Use A Cortana Voice Command To Shut Down Windows 10

Cortana can do some awesome things; it can give you traffic updates, save reminders, find a restaurant nearby, and more. What it can’t do is run simple system operations like shutting down or restarting your computer. It can’t even close an app but it can open them which is something you can use to get Cortana to do so much more. If you’re looking to turn Windows 10 off with a simple voice command to Cortana, you’d be surprised at how easy it is. All you need to do is create the right shortcut in the right folder.

Open Windows Explorer and go to;

C:\Users\User Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

Make sure to replace User Name with your own user name set in Windows. Right-click inside the Programs folder and select the New Shortcut option. In the location field, enter;

shutdown.exe -s -t 60

You can skip the ‘-t 60’ part if you want the shut down action to be immediate. With this additional command, you will have a sixty second window to cancel a shut down via the Command Prompt. You can set the value to anything else i.e. 30 for a thirty second delay. Name the Shortcut Shut Down and you’re done.

Click the mic button inside the Windows desktop search bar or say ‘Hey Cortana’ if you’ve enabled it and give the command, ‘Open Shut Down EXE’. You will get an on-screen prompt telling you Windows will shut down in one minute or that it will shut down in a while.

cortana windows shut down

Make sure you name the shortcut Shut Down and not Shutdown as Cortana will not be able to find it otherwise. If you want to use the shortcut to restart Windows, replace the ‘-s’ with ‘-r’ and name it Restart. To execute it, tell Cortana to Open Restart EXE.

Via Anudeep Tubati