diff --git a/DriverUpdater/DismProvider.cs b/DriverUpdater/DismProvider.cs index b9975c9..6ba9b5c 100644 --- a/DriverUpdater/DismProvider.cs +++ b/DriverUpdater/DismProvider.cs @@ -173,9 +173,16 @@ private bool UninstallDrivers(string[] existingOEMDrivers) if ((ntStatus & 0x80000000) != 0) { Logging.Log(""); - Logging.Log($"RemoveOfflineDriver: ntStatus=0x{ntStatus:X8}, driver={driver}", Logging.LoggingLevel.Error); - - return false; + + if (ntStatus == 0x80070490) + { + Logging.Log($"RemoveOfflineDriver: ntStatus=0x{ntStatus:X8}, driver={driver}", Logging.LoggingLevel.Warning); + } + else + { + Logging.Log($"RemoveOfflineDriver: ntStatus=0x{ntStatus:X8}, driver={driver}", Logging.LoggingLevel.Error); + return false; + } } } Logging.ShowProgress(existingOEMDrivers.Length, existingOEMDrivers.Length, startTime, false);