Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need help to create a small PowerShell script to install Win7 Driver Cab's

Posted on 2015-02-21
9
Medium Priority
?
347 Views
Last Modified: 2016-11-23
Hi
       
We also have many small customers with Dell clients. I loose a lot of time during installing the drivers manually one by one. As Dell is not offering a Software (for all Models) like other vendors to install drivers automatically, it is very laborious. We can’t create any images or add drivers as they are OEM DVD’s. The other problem is that each customer has different Models.
           
I will download the Driver Cab file to the default folder Downloads and extract it. The PowerShell script must check each Device for updates and if a driver is new, update it. There should be no reboot till all drivers are installed. After all Drivers are installed it should prompt me to restart. Is it possible? Or is there any free Tool do this?
                 
Many thanks in advance
0
Comment
Question by:*** Hopeleonie ***
  • 4
  • 3
  • 2
9 Comments
 
LVL 84

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 1000 total points
ID: 40623599
it may not be a supported option but MDT can automate this for you and the driver packs are available from dell
0
 
LVL 19

Author Comment

by:*** Hopeleonie ***
ID: 40625099
Hi David

Can I use Microsoft Deployment Toolkit for OEM? I really search a PowerShell script.
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 40628558
You could try DISM: https://technet.microsoft.com/en-us/library/hh824971.aspx

Dism /online /Get-Drivers

Then force a hardware enumeration within the device manager and see if it picks up the drivers.

Your problem is that driver enumeration really only happens during the imaging process and OEM images don't have re-imaging rights.

I've taken a hard drive out of one model Dell and put it into another model Dell and just downloaded the "enterprise cab" for that model from Dell.  Then I pointed each unknown device to this folder structure and it remembers the folder location thereafter for each device driver update.  It doesn't take more than 5 minutes getting all the drivers correct, so I'm not sure what your definition of "a lot of time" would be.

Dell is actually one of the more sane vendors because they actually name their models with a logical naming structure vs HP and Lenovo.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 19

Author Comment

by:*** Hopeleonie ***
ID: 40628775
Hi Adam

I will try Dism /online /Get-Drivers

Thanks a lot
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 40628873
Apologies: it appears Dism /online /Get-Drivers only displays info about the drivers, it doesn't actually install them.  Please disregard my comment.
0
 
LVL 84

Expert Comment

by:David Johnson, CD, MVP
ID: 40628898
dism /online /add-drivers only works with off line images unfortunately
0
 
LVL 22

Assisted Solution

by:Adam Leinss
Adam Leinss earned 1000 total points
ID: 40628910
This may work: http://christian.hofstaedtler.name/blog/2013/01/using-dism-to-add-drivers.html

I don't know that you'll really save any time doing that though vs. going into the full OS and installing them manually.
0
 
LVL 19

Accepted Solution

by:
*** Hopeleonie *** earned 0 total points
ID: 40642465
We found Dell Command Update.
0
 
LVL 19

Author Closing Comment

by:*** Hopeleonie ***
ID: 40652319
Thanks to both!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question