HPC PowerShell Node Management cmdlets Fail from a Remote Client

Updated: May 2011

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

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:

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\

Caution
Durch eine fehlerhafte Bearbeitung der Registrierung können schwerwiegende Schäden am System verursacht werden. Sichern Sie alle Importanten Daten auf dem Computer, bevor Sie Änderungen an der Registrierung vornehmen. For information about how to back up and restore the registry, see How to back up and restore the registry in Windows (http://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:

    Klicken Sie zum Öffnen des Registrierungs-Editors auf Start, klicken Sie auf Ausführen, geben Sie regedit ein, und klicken Sie anschließend auf 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.