Solved

PSEXEC to Remote install "dotNetFx40_Full_x86_x64.exe"

Posted on 2012-04-05
3
4,906 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
This article will show, step by step, how to integrate R code into a R Sweave document
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 …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now