Solved

PSEXEC to Remote install "dotNetFx40_Full_x86_x64.exe"

Posted on 2012-04-05
3
5,082 Views
Last Modified: 2012-04-06
Hi there,

I need to silently and remotely install dotNetFx40_Full_x86_x64.exe.

The following command line does not work.

PSEXEC \\RemotePC /i /u DomainName\Username /p password C:\Windows\System32\msiexec.exe /i "C:\Temp\dotNetFx40_Full_x86_x64.exe" -qb

1)"C:\Temp\dotNetFx40_Full_x86_x64.exe" is located on the remote PC.
2)This is not a security nor reachability issue.

Thanks for your help,
Rene
0
Comment
Question by:ReneGe
3 Comments
 
LVL 16

Assisted Solution

by:l33tf0b
l33tf0b earned 200 total points
ID: 37814837
That's not an msi file.  Do you have the msi install file? Not sure if it matters, but I've always used a hyphen with psexec instead of slashes for passing the user and password switch.
0
 
LVL 2

Accepted Solution

by:
tighec earned 300 total points
ID: 37815920
Try PSEXEC \\RemotePC /i /u DomainName\Username /p password C:\Temp\dotNetFx40_Full_x86_x64.exe /q

You can add in /norestart if you do not want the machine to automatically restart.
0
 
LVL 10

Author Comment

by:ReneGe
ID: 37816403
@ tighec
Hmmmm...  And what was I thinking adding "C:\Windows\System32\msiexec.exe" in the command line???
Thanks

@l33tf0b
LIke you say... "That's not an msi file"!!
Tried both switch formats "/" and "-" and both works.

Thanks guys :)

Cheers,
Rene
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

831 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