News, tips, advice, support for Windows, Office, PCs & more
Home icon Home icon Home icon Email icon RSS icon

We're community supported and proud of it!

  • Run As Administrator In Windows 11 Shortcut Menu

    Home » Forums » AskWoody support » Windows » Windows 11 » Questions about Windows 11 » Run As Administrator In Windows 11 Shortcut Menu

    Author
    Topic
    #2396850

    In Windows 10 Pro under “Taskbar Settings” there was an option to turn off “Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key+X”, which I turned off so that I would always have the “Command Prompt (Admin)” option available when I right-clicked the Start Button. But now in Windows 11 Pro this option seems to have disappeared (it’s not in the same place) and darned if I can find it now. Where do I go to turn the PowerShell option off so that I can have the “Command Prompt (Admin)” option appear back in the shortcut menu in Windows 11, when I right-click the Start Button? Command-Prompt

    • This topic was modified 1 month, 2 weeks ago by Travasaurus.
    • This topic was modified 1 month, 2 weeks ago by Travasaurus.
    • This topic was modified 1 month, 2 weeks ago by Travasaurus. Reason: Add graphic and correct a typo
    Viewing 1 reply thread
    Author
    Replies
    • #2396887

      Windows Terminal, which appears on the Win+X/right-click start menu in Windows 11, can be set to open Command Prompt as the default tab instead of PowerShell:

      Change Default Profile in Windows Terminal app in Windows 11

      So Windows Terminal (Admin) would then open Command Prompt (Admin):

      Open Elevated Windows Terminal as Administrator in Windows 11

      Windows 10 Pro version 21H2 build 19044.1387 + Microsoft 365 (group ASAP)

      1 user thanked author for this post.
      • #2397026

        Thanks for this somewhat arcane tutorial. I searched Windows 11 help and could not find information such as the article described. Do you happen to know where to find it using Windows 11 search? (Just curious) And finally, since the Windows Terminal (Admin) app is essentially now converted to the Command Prompt, can it be assumed that it now has “inherited” the Admin capabilities as well? The shortcut menu on Windows 10 lists both Command Prompt and Command Prompt (Admin) just as the Windows 11 shortcut menu lists both the Windows Terminal and Windows Terminal (Admin) apps. I just need to be sure than when I change the Terminal to the Command Prompt default that the Admin capabilities go along with it. Apparently it’s still going to continue to list itself as Windows Terminal (Admin) in the shortcut menu, unlike Windows 10, in which it actually changes the text from Windows PowerShell (Admin) to Command Prompt (Admin) when it becomes the default app.  Once again the way it was handled before wasn’t broke but they “fixed” it anyway; it was far more intuitive left as it was. Any additional information (and / or sources) on this subject would be appreciated. I’d just like to confirm that even though the verbal description continues to be Windows Terminal (Admin) that it will in fact be running the old Windows Command Prompt (Admin) with administrative properties. Thanks!

        • #2397130

          Thanks for this somewhat arcane tutorial. I searched Windows 11 help and could not find information such as the article described. Do you happen to know where to find it using Windows 11 search? (Just curious)

          Not using Windows 11 search; but that site has probably the best Windows 11 tutorials available, with a searchable index:

          https://www.elevenforum.com/tutorials/

           

          And finally, since the Windows Terminal (Admin) app is essentially now converted to the Command Prompt, can it be assumed that it now has “inherited” the Admin capabilities as well?

          Yes, it does.

           

          The shortcut menu on Windows 10 lists both Command Prompt and Command Prompt (Admin) just as the Windows 11 shortcut menu lists both the Windows Terminal and Windows Terminal (Admin) apps. I just need to be sure than when I change the Terminal to the Command Prompt default that the Admin capabilities go along with it.

          It’s easy enough to test by entering “sfc”, which provides help if admin but an error if not.

           

          Apparently it’s still going to continue to list itself as Windows Terminal (Admin) in the shortcut menu, unlike Windows 10, in which it actually changes the text from Windows PowerShell (Admin) to Command Prompt (Admin) when it becomes the default app.  Once again the way it was handled before wasn’t broke but they “fixed” it anyway; it was far more intuitive left as it was. Any additional information (and / or sources) on this subject would be appreciated.

          Windows Terminal has many advantages (like tabs, colors, shortcuts etc.):

          Windows Terminal is a modern terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and Windows Subsystem for Linux (WSL). Its main features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and the ability to create your own themes and customize text, colors, backgrounds, and shortcuts.

          What is Windows Terminal?

          It’s fast, configurable, looks great,

          The new application features:

            • support for WSL2, SSH, Powershell, cmd and other command lines
            • multiple tabs and split panes
            • configurable themes, background images, and transparency effects
            • a search box
            • custom key bindings
            • GPU accelerated text rendering
            • a great-looking new font, Cascadia Code
            • low resource usage (typically 10MB per tab)
            • auto-updating (if using the Microsoft Store)
            • good documentation
            and it’s open source!

          Windows Terminal: The Complete Guide

           

          I’d just like to confirm that even though the verbal description continues to be Windows Terminal (Admin) that it will in fact be running the old Windows Command Prompt (Admin) with administrative properties. Thanks!

          If you open Window Terminal (Admin), after changing the default to Command Prompt, it will say “Administrator: Command Prompt” in the title bar.

          Windows 10 Pro version 21H2 build 19044.1387 + Microsoft 365 (group ASAP)

    • #2397034

      The problem is that Windows 10’s Settings GUI included a link to a DWORD setting in the registry called DontUsePowerShellOnWinX:

      Powershell_or_CMD_in_WinX_menu

      This acted as a binary toggle to switch between PowerShell and Command Prompt.

      With Windows 11’s new paradigm of disallowing users from easily changing anything MS doesn’t want changed, this registry setting has of course been removed.

      A workaround, now you’ve gone through all the palaver of opening Windows Terminal and entering cmd is to make use of that history.

      If you click on Search you should see Command Prompt as one of the Top apps. Right-click on it and choose Pin to Start.

      w11_cmd1

      Now, when you click on Start you should be able to right-click on the shortcut to Command Prompt and choose Run as administrator.

      w11_cmd2

      (Windows 11 – Never provide a one-click solution when 5, 10 or more are available.)

      • #2397154

        The problem is that Windows 10’s Settings GUI included a link to a DWORD setting in the registry called DontUsePowerShellOnWinX:

        This acted as a binary toggle to switch between PowerShell and Command Prompt.

        With Windows 11’s new paradigm of disallowing users from easily changing anything MS doesn’t want changed, this registry setting has of course been removed.

        What would be the point of a registry setting to control whether PowerShell or Command Prompt appear on the Win+X/right-click menu when neither of those are on the menu?

         

        A workaround, now you’ve gone through all the palaver of opening Windows Terminal and entering cmd is to make use of that history.

        If you click on Search you should see Command Prompt as one of the Top apps. Right-click on it and choose Pin to Start.

        Now, when you click on Start you should be able to right-click on the shortcut to Command Prompt and choose Run as administrator.

        Especially if you prefer the historical version of Command Prompt, largely unchanged since MS-DOS was released 40 years ago.

         

        (Windows 11 – Never provide a one-click solution when 5, 10 or more are available.)

        Windows Terminal is a two-click solution on Windows 11, same as Command Prompt on Windows 7/8/10.

        Windows 10 Pro version 21H2 build 19044.1387 + Microsoft 365 (group ASAP)

    Viewing 1 reply thread
    Reply To: Run As Administrator In Windows 11 Shortcut Menu

    You can use BBCodes to format your content.
    Your account can't use Advanced BBCodes, they will be stripped before saving.