How to install software on remote computer

How to install software on remote computer
 
Prerequisites:
  1. Administrative privileges on the system on which you want to install the software
  2. WMIC (Windows Management Instrumentation Console)
  3. Text Editor (NotePad, WordPad etc)
  4. Xcopy(for copying installation files into the system)
  5. MSI (Microsoft software installer file of desired software)
Code: 
@EchO off
SET /P tsystem=Enter Target system:
EchO.
XCopy “\\Source Path\*.*” “\\%tsystem%\target path\*.*” /E /C /H /R /Y
WMIC /Node:”%tsystem%” product call install true,””,”Target Path\MSI file”
RD /S /Q “\\%tsystem%\d$\Folder name”
Advertisements
This entry was posted in Desktop, General, Server and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s