Table of Contents
Search for Command Prompt from Start, then choose Pin to taskbar if that option appears. Keep the pinned shortcut for normal commands and request administrator access when a task requires it.
Pin Command Prompt
- Open Start and type
cmd. In the result’s menu, choose Pin to taskbar if available. - If you don’t see that option, open Command Prompt, right-click its taskbar icon, and choose Pin to taskbar. On newer Windows 11 systems, the running window may be hosted by Windows Terminal. If the icon belongs to Terminal, use the Start result or a dedicated
cmd.exeshortcut to pin Command Prompt itself.



Open one administrator session
Search for Command Prompt in Start, right-click the result, and choose Run as administrator. Review the User Account Control prompt and approve it when you intended to elevate. A standard account may need a valid administrator’s credentials. For ordinary diagnostics such as ping, a normal Command Prompt usually works.
Make a dedicated shortcut request elevation each time
- Right-click the pinned Command Prompt icon, then right-click Command Prompt in the menu and choose Properties. If you can’t reach shortcut properties from the pin, create a desktop shortcut with
%SystemRoot%System32cmd.exeas its target and open that shortcut’s properties. - In the Shortcut tab, choose Advanced, select Run as administrator, and confirm the changes.
- Close the old window and launch the configured shortcut. Approve the prompt when appropriate and look for Administrator in the window title. Clear the same checkbox if you want the shortcut to open normally again.





Shortcut elevation still uses Windows User Account Control. If administrator access is unavailable, see how Windows administrator permissions work.

Reader Comments 0
Sign in with email or Google to join the discussion.