[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 Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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