

Select Apply and OK to exit the Properties box. Then, right-click it and select Show more options (Windows 11 only) > Send to > Desktop (create shortcut).Ħ. Locate the file labeled cmd (Command Prompt) or powershell (Windows PowerShell). Windows PowerShell - Local Disk C > Windows > System32 > WindowsPowerShell > v1.0Ģ. Depending on the command-line interpreter you want to create a shortcut to, open a File Explorer window and head over to the relevant directory:Ĭommand Prompt - Local Disk C > Windows > System32 That eliminates the chances of mistakenly launching a console with standard user privileges and encountering “System error 5.”ġ. It’s possible to build a desktop shortcut in Windows capable of automatically opening Command Prompt or Windows PowerShell as an administrator.


Always Run an Elevated Command Prompt and Windows PowerShell Console Tip: Learn how to replace Windows PowerShell with Command Prompt on the Windows 10 Power User menu. Alternatively, you can search for powershell on the Start menu and select Run as administrator or press Ctrl + Shift + Enter to open an elevated Windows PowerShell window.
