Whenever iam trying to open certain software/games on my computer, a system error message pops up saying 'The code execution cannot proceed because USERENV.dll was not found. Reinstalling the program may fix this problem.' How to fix this issue?
right click start button
choose powershell (admin)
type SFC /scannow and press enter
once its completed, copy/paste this command into same window: Repair-WindowsImage -Online -RestoreHealth
and press enter
SFC fixes system files, second command cleans image files, re run SFC if it failed to fix all files and restart PC