/
CIS-CAT Pro Assessor Error: "Cannot execute PowerShell"

CIS-CAT Pro Assessor Error: "Cannot execute PowerShell"


Product Name

CIS-CAT Pro Assessor v4

Product Version

v4.0.0+

Date

Apr 24, 2024



 

Problem

When launching a Windows assessment a null@null error occurs. The assessor-cli.log says Cannot execute PowerShell. Please make sure that it is installed in your system.

 

Solution

Install PowerShell if it is not installed. If PowerShell is already installed, there is likely an issue with the PowerShell PATH.

  1. Launch PowerShell as an Administrator

  2. Type powershell and press Enter

  3. If an error occurs, there is an issue with the PowerShell PATH:

    image001 (cc2ae852-edd7-4838-9afd-913efc865648).png

  4. Run the following PowerShell command to set the PowerShell PATH:

    $sys_path = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\" Set-ItemProperty -Path $sys_path -Name Path -Type String -Value $((Get-ItemProperty -Path $sys_path -Name Path).Path + ';C:\Windows\System32\WindowsPowerShell\v1.0')

Assessments for CIS Benchmark recommendations referring to PowerShell transcription states require PowerShell v5.1+.

 

Keywords; PowerShell

Content by Label


Copyright © 2024

Center for Internet Security®


 

Related content

I want to export OVAL and XCCDF content for a CIS Benchmark® that is no longer integrated into the available Assessor release. How do I find the files?
I want to export OVAL and XCCDF content for a CIS Benchmark® that is no longer integrated into the available Assessor release. How do I find the files?
Read with this
CIS CAT Controls Assessment Module Server is not working for Windows Server
CIS CAT Controls Assessment Module Server is not working for Windows Server
More like this
CSAT Pro Installation Error: "Failed to import the CSAT admin user"
CSAT Pro Installation Error: "Failed to import the CSAT admin user"
Read with this
Cannot launch CIS-CAT Pro Assessor® GUI
Cannot launch CIS-CAT Pro Assessor® GUI
More like this
WinRM troubleshooting for remote CIS-CAT Pro assessment of a Windows target system
WinRM troubleshooting for remote CIS-CAT Pro assessment of a Windows target system
Read with this
CIS-CAT Pro Assessor Error: 'Error Code 500 "NCName"'
CIS-CAT Pro Assessor Error: 'Error Code 500 "NCName"'
More like this