1

I have Windows Server 2008 and more computers in the domain. I need to run a program from the server on all the other computers, for example to install Kaspersky on the target computers. How can I achieve that?

migrated from stackoverflow.com May 19 '10 at 1:08

This question came from our site for professional and enthusiast programmers.

2

You may install programs using Group Policy Objects and MSI files of a program distribution. Deploying an MSI through GPO.

You also have an option to deploy any remote control software e. g. UltraVNC or schedule programs execution using Task Scheduler.

This question is better suited for serverfault.

1

I just heard of PDQ Deploy today. Perhaps it could be what you are searching for.

0

While some software can be deployed via Group Policies, most can't. You should investigate tools such as psexec, which will allow you to run pretty much any software on a target machine.

0

In regards to your specific example, Kaspersky Antivirus installs through a deployment console which is installed on the server. The console itself will allow you to deploy the client to as many or as few machines as you like. It's called the Kaspersky Administration Kit. Alternatively it has a wizard for configuring Kaspersky which will give you an MSI for deployment using GPOs in Active Directory.

0

Sorry that this is kind of a necro, but i used powershell to get around this.

Dependencies :

ActiveDirectory Module (Is included in Microsoft RSAT)

psexec.exe from sysinternals.

Import-Module ActiveDirectory
$servers = Get-ADComputer -Filter * -Property * | where { $_.Name -like "EB*"} | Select Name

foreach ($srv in $Servers){
    $server = $srv.Name
    C:\Sysinternalssuite\psexec.exe \\$server -u DOMAIN\USER -p PASSWORD -h -d #EG: gpupdate.exe "/force" or #powershell.exe "enable-psremoting -force"
}
0

The best way to do this is with a configuration management tool. In Microsoft's world, System Center Configuration Manager is typically the tool of choice for this, but there are competing products from third parties. This can be used for a range of tasks from operating system deployment, to patching, to compliance reporting, to software deployment.

You can script something in PowerShell or leverage GPO, but both have their limitations.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy