Fix PowerGUI shortcuts in Start menu


PowerGUI 3.0 accidentally shipped with Windows Start menu shortcuts being called just “Administrative Console” and “Script Editor”. Which means that if you are used to starting applications by typing keywords in Start menu, you won’t be able to find the tools by typing PowerGUI:


Open PowerGUI Script Editor (or native PowerShell command line), run the following command in the PowerShell Console window:

dir “$($env:ProgramData)\Microsoft\Windows\Start Menu\Programs\PowerGUI” | where {$_.Name -notmatch “PowerGUI”} | Rename-Item -NewName {“PowerGUI ” + $_.Name}

This will rename the shortcuts for you:


7 Responses to “Fix PowerGUI shortcuts in Start menu”

  1. 1 fbostic July 26, 2011 at 8:37 am

    Running this:

    dir “$($env:ProgramData)\Microsoft\Windows\Start Menu\Programs\PowerGUI\PowerGUI x86” | where {$_.Name -notmatch “PowerGUI”} | Rename-Item -NewName {“PowerGUI ” + $_.Name}

    will also update and correct the small issue for the x86 subfolder.

    • 2 Dmitry Sotnikov July 26, 2011 at 3:51 pm

      Good point. I was at my x86 laptop when posting this so I completely forgot about the extra shortcuts on x64 boxes. Thanks for the updated one-liner!

    • 3 Dmitry Sotnikov July 26, 2011 at 7:49 pm

      Or even better: add -Recurse to dir so it goes into subfolders too:

      dir “$($env:ProgramData)\Microsoft\Windows\Start Menu\Programs\PowerGUI” -Recurse | where {$_.Name -notmatch “PowerGUI”} | Rename-Item -NewName {“PowerGUI ” + $_.Name}

  2. 4 halr9000 August 23, 2011 at 5:48 pm

    And for Pro:

    dir -rec “$($env:ProgramData)\Microsoft\Windows\Start Menu\Programs\Quest Software\PowerGUI Pro” | where {$_.Name -notmatch “PowerGUI”} | Rename-Item -NewName {“PowerGUI ” + $_.Name}

  1. 1 Fix PowerGUI shortcuts in Start menu (v3.0) « MS Tech BLOG Trackback on August 1, 2011 at 8:59 pm
  2. 2 Episode 156 – Brandon Shell on The Coud, Bunnies and VDI « PowerScripting Podcast Trackback on August 2, 2011 at 2:31 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

My Recent Tweets


The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

July 2011

%d bloggers like this: