Solved

How to Change Parent servers if the old parent server doesn't exist?

Posted on 2008-10-14
4
1,321 Views
Last Modified: 2012-05-05
How to Change Parent servers if the old parent server doesn't exist?

Basically i need to know if there's a way to change the way the client pc's get there updates from the NEW parent server.

The old Parent server  died, so i can't edit the registry to point all the clients to the new parent server

i set up the new parent server running this script :

@echo off
ECHO ******** UPDATING YOUR PARENT AV SERVER ***************
xcopy "\\serverip\vphome\pki\roots\*.*" /e /s  "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5" /y/v/q/f
xcopy "\\serverip\vphome\GRC.DAT" "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5" /y/v/q/f
xcopy \"\serverip\vphome\GRCGRP.DAT" "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5" /y/v/q/f

it change the parent server to the right one, but the virus def file is still over a month old and the live update  button is shaded out.

the new parent is up to date.


any help is apreciated.

thanks
0
Comment
Question by:StuartSmithIT
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:KevinNo
Comment Utility
The batch file you wrote is close to what needs to be done. Modify it to do the following:

1. Copy the GRC.DAT file from the \\server\vphome\clt-inst\OS Ver\ folder to the workstations Docs & Settings\All Users\Application Data\Symantec\Symantec Anti....Corp Ed.\7.5 folder
2. Delete the remote machines cert in Program Files\Symantec AntiVirus\pki\roots. Just the cert in the roots folder not the entire PKI folder
3. Copy the new servers cert from \\server\VPHOME\CLT-INST\OS VER\pki\roots to the remote machines roots folder.
Restart the Symantec Antivirus service or reboot the workstation for an instant update. Else look at the 7.5 folder and see if GRC.DAT disappears on it's own. When is vanishes it means the client has upated it's settings.
0
 

Author Comment

by:StuartSmithIT
Comment Utility
thansk for that so that batch file should look something like this:

@echo off
ECHO ******** UPDATING YOUR PARENT AV SERVER ***************
xcopy "\\severip\vphome\pki\roots\*.*" /e /s  "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5" /y/v/q/f
xcopy "\\serverip\vphome\GRC.DAT" "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5" /y/v/q/f
del "C:\Program Files\Symantec AntiVirus\pki\roots\*.*" /y/v/q/f
xcopy "\\serverip\\VPHOME\CLT-INST\Win32\pki\roots\*.*" "C:\Program Files\Symantec AntiVirus\pki\roots\" /y/v/q/f
xcopy "\\serverip\vphome\GRCGRP.DAT" "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5" /y/v/q/f

that correct?
0
 

Author Comment

by:StuartSmithIT
Comment Utility
has anyone got anything further to add about this? i'm still a bit lost about it all

thanks
0
 
LVL 2

Accepted Solution

by:
KevinNo earned 250 total points
Comment Utility
I have written a batch file for you. This file assumes you have access network and administrative access to remote machines (IE browse C$). The batch will ask for workstation and server names then do the rest for you. Give it a bash and let me know.
@echo off
 

rem ****Set variables for client and servers****

set /p rem_pc=Enter the name of the remote workstation: 

set /p sav_srv=Enter the name of the Symantec Parent server: 
 

rem ****Delete old files from client****

del "\\%rem_pc%\c$\Program Files\Symantec Antivirus\PKI\Roots\." /Q

del "\\%rem_pc%\c$\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\grc.dat" /Q

del "\\%rem_pc%\c$\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\*.vdb" /Q
 

rem ****Copy new files from Symantec Parent Server****

copy "\\%sav_srv%\vphome\clt-inst\win32\pki\roots\*.cer" "\\%rem_pc%\c$\Program Files\Symantec Antivirus\PKI\Roots"

copy "\\%sav_srv%\vphome\clt-inst\win32\grc.dat" "\\%rem_pc%\c$\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5"

Open in new window

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now