Compare value in registry then delete and restart a service

ChevyIT1

New member
Joined
Apr 9, 2013
Messages
1
Programming Experience
1-3
I need help writing a code to search through a list of computer names and checking for a registry value "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" and check the string AgentGUID for the value {4D604353-44D1-4EB2-A58F-B34207B785DC}. If the value is present delete the value and then restart the McAfee Framework Service. Can someone give me guidance on this. I have 200 + computers I need to do this to to fix a issue with the service. We imaged these computers and the AgentGUID has not changed on them to a unique ID number. PLEASE HELP!!!
 
Back
Top