Friday, October 30, 2009

Using PuTTY Secure Copy client

Here are a few simple examples for using the PSCP command line utility for moving files between Windows and *nix over SSH. I realize it is much more capable but these are really the only reasons I use it.

Copy from *nix:
pscp.exe -2 -scp username@server.domain.loc:/home/username/*.* c:\Temp\

Copy to *nix:
pscp.exe -2 -scp c:\Temp\*.* username@server.domain.loc:/home/username/

List files and directories on *nix:
pscp.exe -2 -scp -ls username@server.domain.loc:/home/username/

If you are familiar with FTP, you can use the PSFTP.EXE tool to do the same thing as in the below example:

psftp.exe -2 -l username server.domain.loc

Once authenticated use the mget command to copy files to the local Windows computer.

Thursday, October 22, 2009

Upgrade ePO Agent

  1. Uninstall Agent (this step may be unnecessary since using /FORCEINSTALL to install a new agent removes the current agent but it doesn't hurt and may prevent install failures.)

    1. Use the /REMOVE command-line option to uninstall the agent.

    2. Click Start and the Run.

    3. Click Browse and navigate to the following file: "C:\Program Files\Network Associates\Common Framework\FrmInst.exe"

    4. Append /REMOVE=AGENT to the end of the file path in the "Open:" box and click OK.

    5. The McAfee Agent and Updater Installation window may appear. Click OK upon completion.

  2. Install New Agent: FramePkg.exe /FORCEINSTALL /INSTALL=AGENT /INSTDIR="%ProgramFiles%\McAfee\Common Framework"

  3. Test Connectivity: "%ProgramFiles%\MCAFEE\COMMON FRAMEWORK\CMDAGENT.EXE" /C /E /P /S

  4. Try to manually update from new ePO server