|
Please try these Solution Steps
Run PowerShell as Administrator:
Ensure you open PowerShell as Administrator.
Right-click the PowerShell icon and select "Run as Administrator".
Change Execution Policy:
First, make sure you accept the prompt to change the execution policy.
In PowerShell, enter the following command:
Set-ExecutionPolicy RemoteSigned
Press Y (or S) to confirm the change.
Check the Script Path:
Confirm that the script path you are running is correct.
Make sure the DG_Readiness_Tool_v3.6.ps1 file exists at the specified location.
Use the following command to check the directory contents:
Get-ChildItem 'C:\Users\Oz Pereyra\Desktop\test\dgreadiness_v3.6\'
Check the File Path:
The error message mentions the file path C:\WINDOWS\System32\CodeIntegrity\SIPolicy.p7b, indicating that this file might not exist. If it is missing, it could be due to related features not being enabled or Windows functions not being properly installed.
Run the following command to check if the file exists:
Test-Path "$env:windir\System32\CodeIntegrity\SIPolicy.p7b"
Disable Hyper-V and IOMMU:
If disabling Hyper-V fails, ensure that Hyper-V is fully disabled:
Run this command in PowerShell:
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Check the BIOS settings to ensure that virtualization support is enabled, usually under the “Advanced” or “CPU Configuration” section with the “SVM Mode” option.
Restart the Computer:
After completing the above steps, restart your computer to ensure the settings are applied.
|
|