exclude desired Registry Keys!!

Found a bug? Let us know.

Moderators: patrick, hawkwind

exclude desired Registry Keys!!

Postby eskro » Tue Feb 23, 2010 7:56 pm

Many applications i use store their settings in the registry...
some of them, once configured, i dont need to touch their settings anymore...
but some of them i do!
thats why, I'm willing to pay again for SD if i can exclude desired registry keys!


especially the ones for FIREFOX!!
......................................................
-HKEY_CURRENT_USER\Software\Mozilla
-HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla
-HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org
-HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins


and also the keys for my software Firewall called COMODO!!
...................................................................................
-HKEY_CURRENT_USER\Software\ComodoGroup
-HKEY_LOCAL_MACHINE\SOFTWARE\ComodoGroup


even tho i understand that excluding registry keys can compromise security at some point,
i still think its the same thing if a user excludes some folders..
these folders could compromise security too!

So in the End, its up to the USER to choose right :P
and i would like to have the freedom to exclude a registry key if i want to :P

Think of it like this...
no other software can do this yet!
SD would be the first!

And this means, more $$$ for you :P
As users will talk more about SD because of that!

Look, im the best example here....
i use SD because i can decide which folder to exclude
without the need to create a seperate partition
to store the files i want to keep across reboots!!

i hate "RETURNIL" because of that!
i hate "DeepFreeze " because of that!
i hate "CLean Slate" because of that!

i hope you think what i said makes sens :P
and hope you'll make us, SD users,
have the freedom to exclude registry keys if i want to :P

Thanx alot!!!
Image
eskro
 
Posts: 105
Joined: Thu Jan 14, 2010 10:52 am

Re: exclude desired Registry Keys!!

Postby bachhoakhai » Fri Jul 23, 2010 4:50 am

Hi eskro,
It looks like you and me have the same thought. :D

Though SD hasn't supported Exclusion Registry yet, I have found the way to do this with specific keys.

Here is the idea:
- We always have 3 points of time: t1 < t2 < t3
t1: logging off the computer
t2: restarting the computer
t3: logging on the computer
- SD makes everything gone back to the original state after restarting the computer. It happens after t2
- So we export specific keys into a .reg file at t1 and import that .reg file at t3

Have it done automatically:
- using command line: Open Notepad and type

Code: Select all
reg export "keypath" FileToSavePath 
then save it with the name export.cmd (in Save As window, Save as type: all files, File name:export.cmd). It is used to export your specific keys

Code: Select all
reg del "keypath"
reg import PathToRegFile
then save it with the name Import.cmd . It is used to restore all reg changed back to registry (including new/deleted/changed keys/values/data)

If you have more than one reg key, just add some more lines into your ex/import.cmd file

Of course, PathToRegFile must be the same as FileToSavePath above and FileToSavePath is C:\....\...\name.reg and must be in Exclusion list or not in freezed drives.

ex:
Code: Select all
reg export "HKEY_CURRENT_USER\Software\KILLSOFT\HotKeyManager_1.1" D:\hotkey.reg

reg del "HKEY_CURRENT_USER\Software\KILLSOFT\HotKeyManager_1.1"
reg import D:\hotkey.reg


- we use log on/off script of Windows xp: start > run "gpedit.msc" > ok
Group Policy window > User configuration > windows settings > scripts (logon/logoff)
+double click logon > add > Browse... > point to Import.cmd ...
+double click logoff > add > Browse... > point to export.cmd ...

All of above steps must be done before going into Shadow mode. From now, your specific registry keys is saved all the time. It works like those key are committed but they don't cause we are in Shadow mode :lol: . When you exit shadow mode, those keys are committed to the disk automatically :lol:.

sorry for my lack of English if any.
bachhoakhai
 
Posts: 5
Joined: Fri Jul 23, 2010 3:56 am

Re: exclude desired Registry Keys!!

Postby eskro » Sun Jul 25, 2010 6:47 am

very very nice idea here!!!!!!

your good!!!!

but each time windows boots, you'll see a cmd window pop up....
Image
eskro
 
Posts: 105
Joined: Thu Jan 14, 2010 10:52 am

Re: exclude desired Registry Keys!!

Postby bachhoakhai » Sun Jul 25, 2010 1:45 pm

eskro wrote:but each time windows boots, you'll see a cmd window pop up....


The registry is imported during the logon process, before any startup program. It haven't really entered to window yet. So it shouldn't be any window pop up here unless you put Import.cmd to startup folder or something like that.

I haven't seen any cmd pop up in my computer.But if you find it annoying you, try this way:

- Instead of pointing to Import.cmd, you create a shortcut of it.
- Left click on the shortcut > Properties .
- In the shortcut tab, look for Run: and change it to Minimized
bachhoakhai
 
Posts: 5
Joined: Fri Jul 23, 2010 3:56 am


Return to Bugs and Feedback

Who is online

Users browsing this forum: No registered users and 2 guests