2 replies
by mssd Accepted solution
by rob miners Accepted solution
The contents that could be saved as del.reg in the root directory c:\>
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\iTunes]
This would delete the key iTunes and any keys below it.
The contents that could be saved as add.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\iTunes]
This will add the iTunes key back to the registry. It will not add what was deleted from underneath it.
This is how the batch file is structured EXAMPLE:
@echo on
C: regedit /s del.reg
goto s2
:S2
C: regedit /s add.reg
goto end
:END
OR as a stand alone batch file.
@echo on
C:
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\iTunes
:: Deletes the registry key iTunes and its all subkeys and values
goto s2
:S2
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\iTunes
:: Will add the iTunes key back to the registry.
goto end
:END
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending