Forum Discussion
Mousefluff
Jul 20, 2024Iron Contributor
Example: Use WinPE To Remove A Non-Functional Driver From An Offline 10 / 11 Image
REM List All 3rd-Party Drivers on an Offline Windows 10/11 Image
IF NOT EXIST "C:\Scrtch" MKDIR "C:\Scrtch"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-WindowsDriver -Path C:\ -Sc...
Eommy
Sep 04, 2024Silver Contributor
WinPE environment: You will need a WinPE boot media with appropriate drivers and tools.
Mount Windows Image: Use the appropriate tools to mount your Windows image file.
List Drivers: Use a PowerShell script or other method to list all drivers in the image.
Identify Drivers to Remove: Identify non-functional drivers to remove based on the driver name or date.
Remove Driver: Use the appropriate command or tool option to remove the specified driver.
Verify and Uninstall Image: After removing a driver, ensure that it has been removed from the image and then uninstall the image.
Reboot and Test: Deploy the modified image to your system and reboot to test if the driver removal was successful.
Mount Windows Image: Use the appropriate tools to mount your Windows image file.
List Drivers: Use a PowerShell script or other method to list all drivers in the image.
Identify Drivers to Remove: Identify non-functional drivers to remove based on the driver name or date.
Remove Driver: Use the appropriate command or tool option to remove the specified driver.
Verify and Uninstall Image: After removing a driver, ensure that it has been removed from the image and then uninstall the image.
Reboot and Test: Deploy the modified image to your system and reboot to test if the driver removal was successful.