Allowing PowerShell executing scripts

By default PowerShell is restricted to not allow script execution. To allow script execution do the following

Open PowerShell in elevated mode (run as administrator) and run the following command:
Set-ExecutionPolicy unrestricted

To verifiy how if script execution is allowed or not run the following command in PoweShell:

Install MSI packages as administrator

On Windows Vista you don’t see “Run as administrator” in the context menu when you right click on a MSI package.

1. Run regedit.exe as administrator.
2. Create the following key: HKEY_Classes_Root\Msi.Package\shell\RunAs. Add the following data to the default value: Install &as administrator
3. Create the following key: HKEY_Classes_Root\Msi.Package\shell\RunAs\command. Add the following data to the default value : msiexec /i “%1”
4. Right click on a MSI package and you should now see “Install as administrator”.