?
Solved

Install a software on a remote machine unattended.

Posted on 2007-07-21
5
Medium Priority
?
1,240 Views
Last Modified: 2010-05-18
Hi,

I have some softwares which i need to install remotely and unattended.Is there a way to do this.

Regards
Sharath
0
Comment
Question by:bsharath
5 Comments
 
LVL 7

Assisted Solution

by:carcenea
carcenea earned 400 total points
ID: 19540110
It all depends on what type of network you're in. Is it an Active Directory domain? A simple peer to peer network with a few computers?
0
 
LVL 11

Author Comment

by:bsharath
ID: 19541704
Yes its a ADS network
0
 
LVL 3

Accepted Solution

by:
ajay_walia earned 1200 total points
ID: 19541823
0
 
LVL 3

Expert Comment

by:ajay_walia
ID: 19541834
Installs a hypothetical software program (using a Windows Installer package) on a remote computer. Requires delegation for the computer and user accounts involved in the procedure.

Const wbemImpersonationLevelDelegate = 4

Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objConnection = objwbemLocator.ConnectServer _
    ("WebServer", "root\cimv2", "fabrikam\administrator", _
         "password", , "kerberos:WebServer")
objConnection.Security_.ImpersonationLevel = wbemImpersonationLevelDelegate

Set objSoftware = objConnection.Get("Win32_Product")
errReturn = objSoftware.Install("\\atl-dc-02\scripts\1561_lab.msi",,True)
0
 
LVL 5

Assisted Solution

by:ardrac
ardrac earned 400 total points
ID: 19548308
You could also use psexec.exe to run process on remote machines.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

749 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