Solved

Remotely install sound card driver

Posted on 2013-01-16
5
887 Views
Last Modified: 2013-02-02
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
Comment
Question by:samiam41
  • 3
  • 2
5 Comments
 
LVL 20

Expert Comment

by:netcmh
ID: 38783199
Here's a step by step: http://www.richud.com/wiki/Windows_7_Install_Unsigned_Drivers_Remotely

Hopefully, this helps.
0
 
LVL 9

Author Comment

by:samiam41
ID: 38783430
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
 
LVL 20

Accepted Solution

by:
netcmh earned 500 total points
ID: 38787658
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
 
LVL 9

Author Comment

by:samiam41
ID: 38839750
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
 
LVL 20

Expert Comment

by:netcmh
ID: 38846737
Thanks for your input and grade. Good luck.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

776 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