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
batch batch-file desktop-window-manager dwm windows windows-10 windows-2016

Desktop Window Manager Disabler/Force Switcher

If you ever wanted to disable the Desktop Window Manager (and vsync) for some strange reason, then this is supposed to make it less tedious to accomplish. This breaks a lot of features more than it does when DWM is running, it may but mostly likely may not benefit your use of Windows 10.

Tested on Windows 10 / Server 2016 Don't bother with trying to use this on Windows 8/8.1 or any touch screen device where a physical keyboard and mouse is not possible to use.

This requires pssuspend.exe from SysInternals' PsTools by Mark Russinovich in order to perform suspend tasks.

Go get PsTools at Microsoft's TechNet website

Place pssuspend.exe in the same folder as this file, or at your system's System32 folder, which is better as it'll work regardless of your current directory in the command line.

The console login screen is switched on when the Force Disable DWM script is executed as you'll get a black screen of nothingness if you keep the GUI Logon screen active.

I'm not responsible if you end up damaging your Windows installation if you use the batch scripts involved here. No guarantees or warranty is applicable.

Warnings

Consequences

Lots of things will break in Windows 10 with DWM not running, so here's some of those: