Giter Site home page Giter Site logo

phorofor / dwm.forceswitch Goto Github PK

View Code? Open in Web Editor NEW
30.0 2.0 2.0 55 KB

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.

Batchfile 100.00%
dwm windows windows-10 windows-2016 desktop-window-manager batch batch-file

dwm.forceswitch's Introduction

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

  • This does NOT appear to be working in newer versions of Windows (version 1709). The registry tweaks such as the console window log on screen and legacy UAC prompt dialog are no longer functioning. Your system may freeze while attempting to run the provided scripts.

Consequences

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

  • Anything that involves the immersive flyouts will not work. This includes the network, battery, language, clock, volume and action center flyouts in the taskbar.

  • You can use the legacy-style Alt-Tab App Switcher by tweaking some values in your registry.

  • The 'Open With' dialog will not work. Frieger's OpenWith Enhanced mimics the Windows 7 Open With dialog with a few more additions which is not dependant upon the DWM.

  • With DWM forced off, you'll exhibit screen tearing and it doesn't look too good. For some reason I've only noticed this when I've been trying DWM with it being forced off on Windows 10. It'll occasionally somehow disable my video driver up killing it for the integrated graphics card, so I would have to go to Device Manager or devmgmt.msc and disable and enable it.

  • If you like running Windows 10 with DWM forced off, go and tweak your registry to enable the legacy battery and volume taskbar fly-outs. The legacy clock is not a thing anymore since the anniversary update.

  • In Windows 10, thumbnail previews look incomplete with DWM off, with excessive padding around. Secondary (right) click options are unavailable in the taskbar. If you use it with DWM forced off, you can use the Aero Lite theme (or a high contrast theme to take away the extra preview space) and use 7+ Taskbar Tweaker to display previews as a list and have its right click options set to 'Standard window menu'. It's the equivalent of secondary clicking a window titlebar and displays it much faster.

  • In some apps such as Google Chrome or any other Chromium-based browser, the title bar may also flicker when it updates. If you are somehow running without DWM, those programs with just have black windows displayed. You can use the -disble-gpu argument to get them to work (you won't get GPU acceleration though) if you happen to be running without DWM. Also, the --disable-dwm-composition argument will treat it as if you have Desktop Window Manager switched off for those apps. You must apply these arguments to an application's shortcut path. If you with to use these two together you must place the disable-gpu argument after the disable-dwm-composition argument.

dwm.forceswitch's People

Contributors

phorofor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cheezet

dwm.forceswitch's Issues

system blackout after running "force disable.bat"

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.