How can I delete a Key or Value Name using a filename.reg file?
To delete a key, using a filename.reg file, use the following syntax: REGEDIT4 [-keyPath] Example: To delete the HKEY_LOCAL_MACHINE \Software \McAfee Key, including all sub-keys, and all Value Names, use the following filename.reg file: REGEDIT4 [-HKEY_LOCAL_MACHINE \Software \McAfee] Then run: regedit /s