Hi
I have a .reg file that introduces information from an ad server list to the registry.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones\101com.com]
"Type"=dword:00000001
"DatabaseFile"="adservers.dns"
"SecureSecondaries"=dword:00000001
"NotifyLevel"=dword:00000001
"AllowUpdate"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones\101order.com]
"Type"=dword:00000001
"DatabaseFile"="adservers.dns"
"SecureSecondaries"=dword:00000001
"NotifyLevel"=dword:00000001
"AllowUpdate"=dword:00000000
ETC and it goes on, I just include to show that the format/layout continues for each new introduced “key” if that is the “right terminology?”
After reading on the net I see to delete a key rather than add a key one would ad “-“ to the front of the key!
EG.
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones\101com.com]
Still trying to take in what part exactly this deletes and will make sure I understand more before going any further!
What I am attempting to do is make a second modified version of the .reg file that would reverse the actions of the first file only removing the new keys or parts of.
If I keep reading I will work it out, at this stage I do not have a good enough understanding to use this without backing up the entire registry which would likely not be limited to this files changes alone depending on when you made the restore.
I would most likely only want to remove the actual sites from the blocked list, with this I have assumed that remaining sub directories left after the blocked site key was removed will cause no registry problems?
If someone can give me an example how the above information could be modified to correctly reverse the action specific to only reverting the first files additions or make any comment helping comments it is appreciated.
My handle here is literal but I work to change it!
Getting there
Edit: Am I right in thinking?
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones]
Would delete blocked site as well, just thought if they did not have a directory \Zones than Zones\101com.com for example could not exist as it is part of \Zones?
I have a .reg file that introduces information from an ad server list to the registry.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones\101com.com]
"Type"=dword:00000001
"DatabaseFile"="adservers.dns"
"SecureSecondaries"=dword:00000001
"NotifyLevel"=dword:00000001
"AllowUpdate"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones\101order.com]
"Type"=dword:00000001
"DatabaseFile"="adservers.dns"
"SecureSecondaries"=dword:00000001
"NotifyLevel"=dword:00000001
"AllowUpdate"=dword:00000000
ETC and it goes on, I just include to show that the format/layout continues for each new introduced “key” if that is the “right terminology?”
After reading on the net I see to delete a key rather than add a key one would ad “-“ to the front of the key!
EG.
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones\101com.com]
Still trying to take in what part exactly this deletes and will make sure I understand more before going any further!
What I am attempting to do is make a second modified version of the .reg file that would reverse the actions of the first file only removing the new keys or parts of.
If I keep reading I will work it out, at this stage I do not have a good enough understanding to use this without backing up the entire registry which would likely not be limited to this files changes alone depending on when you made the restore.
I would most likely only want to remove the actual sites from the blocked list, with this I have assumed that remaining sub directories left after the blocked site key was removed will cause no registry problems?
If someone can give me an example how the above information could be modified to correctly reverse the action specific to only reverting the first files additions or make any comment helping comments it is appreciated.
My handle here is literal but I work to change it!
Getting there
Edit: Am I right in thinking?
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Zones]
Would delete blocked site as well, just thought if they did not have a directory \Zones than Zones\101com.com for example could not exist as it is part of \Zones?