How to Resolve PIN Issues in Windowsโš‘

icacls C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc /T /Q /C /RESET

runas /profile /user:JIMMYSMSI\jimbr 'pwsh.exe'

# in new terminal running as jimbr:
Take-Ownership C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc

icacls C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc /T /Q /C /RESET

alternatively, from the [[Windows Recovery Environment (winRE)]] pre-boot screen select Troubleshoot > Command Prompt and run icacls C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc /T /Q /C /RESET.


Links: Run Commands as Another User Account - RUNAS

Sources: - How to Fix Windows 10 Pin Issues when Logging In - Appuals.com