Pages: [1]   Go Down
  Print  
Author Topic: Merge reg file in Windows 7 when it protected  (Read 457 times)
0 Members and 1 Guest are viewing this topic.
gi joe
Guest
« on: January 05, 2011, 10:47:53 PM »

By design it appears certain keys in Windows 7 reg are protected.  And you have to go in and give yourself permissions.  Is there a way round this?  Because I know the keys I want to edit and know at least one of them is protected.  I can edit them manually but want to use a .reg file to merge.  But because of the protection it won't merge Sad

Annoying.
Logged
digidix
Business Class
From a glass
****

Good Guy/Gal Points. 20
Offline Offline

Posts: 793



WWW
« Reply #1 on: January 06, 2011, 09:39:53 AM »

Have you tried configuring the security properties to allow this to happen?
Logged
gi joe
Guest
« Reply #2 on: January 09, 2011, 01:35:47 PM »

Have you tried configuring the security properties to allow this to happen?

Which security properties?

Problem is, not sure if this is even possible in Windows 7 anymore, because of specific entries having their rights removed.  So anytime you wanted to change something on a specific, protected key, you'd have to go in a change the permissions.  You'd only have to do it once but still.
Logged
digidix
Business Class
From a glass
****

Good Guy/Gal Points. 20
Offline Offline

Posts: 793



WWW
« Reply #3 on: January 09, 2011, 04:00:05 PM »

Permissions by right clicking it I meant
Logged
gi joe
Guest
« Reply #4 on: January 09, 2011, 08:00:15 PM »

Oh right.  Yeah, you can do that within regedit.  But was hoping to get it so I could take the reg file to another Win 7 machine and just double click to merge it like in XP.  But because the key I want to change is protected it would mean having to go to regedit first and giving the local admin account full control to the key.
Logged
corroded
Humbug Monkee
Pub regular
*******

Good Guy/Gal Points. 73
Offline Offline

Posts: 3916


Shop Smart, Shop S-Mart.


« Reply #5 on: January 10, 2011, 10:19:13 AM »

Can you run regedit as admin?

Find it, run as administrator. Is it protected then?
Logged
digidix
Business Class
From a glass
****

Good Guy/Gal Points. 20
Offline Offline

Posts: 793



WWW
« Reply #6 on: January 10, 2011, 04:47:45 PM »

Can you run regedit as admin?

Find it, run as administrator. Is it protected then?

regedit is run as admin by default. You can right click each keys to get permissions to do what you need to do, but there are some that I don't think can be altered by gaining such permissions in Win 7
Logged
gi joe
Guest
« Reply #7 on: January 10, 2011, 08:10:49 PM »

Running as admin makes no difference, tried that so even if you put it in a batch file wouldn't work.

Go to regedit in Windows 7

Go to key

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}

This is just where you can change the Computer Name on the Computer Name icon to be the, erm, Computer Name smile it will change automatically.

Anyway.  Right click the key and look at the permissions.  You'll notice TrustedInstaller is the only one that has Full Control. Administrators don't and that's the problem with merging the reg key.  To get the reg key to merge, you have to go to the key first and set the permissions on Administrators to Full Control.

So that's the problem.
Logged
digidix
Business Class
From a glass
****

Good Guy/Gal Points. 20
Offline Offline

Posts: 793



WWW
« Reply #8 on: January 10, 2011, 08:13:56 PM »

Isn't there a way that you can add the administrator as the trusted installer? I seem to remember they had that in Vista, though I may have to upgrade my Windows 7 to ultimate if I wanted to do that
Logged
gi joe
Guest
« Reply #9 on: January 10, 2011, 08:35:43 PM »

Don't know smile it's a bit annoying cause it means having to go to every Windows 7 machine and going to the key and giving admin full control before doing anything, cancelling out the point of the quick merge key reg file.

In XP, although it makes it less secure, you can just double click your reg file and say yes to the merge, done.
Logged
Flibberdy
On the teat!
*

Good Guy/Gal Points. 16
Offline Offline

Posts: 78



« Reply #10 on: January 12, 2011, 05:08:25 PM »

http://blogs.msdn.com/b/alejacma/archive/2008/03/11/how-to-change-registry-permissions-with-regini-exe-vbscript.aspx

Is this any help? It dates back from NT4 but the tool seems to be present on my Win7 install here at work so I guess it'll work for 7
Logged
gi joe
Guest
« Reply #11 on: January 12, 2011, 11:05:57 PM »

Cool. That might do it.

Currently fucked up my ReadyNAS Duo though so trying to sort that out.  Tip, don't buy Netgear!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: