martes, 24 de diciembre de 2013

UXTheme patcher black screen - Definitive FIX

UXTheme patcher combined with some windows updates can cause your system to get stuck into a black screen after the Windows logo shows up. Even safe mode won't work in some cases (like mine).
The solution to this problem is really simple: all you have to do is restore the patched uxtheme dlls to the original ones and set your theme back to default Aero by changing the key in the registry.
Here you have more detailed instructions for the process.

You will need to have access to a secondary windows install or a boot disk to follow these steps. Windows recovery command promt will do aswell

  1. Restore the patched dlls with the original ones (in \Windows\System32). The dlls are:
    • themeui.dll
    • uxtheme.dll
    • uxinit.dll

    So rename them to something else. Just do these commands:
    • move themeui.dll themeui.dll.broken
    • move uxtheme.dll uxtheme.dll.broken
    • move uxinit.dll uxinit.dll.broken

    You will find the originals in the same folder just with .backup extension so do these commands to restore them:
    • copy themeui.dll.backup themeui.dll
    • copy uxtheme.dll.backup uxtheme.dll
    • copy uxinit.dll.backup uxinit.dll

  2. Change your theme back to the default one. To do this you need to edit the registry of the non-booting windows installation:
    1. Run regedit.exe from the command prompt.
    2. Once the registry editor is open select (highlight) HKEY_LOCAL_MACHINE
    3. Now click File >>> Load hive
    4. Select your windows drive and go to /Windows/System32/Config
    5. Choose the file called SOFTWARE and when asked for a name call it HKEY_RESCUED_MACHINE or something meaningful.
    6. Now browse to HKEY_LOCAL_MACHINE/HKEY_RESCUED_MACHINE/Microsoft/Windows/CurrentVersion/ThemeManager
    7. Change the value of the entry DllName to %SystemRoot%\resources\themes\Aero\Aero.msstyles
    8. Exit registry editor and reboot your system. It should work fine now
If you have any doubt or problem just let me know via comments.

2 comentarios:

Ammad dijo...

theme ui file not found on windows/system32

Kenzie ss dijo...

Uxtheme backup not found in windows/system32