Have you ever encounter the LogonUI.exe Bad Image error such as “The instruction at “0x7c9e868e” referenced memory at “0×00008023″; the memory could not be written”? The LogonUI.exe error common happen when the LogonUI.exe process is damaged or corrupted.
What is LogonUI.exe and error consequents
LogonUI.exe is a Windows executable file related to Microsoft Logon UI (User Interface), this process is important as it controls the screen display of Windows, if anything wrong happen to the LogonUI.exe process, you would receive the LogonUI.exe error every time you log in the Windows, and part of the essential applications of your computer may fail to work, you will also notice that the computer system stability is going straight down.
LogonUI.exe fix guide
Clean Malware infection
Malware can easily sneak into the computer and create damages to the system, LogonUI.exe is often one of the victims. When you first encounter the LogonUI.exe error, you may need to check on the status of LogonUI.exe file, use the Search function of Windows to search the file in the system driver of the computer, normally, there should be only one copy of LogonUI.exe located in the C:\Windows\systems\ folder, if you find multiple copy of it or it is in any other directory, your computer may have been infected by malware. To remove possible malware infection, you should enter Windows safe mode and perform a malware scan with a reliable anti-malware software, then remove all the found threats.
Repair LogonUI.exe-related files
If the required files that needed to run the LogonUI.exe process are missing or corrupt, you need to use Windows installation CD/DVD to perform a repair installation to retrieve these files
- Insert your Windows installation CD/DVD
- Restart your computer and make it boot from CD/DVD ROM.
- Press “R” key to enter into “recovery console”
- Type in “copy userinit.exe wsaupdater.exe” and press Enter key on your keyboard
- Restart your computer once more
- Open registry editor by going to Start > Run > Type in regedit > press Enter
- Modify the entry “C:\WINDOWS\System32\wsaupdater.exe” to “C:\WINDOWS\System32\userinit.exe.”
- Reboot the computer and see if the error still there.
Perform a system restore
The system restore function of Windows is a good tool to help you fix and avoid critical system error. If you have a good practice of creating restore point regularly with the system restore tool, simply open the system restore tool and select “restore my computer to previous status”, follow the instruction to perform the restoration and the LogonUI.exe error can be easily solved.
Fix Windows registry
Beside the situations we mentioned above, registry is one of the issue that responsible for the LogonUI.exe error. Registry problems exist in nearly every computer as long as it has been used for a period of time, the problem basically arise from invalid or obsolete entries that created through software installation/removal, the registry problem can be serious if you keep ignoring it as it would eventually cause computer performance lose and other troublesome system problems like LogonUI.exe error. The statistic show that over 80% of the LogonUI.exe error are caused by registry problem, if you suspect that your computer is having such problem, follow the below three simple steps to fix the registry as well as LogonUI.exe error.
- Download and install the registry cleaner here.
- Open it and click “Scan” button to diagnose the computer.
- Wait for the scan finish, click “Fix All” button to fix all the found problems.