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

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

Remotely install sound card driver

Hi Experts!  We have deployed numerous Windows 7 computers that now need a different driver for the sound card.  Since we are dealing with 100+ computers, I was hoping that we could install the driver through pstools (psexec?) or with GFI LANguard.  I have extracted the setup.exe file from the original sp39852.exe that was downloaded from HP's site but I can't seem to get the setup.exe to install on the remote computer with psexec.  I get this message when I launch the setup from psexec:  setup.exe exited on computer with error code -1073741819 (I couldn't find any error code on Google that matched up).

So, can I deploy a driver through remote means and if yes, how?  Thanks in advance!
0
samiam41
Asked:
samiam41
  • 3
  • 2
1 Solution
 
netcmhCommented:
Here's a step by step: http://www.richud.com/wiki/Windows_7_Install_Unsigned_Drivers_Remotely

Hopefully, this helps.
0
 
samiam41Author Commented:
Perfect!  I can read through this script and see what is being accomplished but need a little help with a couple of "variables"?

if [%1%] == [] (
 set /p h=Enter Hostname or IP :

Can I assign a text file that contains the name of computers for the script to do to each computer?

"%~dp0*"  
What  is this?  I'm guessing it is the server\share to copy the files from but can I set it statically or where do I set it?
0
 
netcmhCommented:
Sure, something like:

For /F %%h IN (computer.txt) Do ...
where computer.txt is a list of your PCs

Better explained than I could ever at: http://htipe.wordpress.com/2008/10/09/the-dp0-variable/

"The %~dp0 (that’s a zero) variable when referenced within a Windows batch file will expand to the drive letter and path of that batch file."
0
 
samiam41Author Commented:
Thanks for your help.  I ended up using DPInst and launching the script via PSExec.  I'm going to accept your previous answer for your time but would advise others to use DPInst and PSExec.
0
 
netcmhCommented:
Thanks for your input and grade. Good luck.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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