PSHelper.exe fails to register the Microsoft Failover Cluster Option

book

Article ID: 100039725

calendar_today

Updated On:

Description

Error Message

When installing InfoScale Storage 7x, the PSHelper.log will show the following entries:
 
7/31/2017 10:48:06 AM -------------------------------------------------------------------
7/31/2017 10:48:06 AM                PSHelper                              
7/31/2017 10:48:06 AM Started : 7/31/2017 10:48:06 AM
7/31/2017 10:48:06 AM -------------------------------------------------------------------
7/31/2017 10:48:06 AM Start logging
7/31/2017 10:48:06 AM Entered : CPSHelper
7/31/2017 10:48:06 AM Execution script is :  import-module failoverclusters; Add-ClusterResourceType \"Volume Manager Shared Volume\" C:\Windows\Cluster\vxvolres.dll -DisplayName \"Volume Manager Shared Volume\" -cluster .
7/31/2017 10:48:07 AM Exception occured : Specified cast is not valid.
 Stacktrace :   at PSHelper.CPSHelper.Main(String[] args)
7/31/2017 10:48:07 AM
Unable to execute cmd-lets. Microsoft Windows PowerShell feature is not enabled.
7/31/2017 10:48:12 AM -------------------------------------------------------------------
7/31/2017 10:48:12 AM                PSHelper                              
7/31/2017 10:48:12 AM Started : 7/31/2017 10:48:12 AM
7/31/2017 10:48:12 AM -------------------------------------------------------------------
7/31/2017 10:48:12 AM Start logging
7/31/2017 10:48:12 AM Entered : CPSHelper
7/31/2017 10:48:12 AM Execution script is :  import-module failoverclusters; Add-ClusterResourceType \"Replicated Volume Group\" C:\Windows\Cluster\MSCSRvgResource.dll -DisplayName \"Replicated Volume Group\" -cluster .
7/31/2017 10:48:12 AM Exception occured : Specified cast is not valid.
 Stacktrace :   at PSHelper.CPSHelper.Main(String[] args)
7/31/2017 10:48:12 AM
Unable to execute cmd-lets. Microsoft Windows PowerShell feature is not enabled.
7/31/2017 10:48:13 AM -------------------------------------------------------------------
7/31/2017 10:48:13 AM                PSHelper                              
7/31/2017 10:48:13 AM Started : 7/31/2017 10:48:13 AM
7/31/2017 10:48:13 AM -------------------------------------------------------------------
7/31/2017 10:48:13 AM Start logging
7/31/2017 10:48:13 AM Entered : CPSHelper
7/31/2017 10:48:13 AM Execution script is :  import-module failoverclusters; $cluster = Get-Cluster; $cluster.QuorumArbitrationTimeMax=120
7/31/2017 10:48:13 AM Exception occured : Specified cast is not valid.
 Stacktrace :   at PSHelper.CPSHelper.Main(String[] args)
7/31/2017 10:48:13 AM
Unable to execute cmd-lets. Microsoft Windows PowerShell feature is not enabled.

Cause

  • Certain Group Policy Objects (GPO) may prevent the execution of PSHelper.exe
  • Power Shell may be disabled:

Resolution

Verify that Power Shell is enabled on the machine. The PSHelper utility checks the registry Install value from the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\ -> subkeys

Install value should be set to 1 on Windows machines if the Power Shell is enabled on the system.

Issue/Introduction

PSHelper.exe fails to register the Microsoft Failover Cluster Option