Solved

Remotely install sound card driver

Posted on 2013-01-16
5
892 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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

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…
On Beyond Tools A conversation I recently had with the DevOps manager of a major online retailer really made me think about DevOps monitoring tools (https://www.onpage.com/devops-incident-management-tool/). The manager and I discussed how sever…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

726 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