Enable Script Execution in PowerShell on Windows 10 - Permission Denied When Updating Windows – Solutions-PowerShell 0x80070002 Path Error Troubleshooting Guide

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.