Video Screencast Help

To install the PCAAgent Remotely

Created: 29 Apr 2013 • Updated: 02 May 2013 • 1 comment
technical_specialist's picture
+12 12 Votes
Login to vote

Hi,

Below are the steps which can help to install the PCAAgent Remotely.

Copy the folder \\<servername>\NSCap\bin\Win32\X86\pcAAgent to your own system c drive where port is open to access all remote system.

Create a batch file with usingbelow detail and paste in to pcAAgent folder (Eg - pcaagent.bat)

@echo on
cd\
cd pcanywher
pcAClientInstallManager.exe /iall
exit

Also download the psexec file and paste it in c drive

Create a file with computer.txt in your c drive and paste all ip in this file where you need to install

This computer.txt file will help in both vbs script or in bat file

 

Copy the below step in notepad and save pcaagent.vbs

Const ForReading = 1
Const OverwriteExisting = TRUE
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("C:\Computers.txt")
Do Until objFile.AtEndOfStream
    strComputer = objFile.ReadLine
    strRemoteFile = "\\" & strComputer & "\C$\PcAAgent"
    objFSO.CopyFolder "C:\PcAAgent", strRemoteFile, OverwriteExisting
Loop

Run the pcaagent.vbs

After that run the command on command prompt

PsExec.exe @computers.txt C:\pcAAgent\pcaagent.bat

Comments 1 CommentJump to latest comment

venktesh's picture

Helpfull blog for the remote installation.

0
Login to vote