none
Commissioning the HPC Basic Profile Web Service RRS feed

  • Question

  • I am told to run a powershell script to commission the HPC Basic Profile into the compute cluster. When I run it it tells me

     

    File hpcbpws.ps1 cannot be loaded because the execution of scripts is disabled on this system.

     

    So I dig and find out that I need to execute 'set-executionpolicy unrestricted' so that all scripts are executed. When I do that I get

     

    Set-ExecutionPolicy: Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell' is denied.

     

    I am an administrator on the machine. I should have permission to do anything.

     

    Has anyone gotten powershell to deploy the HPC Basic Profile Web Service?

     

    Is there some other way to commission the HPC Basic Profile web service?

    Tuesday, May 13, 2008 2:32 PM

Answers

  •  

    Are you running with UAC (User Account Protection) enabled?  If so you'll need to start PowerShell by right clicking the PowerShell icon and selecting "Run as administrator"

     

    Then you should be able to set the Execution Policy.

    Tuesday, May 13, 2008 9:08 PM