Jabea.net Rotating Header Image

Citrix XenDesktop and McAfee EPO script

There is a good script to reset the EPO agent ID to keep the console uptodate.

@echo
echo Stopping services . . .
net stop McAfeeFramework /yes
net stop McShield /yes
net stop McTaskManager /yes
echo Stopping services, done.
echo Deleting registry entries . . .
REG delete "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v AgentGUID /F
REG delete "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v MacAddress /F
REG delete "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v ComputerName /f
REG delete "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v IPAddress /f
REG delete "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v LastASCTime /f
REG delete "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v SequenceNumber /f
REG delete "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v SubnetAddress /f
REG delete "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v SubnetMask /f
REG delete "HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v AgentGUID /f
REG delete "HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v MacAddress /f
REG delete "HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v ComputerName /f
REG delete "HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v IPAddress /f
REG delete "HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v LastASCTime /f
REG delete "HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v SequenceNumber /f
REG delete "HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v SubnetAddress /f
REG delete "HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v SubnetMask /f
echo Deleting registry entries, done.
:Exit

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA Image

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>