Page 1 of 2 12 LastLast
    Show Command Prompt or Windows PowerShell on Win+X menu in Windows 10

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

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

    Published by BrinkCategory: Customization
    16 Sep 2015 Last Updated: 3 Weeks Ago at 16:23

    Published by


    Brink's Avatar
    Administrator

    Posts: 24,290

    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: 23957
Size:  44.6 KB






    Show Command Prompt or Windows PowerShell on Win+X menu in Windows 10 OPTION ONE Show Command Prompt or Windows PowerShell on Win+X menu 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:	823 
Size:	52.2 KB 
ID:	94612






    Show Command Prompt or Windows PowerShell on Win+X menu in Windows 10 OPTION TWO Show Command Prompt or Windows PowerShell on Win+X menu 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


    Related Tutorials



  1.    17 Nov 2016 #1
    Join Date : Oct 2013
    Posts : 24,290
    64-bit Windows 10 Pro build 17017

    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.    15 Dec 2016 #2
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,647
    Windows 10 Pro

    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:	224 
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
    Join Date : Apr 2016
    Craiova
    Posts : 41
    ten 64

    Quote Originally Posted by Kari View Post
    Ideas?
    yes

    Click image for larger version. 

Name:	powershell.jpg 
Views:	295 
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
    Join Date : Aug 2016
    Posts : 5
    Win 10 Pro

    Is it possible to show both Powershell and CMD in this menu?
      My ComputerSystem Spec
  5.    18 May 2017 #5
    Join Date : May 2016
    Posts : 37
    Win10

    I have successfully changed the start menu entry with option #1.

    But how I can get back the "Command Prompt here" by clicking SHIFT + Right-Mouse-Click on a directory in the windows 10 file explorer?
    (It seems, this context menu entry is also changed to PowerShell)
      My ComputerSystem Spec
  6.    18 May 2017 #6
    Join Date : Oct 2013
    Posts : 24,290
    64-bit Windows 10 Pro build 17017
    Thread Starter
      My ComputersSystem Spec
  7.    18 May 2017 #7
    Join Date : May 2016
    Posts : 37
    Win10

    Thanks a lot for the incredible fast answer, @Brink.
    Maybe you can link the above 2 tutorials to your options#1 and #2?

    Do I have to change the text for the context menu manually in the .reg-file to the german
    "Eingabeaufforderung hier öffnen (Administrator) "
    for my german windows?
    Or does Win10 "translate" it automatically?
      My ComputerSystem Spec
  8.    18 May 2017 #8
    Join Date : Oct 2013
    Posts : 24,290
    64-bit Windows 10 Pro build 17017
    Thread Starter

    You're most welcome.

    It should automatically translate for you with this these.
      My ComputersSystem Spec
  9.    18 May 2017 #9
    Join Date : May 2016
    Posts : 37
    Win10

    Great! It works, is automagically translated and even shows a little leading "C:" Command Prompt-Icon. Nice!
    Thank you.
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Tutorial Category
General Tips Open Command Prompt in Windows 10
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...
Tutorials
Windows 10 Command Prompt Shortcuts
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 Support
Command Prompt gets welcome improvements in Windows 10
Read more...
Windows 10 News
Change Default Command Prompt to Powershell
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 ...
Chillout Room
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 15:48.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums