Troubleshooting
PowerShell 7 (pwsh.exe) Not Found
Install PowerShell 7 via WinGet and open a new terminal:
winget install --id Microsoft.PowerShell --source winget
Icon Cache Refresh Reports Skipped Files
Some thumbcache_*.db or iconcache_*.db files may remain locked if another application (such as a third-party shell utility or cloud sync client) holds an open handle. Signing out and back in releases all handles cleanly.
DISM or SFC Reports Errors
- Inspect
%SystemRoot%\Logs\DISM\dism.logfor DISM details. - Inspect
%SystemRoot%\Logs\CBS\CBS.logfor SFC details. - Running
full-repair(DISM /RestoreHealthfollowed bysfc /scannow) ensures the Windows component store is healthy before SFC repairs system files.
Reboot to UEFI / BIOS Fails
shutdown /r /fw /t 0 requires a UEFI-booted Windows 11 installation. Systems booted in Legacy BIOS / CSM mode do not expose a UEFI firmware reboot target.