How To Install Software Remotely In Windows?
I want to install a software remotely from one PC to another. I have the user rights and their credentials. Please provide me guidance for how to install software remotely.
I want to install a software remotely from one PC to another. I have the user rights and their credentials. Please provide me guidance for how to install software remotely.
It is not directly possible to do so. But you can use the scripts and file up the software in the remote folder asking each user to install the software by itself. You can use the following code to install.
strComputer = "PC-Name"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" & PC-Name & "rootcimv2")
Set objSoftware = objWMIService.Get(“Product_type")
errReturn = objSoftware.Install(“Setup_PATH",,True)
Wscript.Echo errReturn
In the above code Replace PC-Name with the name of the remote PC
Replace Product_type with the type of the product (Mostly W32)
Replace Setup_PATH with the path of the setup file