• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Error: Could not delete driver

Joined
Nov 8, 2013
Messages
25 (0.01/day)
Location
Shanghai, China
System Name HOME
Processor E3-1230 V2
Motherboard ASUS P8Z77-V LX2
Memory 8G DDR3 1600
Video Card(s) ASUS R9 280X-DC2T-3GD5-V2
Storage PLEXTOR M5S 128G SSD
Display(s) DELL U2412M 24-inch
Software WINDOWS 8.1 64-BIT
Occasionally (or more frequently recently) I get this error messagebox after logoff/logon or reboot. I'm running Windows 10 Pro and it seems the problem does not relate to any specific build.
 
Occasionally (or more frequently recently) I get this error messagebox after logoff/logon or reboot. I'm running Windows 10 Pro and it seems the problem does not relate to any specific build.

What driver?
 
Try to start windows in safe mode and see if that helps, if not look in event viewer what driver specifically cannot be deleted.
 
Occasionally (or more frequently recently) I get this error messagebox after logoff/logon or reboot. I'm running Windows 10 Pro and it seems the problem does not relate to any specific build.
Can you attach a screenshot?
 
You need to view Non present devices in device manger and eliminate the problem driver then manually update the device drivers manually in device manger

Open cmd prompt under admin and type
SET DEVMGR_SHOW_NONPRESENT_DEVICES=1
Then type from start menu.
devmgmt.msc to go into device manger.
I'm not at my PC and I'm not sure if that's correct... Going from memory.. Haven't had to do this in awhile


I think you have to enable Hidden devices under the view tab in device manger... I think that's all...
 
Last edited by a moderator:
I don't believe it's specific to GPU driver. I think it's something related to a temporary driver installed in %TEMP%.

Oh, I forgot to mention that I have a CMD batch that runs at logon and deletes all files in %TEMP% folder. That's why I guess it's the cause of my problem.
 
Last edited:
I think it's something related to a temporary driver installed in %TEMP%.

That's GPU-Z.sys
Quit GPU-Z before you wipe temp folder.
Add to your batch file:

Code:
taskkill /IM "GPU-Z.exe"
 
Last edited:
Oh, I forgot to mention that I have a CMD batch that runs at logon and deletes all files in %TEMP% folder. That's why I guess it's the cause of my problem.
Are you running GPU-Z on startup (before or while your script runs) ?

GPU-Z needs a driver to talk to the hardware, it extracts that into %TEMP%, loads it and keeps the file around until the last instance of GPU-Z is shut down.
 
Back
Top