Win32DiskImager is designed to write a raw disk image to a removable device or backup a removable device to a raw image file. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Win32DiskImager from the command line using the EXE installer.
How to Install Win32DiskImager Silently
Win32DiskImager Silent Install (EXE)
- Navigate to: https://sourceforge.net/projects/win32diskimager/files/latest/download
- Download the win32diskimager-x.y.z-install.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: win32diskimager-x.y.z-install.exe /VERYSILENT /NORESTART
- Press Enter
After a few moments you will find Win32DiskImager entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Win32DiskImager |
Vendor: | ImageWriter Developers |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: |
|
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\ImageWriter\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\ImageWriter\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://sourceforge.net/projects/win32diskimager/files/latest/download |
PowerShell Script: | https://silentinstallhq.com/win32diskimager-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-win32diskimager-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create a Win32DiskImager Installation Log File
The Win32DiskImager installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
Win32DiskImager Silent Install (EXE) with Logging
win32diskimager-x.y.z-install.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\Win32DiskImager-Install.log" |
Change the Win32DiskImager Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Win32DiskImager to “C:\Win32DiskImager”
win32diskimager-x.y.z-install.exe /DIR="C:\Win32DiskImager" /VERYSILENT /NORESTART |
Include Win32DiskImager Desktop Shortcut During Install
The Win32DiskImager installer does NOT create a desktop shortcut by default. If you want the desktop shortcut, then you can run the following command line switches to include it.
Win32DiskImager Silent Install (EXE) with Desktop Shortcut
win32diskimager-x.y.z-install.exe /VERYSILENT /NORESTART /MERGETASKS=desktopicon |
How to Uninstall Win32DiskImager 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:
Win32DiskImager Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\ImageWriter\unins000.exe" /VERYSILENT /NORESTART |
Win32DiskImager Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\ImageWriter\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.