Team OS : Your Only Destination To Custom OS !!

Welcome to TeamOS Community, Register or Login to the Community to Download Torrents, Get Access to Shoutbox, Post Replies, Use Search Engine and many more features. Register Today!

Tips & Tricks How To Clean Unused Drivers

Neville's Haze

✅ Verified Member
Member
Downloaded
122.9 GB
Uploaded
280.3 GB
Ratio
2.28
Seedbonus
325
Upload Count
0 (0)
Member for 6 years
Do you frequently update drivers? Does your build have Windows update enabled. Perhaps it has been a few months since you've done a clean install, or maybe you have a small SSD for your operating system and are looking to save some space. Well I'm going to show you how to remove drivers your system currently isn't using. First to find out just how much space your drivers are taking up go to:

C:\Windows\System32\drivers

and especially

C:\Windows\System32\DRIVERSTORE

Note the size of these folders, anything more than a couple gigs and you've probably got the opportunity to save some space. It's not that uncommon for DRIVERSTORE to be upwards of 10 gigs! Now you can use the in-house Microsoft utility called disk cleanup, but that still can leave you with a bunch of bloat left over. What can happen is devices like printers, cameras, monitors, headphones, your mouse and phone can update drivers through Windows update; and soon you're drivers are consuming lots of precious SSD space. To permanently clean unused drivers first it's a good idea to backup your system with whatever backup software you use. To continue open up Notepad, and copy then paste the following code:

@echo off
for /L %%A in (1,1,300) do (
echo Deleting OEM%%A.INF
pnputil /d OEM%%A.INF
)

Save wherever. Call the file whatever.bat and save the file as All Files not .txt. I save to my desktop and name the file .bat

Right click and run the file as an administrator, and then recheck the aforementioned folders to see how much space you've recovered!
 

hyunDrax

Member
Downloaded
136 GB
Uploaded
134.6 GB
Ratio
0.99
Seedbonus
21,201
Upload Count
0 (0)
Member for 8 years
thx, will try later
 

ALB STAR

Member
Banned
Downloaded
15.6 GB
Uploaded
5.9 GB
Ratio
0.38
Seedbonus
132
Upload Count
0 (0)
Member for 4 years
seems to run well, what does it afects this script/
 

YouDummyZiggy

Member
Downloaded
96.7 GB
Uploaded
179.5 GB
Ratio
1.86
Seedbonus
1,079
Upload Count
0 (0)
Member for 6 years
I guess all that has the filename with letter OEM*.inf
 

RedDove

⭐ VIP
Power User
✅ Verified Member
Member
Downloaded
118.2 GB
Uploaded
41.5 TB
Ratio
360.03
Seedbonus
1,835,210
Upload Count
0 (0)
Member for 9 years
:hi: I copied and saved this guide, will
definitely try it later.
Thank you.:)
 

stelpal

Member
Downloaded
3.6 GB
Uploaded
2.1 GB
Ratio
0.57
Seedbonus
8
Upload Count
0 (0)
Member for 9 years
Worked like a charm,Thank You again!
 

MniawY

• STAFF™ 🌟
Super Moderator
Uploader
Power User
Downloaded
156.5 GB
Uploaded
51 TB
Ratio
333.82
Seedbonus
1,328,836
Upload Count
104 (102)
Member for 7 years
 

Darkchilde

Member
Downloaded
45.1 GB
Uploaded
82.7 GB
Ratio
1.83
Seedbonus
890
Upload Count
0 (0)
Member for 10 years
Love to learn new tricks like this, thanks @Neville's Haze !
 
Top