Solved

PSEXEC to Remote install "dotNetFx40_Full_x86_x64.exe"

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
This article will show, step by step, how to integrate R code into a R Sweave document
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…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

706 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

20 Experts available now in Live!

Get 1:1 Help Now