[Solved] PowerShell run as Administrator doesn’t find the program

Sometimes on a Windows 2012 R2 server, you can get this error message

This file does not have a program associated with it for performing this action.
Please install a program or, if one is already installed,
create an association in the Default Programs control panel.

The solution

  1. Click on the shortcut without the Run As Administrator option
  2. Close this console
  3. Click on the shortcut with the Run As Administrator option

Leave a comment