Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Product Name

CIS-CAT Pro Assessor v4

Product Version

v4.0.0+

Date



Problem

Info

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:

    Code Block
    $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')
Note

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

Keywords; PowerShell

Content by Label

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "sbp_fer"

Copyright © 2024

Center for Internet Security®


Page Properties
hiddentrue

Action

Name(s)

Date

Linked ticket

Jira Legacy
serverSystem Jira
serverIdb90ca2a8-9df7-3869-89db-c424866c1b16
keySUPPORT-33066

Created by

Nick Romanzo

Reviewed by

SBP Product Technical Support Team (Amanda McGown Allan Cornwell Andrew Dannenberger Chris Boldiston Nick Romanzo Parami Swenson)

Approved by

Chris Boldiston Amanda McGown

Remove by