Phorofor / DWM.ForceSwitch

A quick and dirty method to force DWM to be disabled (and vsync) in Windows 10. This will cause non-Aero themes to be displayed and a lot of Modern UI features to stop working. Got tired of dealing with UAC prompts if I wanted to quickly disable it, so I made this. PsTools from Microsoft's Sysinternals is required. Does NOT work in newer Windows versions.
31 stars 2 forks source link

system blackout after running "force disable.bat" #1

Open ludvik opened 5 years ago

ludvik commented 5 years ago

Ran it with admin priv., then the system is blackout. Before that, I saw a message saying like "trying to replace dwm.exe failed".

nothing left but a cursor when you move mouse. CTRL + ALT + DELETE is GONE, which I think means winlogon is not running anymore.

It remains the same after restart. Is there anything I can do? or I just have to re-install the system again.

Any words are helpful.

Phorofor commented 5 years ago

If it fails then it is most likely that the script did not apply the placeholder file properly. You will have to boot into the Windows Recovery Environment (or from a Windows Installer) and navigate to the X:\Windows\System32 directory of your installation (using the Command Prompt or running something like notepad and using the file browser to navigate). X represents the letter of the drive where you have Windows installed.

The script should have made a copy of your existing dwm.exe as "dwm.exe.BAK". Rename "dwm.exe.BAK" to "dwm.exe" in the System32 folder and it should work. Note that the script causes things to not work as intended on any Windows newer than 1703.