Share via


HPC PowerShell Node Management cmdlets Fail from a Remote Client

 

Applies To: Windows HPC Server 2008 R2, Windows HPC Server 2008

HPC PowerShell node management cmdlets fail when the cmdlets are entered from a remote client. For example, the following error message is displayed when you run the Get-HpcNode cmdlet:

Get-HpcNode : Unable to find assembly 'Microsoft.Ccp.Sdm.Store, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. At line:1 char:12 + get-hpcnode <<<< + CategoryInfo : NotSpecified: (Microsoft.ComputeCluster.CCPPSH.GetNode:GetNode) [Get-HpcNode], SerializationException + FullyQualifiedErrorId : Microsoft.ComputeCluster.CCPPSH.GetNode

The following screenshot shows the error in the HPC PowerShell window:

Get-HpcNode error message

Resolution

You can resolve the problem by adding the following registry key to the client computer:

Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HPC\BinDir

Value: C:\Program Files\Microsoft HPC Pack\Bin\

Warning


Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer. For information about how to back up and restore the registry, see How to back up and restore the registry in Windows (https://go.microsoft.com/fwlink/?LinkId=148343).

Note


You must be an administrator on the client computer in order to complete the following procedure.

To add a registry key

  1. Open Registry Editor on the client computer and run it as an administrator:

    To open Registry Editor, click Start, click Run, type regedit, and then click OK.

  2. In Registry Editor, expand the HKEY_LOCAL_MACHINE folder.

  3. Expand the SOFTWARE folder.

  4. Expand the Microsoft folder.

  5. Select the HPC folder.

  6. With the HPC folder selected, right-click any blank space in the view pane, point to New, then click String Value.

  7. Right-click New Value #1, click Rename, then type BinDir.

  8. Right-click BinDir, then click Modify.

  9. In the Edit String dialog box, under Value data, type:

    C:\Program Files\Microsoft HPC Pack\Bin\

  10. Click OK.

  11. The path to the HPC Pack Bin directory now appears in the Data column. Verify that the path is typed correctly.

  12. Close Registry Editor.

Verification

To verify that you can run node management cmdlets from the client computer, open a new HPC PowerShell window, and run the Get-HpcNode cmdlet.