Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 364
  • Last Modified:

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

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
*** Hopeleonie ***
Asked:
*** Hopeleonie ***
  • 4
  • 3
  • 2
3 Solutions
 
David Johnson, CD, MVPOwnerCommented:
it may not be a supported option but MDT can automate this for you and the driver packs are available from dell
0
 
*** Hopeleonie ***IT ManagerAuthor Commented:
Hi David

Can I use Microsoft Deployment Toolkit for OEM? I really search a PowerShell script.
0
 
Adam LeinssSenior Desktop EngineerCommented:
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
*** Hopeleonie ***IT ManagerAuthor Commented:
Hi Adam

I will try Dism /online /Get-Drivers

Thanks a lot
0
 
Adam LeinssSenior Desktop EngineerCommented:
Apologies: it appears Dism /online /Get-Drivers only displays info about the drivers, it doesn't actually install them.  Please disregard my comment.
0
 
David Johnson, CD, MVPOwnerCommented:
dism /online /add-drivers only works with off line images unfortunately
0
 
Adam LeinssSenior Desktop EngineerCommented:
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
 
*** Hopeleonie ***IT ManagerAuthor Commented:
We found Dell Command Update.
0
 
*** Hopeleonie ***IT ManagerAuthor Commented:
Thanks to both!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now