Windows 10: Win+X Menu - Show Command Prompt or PowerShell in Windows 10  

    Win+X Menu - Show Command Prompt or PowerShell in Windows 10

    Win+X Menu - Show Command Prompt or PowerShell in Windows 10

    Show Command Prompt or Windows PowerShell on Win+X menu in Windows 10
    Published by Category: Customization
    14 Dec 2016
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 19,009

    Show Printable Version 


    Show Command Prompt or Windows PowerShell on Win+X menu in Windows 10

    information   Information
    The Win+X Quick Link menu is a pop-up menu from the Start button that includes shortcuts of common management, configuration, and other power user Windows tools.

    This tutorial will show you how to have either Command Prompt or Windows PowerShell show on the Win+X menu for your account in Windows 10.

    Note   Note
    Starting with Windows 10 build 14971, Windows PowerShell will show in the Win+X by default now instead of Command Prompt.


    CONTENTS:
    • Option One: Show Command Prompt or PowerShell on WIN+X menu in Settings
    • Option Two: Show Command Prompt or PowerShell on WIN+X menu using a BAT File



    EXAMPLE: Win+X menu with Command Prompt or Windows PowerShell
    Name:  Win+X_menu.png
Views: 9036
Size:  44.6 KB






    Win+X Menu - Show Command Prompt or PowerShell in Windows 10 OPTION ONE Win+X Menu - Show Command Prompt or PowerShell in Windows 10
    Show Command Prompt or PowerShell on WIN+X menu in Settings

    1. Open Settings, and click/tap on the Personalization icon.

    2. Click/tap on Taskbar on the left side, and turn On (default) or Off Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key+X on the right side. (see screenshot below)

    3. You can now close Settings if you like.

    Click image for larger version. 

Name:	Win+X_Settings.png 
Views:	211 
Size:	52.2 KB 
ID:	94612






    Win+X Menu - Show Command Prompt or PowerShell in Windows 10 OPTION TWO Win+X Menu - Show Command Prompt or PowerShell in Windows 10
    Show Command Prompt or PowerShell on WIN+X menu using a BAT File

    Note   Note
    The .bat files below will change the DOWRD value in the registry key below.

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced

    DontUsePowerShellOnWinX DWORD

    0 = Show "Windows PowerShell"
    1= Show "Command Prompt"


    1. Do step 2 (Command Prompt) or step 3 (PowerShell) below for what you would like to do.


     2. To Show Command Prompt on WIN+X menu

    A) Click/tap on the Download button below to download the BAT file below, and go to step 4 below.

    Show_Command_Prompt_on_Win+X_menu.bat

    download


     3. To Show Windows PowerShell on WIN+X menu

    NOTE: This is the default setting.

    A) Click/tap on the Download button below to download the BAT file below, and go to step 4 below.

    Show_Windows_PowerShell_on_Win+X_menu.bat

    download

    4. Save the .bat file to your desktop.

    5. Unblock the .bat file.

    6. Run the .bat file.

    7. You will now notice your screen flicker and a command prompt quickly opens and closes as explorer is restarted to apply the registry changes.

    8. When finished, you can delete the downloaded .bat file if you like.


    That's it,
    Shawn


  1. Brink's Avatar
    Posts : 19,009
    64-bit Windows 10 Pro build 15063
       17 Nov 2016 #1

    Update:

    Starting with Windows 10 build 14971, Windows PowerShell will show in the Win+X by default now instead of Command Prompt.
      My ComputersSystem Spec

  2. Kari's Avatar
    Posts : 10,645
    Windows 10 Pro
       15 Dec 2016 #2

    I am trying to replace PowerShell in WIN + X menu with PowerShell ISE, I prefer ISE over Command Prompt or normal PowerShell. I thought it would be easy simply by editing shortcuts in %localappdata%\Microsoft\Windows\WinX\Group3:
    Click image for larger version. 

Name:	image.png 
Views:	48 
Size:	111.3 KB 
ID:	113696

    This does not work; although I've changed the target to ISE, normal PowerShell will still be opened.

    Ideas?
      My ComputerSystem Spec

  3.    16 Dec 2016 #3

    Kari said: View Post
    Ideas?
    yes

    Click image for larger version. 

Name:	powershell.jpg 
Views:	66 
Size:	204.8 KB 
ID:	113725

    is not a good ideea to modify an existing entry in Win-X menu

    because
    a. are SYSTEM links and always will point to the same predetermined program by OS
    b. if you change their names you will see the same SYSTEM name in Win-X menu entries

    best ideea (at least here) is to make your own new entries (home made entries)
    same thing for win 8.x Win-X menu

    if you will create your own entry for Win-X menu
    you will can rename the entry
    and
    even run it as elevated process.

    there are solutions on the web
    one of them is on *REMOVED*
    is a portable program ,
    but I don't use it because (at least here)
    1. don't works with already existent .lnk files (the entry is not showed in menu)
    but works here with .exe files like your
    2. cant run it as elevated process (no UAC intervention)

    I use this small program ( ~ 7..8KB ) manually for solve the above problem .1
    is a third party tool

    and and and
    I do it SILENT (with a homemade autoit script)

    BTW you can create Group4 as a new folder , like in attached picture

    c
    Last edited by Brink; 16 Dec 2016 at 09:21. Reason: link
      My ComputerSystem Spec

  4.    12 Feb 2017 #4

    Is it possible to show both Powershell and CMD in this menu?
      My ComputerSystem Spec


 

Related Threads
I execute the following shortcut from the command prompt in Windows 10: explorer.exe shell:appsFolder\Microsoft.Windows.Photos_8wekyb3d8bbwe!App and it works fine. The new Windows Photos app main page shows up, ready to be used. I want to...
General Tips Open Command Prompt in Windows 10 in Tutorials
How to Open a Command Prompt in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the Windows...
Show Command Prompt or PowerShell in Win+X Power User Tasks Menu in Windows 10 This tutorial will show you how to have either the Command Prompt or Windows PowerShell items show in your Win+X Power User Tasks menu in Windows 10 ...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 05:46.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums