Quick Contact

How to perform package installation remotely

Introduction

How to install / uninstall updates and applications to remote computers

For example this bat install .net4.5 fix for 40 remote computers for ginger in UK HK and NY

 

Installation

Copy psexec.exe and well.exe in same folder.  You can download psexec file here:

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

Actually the best way for install remote application:

psexec.exe \\207.126.107.103 -u "uk1.gingerdns.com\userName" -p "passWord" -d -h -c -f well.exe /q

But for our security reasons this is not work.

Psexec arguments:

-p

Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.

-C -

Copy the specified program to the remote system for execution. If you omit this option then the application must be in the system's path on the remote system.

-f

Copy the specified program to the remote system even if the file already exists on the remote system.

-d

Don't wait for application to terminate. Only use this option for non-interactive applications.

-u

Specifies optional user name for login to remote computer.

     

So… how do I do that?

First row copy file name well.exe to remote computer if you add /q install this file in automatically mode and restart if need. If you don’t need restart just add /norestart

 

Example Using 

psexec.exe \\207.126.107.103 -u "uk1.gingerdns.com\userName" -p "passWord" -d -h -c -f well.exe
psexec.exe \\207.126.107.103 -u "uk1.gingerdns.com\ userName " -p " passWord" -h cmd /c "copy well.exe c:\NDP45-KB2750147-x64.exe"
psexec.exe \\207.126.107.103 -u "uk1.gingerdns.com\ userName " -p " passWord" -h cmd /c "c:\NDP45-KB2750147-x64.exe /q"

 

Thank you and best regards Valentin

Additional Articles
X

Partners

© 2013 XGlobe Online Ltd.