Auto Dark Mode allows you to switch between the dark and light theme of Windows at scheduled times. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Auto Dark Mode from the command line using the EXE installer.
How to Install Auto Dark Mode Silently
Auto Dark Mode Silent Install (EXE)
- Navigate to: https://github.com/Armin2208/Windows-Auto-Night-Mode/releases/latest
- Download the AutoDarkModeX_w.x.y.z.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
- AutoDarkModeX_w.x.y.z.exe /VERYSILENT /NORESTART /ALLUSERS
- Press Enter
After a few moments you will find Auto Dark Mode entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Auto Dark Mode |
Vendor: | Armin Osaj & Samuel Schiegg |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | AutoDarkModeX_w.x.y.z.exe /VERYSILENT /NORESTART /ALLUSERS |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\AutoDarkMode\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\AutoDarkMode\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://github.com/Armin2208/Windows-Auto-Night-Mode/releases/latest |
PowerShell Script: | https://silentinstallhq.com/auto-dark-mode-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-auto-dark-mode-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an Auto Dark Mode Installation Log File
The Auto Dark Mode installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.
Auto Dark Mode Silent Install (EXE) with Logging
AutoDarkModeX_w.x.y.z.exe /VERYSILENT /NORESTART /ALLUSERS /LOG="%WINDIR%\Temp\AutoDarkMode-Install.log" |
Change the Auto Dark Mode Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Auto Dark Mode to “C:\Auto Dark Mode”
AutoDarkModeX_w.x.y.z.exe /DIR="C:\AutoDarkMode" /VERYSILENT /NORESTART /ALLUSERS |
How to Uninstall Auto Dark Mode Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Auto Dark Mode Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\AutoDarkMode\unins000.exe" /VERYSILENT /NORESTART |
Auto Dark Mode Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\AutoDarkMode\unins000.exe" /VERYSILENT /NORESTART |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.