This blog is dedicated to Ms Exchange 2007 , Active Directory , MSCS Services articles and demos , Its all about Microsoft Exchange 2007 .

9th
JUL

How to Remove Registry Key Using Batch File

Posted by Usman under Active Directory

You can use the following syntax to remove any registry key using batch file.

1- Create a New Text File in NotePad and Save asĀ  “File.bat”

2- Open File.Bat in NotePad and put following syntax

REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent” /v “AgentGUID” /f

You can use your own registry key path !

/f switch will delete key without prompting Yes/No !

Leave a Reply