Problem: How to create a script to replace SyLink.xml file in client computers

Question : How to create a script to replace SyLink.xml file in client computers

 Hi,

My Symantec Endpoint Protection Server running on Windows 2003 crashed and i have to rebuild the same. Now all my clients are not part of the Endpoint Protection Server and i want to bring all of them to the new Endpoint Protection Server. I found that Symantec is having a tool for that called sylinkdrop.exe which will replace the SyLink.xml file in client computer C:Program FilesSymantecSymantec Endpoint ProtectionSyLink.xml with new SyLink.xml  from server. But its manual and i want a script which i can use in Group Policy to do the same. The script has to do the following.

Stop the smc.exe service

Copy and over write the file called SyLink.xml in my File Server to the SyLink.xml in :

C:Program FilesSymantecSymantec Endpoint Protection folder in all clients machine.

Start the smc.exe service.

Thanks


Solution: How to create a script to replace SyLink.xml file in client computers
You could write a script to do a RUNAS.

But there are other options like this one from joeware.net

http://joeware.net/freetools/tools/cpau/index.htm

Using this you can run your batch file with administrator access.