[SOLVED] how to fix system error issue?

sifaethassan

Reputable
Oct 17, 2018
5
0
4,510
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?
 
Solution
if it was 2nd
open Command Prompt (admin)
copy/paste this in. If you type it, the spacing has to be right or you will get an error 50
DISM /Online /Cleanup-Image /RestoreHealth
and press enter

If it came back with an error asking about source
type/copy paste this into command prompt instead
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\ESD\Windows\sources\install.esd /LimitAccess

That might not work, might need to do 1 step before but we shall see.

Colif

Win 11 Master
Moderator
did you try to reinstall programs as suggested?

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
 

Colif

Win 11 Master
Moderator
if it was 2nd
open Command Prompt (admin)
copy/paste this in. If you type it, the spacing has to be right or you will get an error 50
DISM /Online /Cleanup-Image /RestoreHealth
and press enter

If it came back with an error asking about source
type/copy paste this into command prompt instead
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\ESD\Windows\sources\install.esd /LimitAccess

That might not work, might need to do 1 step before but we shall see.
 
Solution

TRENDING THREADS