Install a software on a remote machine unattended.

Posted on 2007-07-21
Last Modified: 2010-05-18

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

Question by:bsharath
    LVL 7

    Assisted Solution

    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?
    LVL 11

    Author Comment

    Yes its a ADS network
    LVL 3

    Accepted Solution

    LVL 3

    Expert Comment

    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)
    LVL 5

    Assisted Solution

    You could also use psexec.exe to run process on remote machines.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
    Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
    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…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now