Re-enable PowerShell
Fix a corrupt or disabled Windows PowerShell when Salad shows "Problem detecting hardware" or a storage calculation error.
Salad runs PowerShell commands to read your hardware and prepare the container environment. When PowerShell is disabled, blocked or corrupt, Salad shows Problem detecting hardware or a storage calculation error, and the logs show PowerShell failing to start. See Problem detecting hardware and How to fix a storage calculation error for the full troubleshooting of those messages; this page is the PowerShell fix.
1. Check that PowerShell opens
Press Windows + R, type powershell and press Enter. If a blue window opens and shows a prompt, PowerShell
itself works, and the problem is more likely an antivirus or policy blocking scripts: see
Antivirus. If it errors out or closes immediately, continue.
2. Toggle the PowerShell Windows feature
-
Search for Turn Windows features on or off in the Start menu, or press Windows + R and run
optionalfeatures.exe. -
Find Windows PowerShell 2.0 and untick it.

-
Click OK and restart your PC.
-
Open the same window again, tick Windows PowerShell 2.0, click OK and restart once more.
3. Repair system files
If PowerShell still fails, run the System File Checker:
-
Open Command Prompt as administrator.

-
Run
sfc /scannowand wait for it to finish, then reboot.
If SFC reports errors it could not fix, continue with the DISM commands on Restoring DISM.
Still stuck?
Send Salad Support your machine ID, a screenshot of the notification and your zipped logs. See How to create a support ticket.
Last updated on
Restoring DISM
Repair a broken DISM with SFC and DISM commands, or a Windows repair install, when Salad reports a storage calculation error.
Correct system time error
Fix a wrong Windows clock, which stops Salad from logging in, connecting to its servers or getting jobs, by turning on automatic time sync.

