Reputation: 7694
Is there a way to get all the drivers (their files) installed on the computer? What I basically need is a set of folders, where each folder is particular driver, containing all the related infs and sys files. So, when I reinstall the OS, I can just install all these drivers and everything works fine.
I'd be grateful for any links or advices.
Operating systems are XP, 2003, Vista, 7 and 2008. Preferably, .NET, but anything else also will do.
I'd like to emphasize, it's not about select * from Win32_PnPSignedDriver
, it's about getting files.
Upvotes: 4
Views: 6366
Reputation: 62106
See if these links can help:
Enumerating All Device Drivers in the System
Device Console (devcon)
Enumerating windows device
Upvotes: 5
Reputation: 31251
I'm not sure about doing this in C# but NirSoft have a tool that might do what you need.
http://www.nirsoft.net/utils/driverview.html
Upvotes: 1