Solved

PSEXEC to Remote install "dotNetFx40_Full_x86_x64.exe"

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
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 …
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 …
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…

808 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