Solved

PSEXEC to Remote install "dotNetFx40_Full_x86_x64.exe"

Posted on 2012-04-05
3
5,366 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
[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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 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