Windows 10 Tweak: Change Command Prompt to PowerShell as Default in WinX Menu Action

Update: 10/17/2016 – Confirmed works on 1607 & Server 2016
For in place upgrades, recommend using Group Policy to add registry Keys




Or simply run this to add it to your own profile… (requires log off & log on)
REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V DontUsePowerShellOnWinX /T REG_DWORD /D 00000000 /F

Original Post:
So you love to Right-Click on the Start Button and have access to all those Great Tools, but why did Microsoft default the Option to Command Prompt instead of PowerShell?  Don’t they know PowerShell is king?  So I decided to make it default during OSD via a registry setting.

The Registry Key is for HKCU, so we’ll apply it to the default profile, so anyone who logs on for the first time will get that key added to their HKCU.


Windows Registry Editor Version 5.00




reg.exe load HKEY_LOCAL_MACHINE\defuser c:\users\default\ntuser.dat
reg.exe import "WindowsXMenu\WinXMenu-CMD2PS.reg"
reg.exe unload HKEY_LOCAL_MACHINE\defuser

Add those two files into your Windows10OSD Scripts Package,


You can find the files available here:

Then you can add a step to your TS to call the batch file

Now, after you image Windows 10, instead of the Command Prompt, you’ll get PowerShell for all users:


Other handy Info:
Manually change this by going to TaskBar & Start Menu Properties (right click on TaskBar and click Properties) then check the box under Navigation:

You can add other items to this menu for your profile by adding times here:
C:\Users\[USERNAME]\AppData\Local\Microsoft\Windows\WinX directory


More great info:

Leave a Reply

Your email address will not be published. Required fields are marked *