Thursday, September 3, 2015

Multiple ways to Install Software remotely on Windows - Method 7 Copy Portable applications

Multiple ways to Install software remotely
Multiple ways to Install Software remotely on Windows - Method 1 Group Policy
Multiple ways to Install Software remotely on Windows - Method 2 Third party softwares

Multiple ways to Install Software remotely on Windows - Method 3 Command line PSEXEC tool
Multiple ways to Install Software remotely on Windows - Method 4 WMI (Windows Management Instrumentation)
Multiple ways to Install Software remotely on Windows - Method 5 PowerShell Remoting
Multiple ways to Install Software remotely on Windows - Method 6 PowerShell DSC (Desired State Configuration)
Multiple ways to Install Software remotely on Windows - Method 7 Copy Portable applications
Multiple ways to Install Software remotely on Windows - Method 8 Task scheduler

All the methods I shown earlier were based on installation setup means I was installing them remotely, What if you don't have setup file (exe or msi) to install, you have only portable software, something like just putty.exe, or some other standalone tool. You can copy single or couple files using group policy, check my blog Copy files on computers using group policy. 

(Now a days I am seeing portable software is good choice when you don't have admin rights on your server and wants to install or run utilities)

for this reason I am including this as method (To work this method correctly C$ hidden share must be enabled on the remote server). I have program called treesize, it show the drive and folder size utilization to track space. My portable software is kept on shared drive and I created shortcut file for its exe executable software. (see the target its pointing towards UNC path and exe)
Now you can manually Access the UNC path of  C$\Users\Public\Desktop can copy this portable file, it will be automatically reflected on each users desktop on that machine.

or if you want to script simple run command
xcopy c:\Softwares\TreeSize\TreeSizeFreePortable.lnk \\client001\c$\Users\Public\Desktop
when you see check on the remote machine you will able able to access those programs. You can also copy same shortcut under C$\Programdata\Microsft\Windows\Start Menu, you will see the same shortcut in everyone start menu.

If in case C$ is not shared or disabled This same process you done by Copying files on computers using group policy.

Next is very great method call schedule task. that would be last post for installation of software remotely in these series.

No comments: