Reset Windows 7 registry permissions

Hi

I seem to be having loads of permissions issues with a windows 7 PC 64bit

Is it possible to reset the registry permissions to their default values ?
Or give my user all permissions ?

There are a few services that refuse to load : dhcp, firewall, nlasvc, base filter engine,

When I try to start DHCP client I get error 5

I manually added permissions to DHCP service in the registry : localservice, networkservice, and service (all full)

thanks
yann
Yann ShukorOwnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
It is possible to reset the access control lists of all keys that were present at the time win7 was installed to their default values, yes.
It's called an inplace-upgrade and would mean you take the setup dvd of win7+sp1, start setup and choose to upgrade your OS inplace to win7. This would repair these permissions.
Adam LeinssServer SpecialistCommented:
secedit used to work, but hasn't been supported since Windows XP/2003: https://support.microsoft.com/en-us/kb/313222

You could try granting permissions at the root level using regedit...sounds like this computer is really jacked up.  What about a system restore point?
McKnifeCommented:
"You could try granting permissions at the root level using regedit." - bad idea, since it will break some security mechanisms that are beneficial as well. The inplace upgrade would do no such harm.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Adam LeinssServer SpecialistCommented:
Actually, both of our answers are bad ideas.  Reinstalling over top strips the OS all the way back to the original patch levels.  So if you had IE 11, it takes it back to IE8 and other fun stuff.
What does that do the to stability of the OS?  Probably bad things.

The right answer is probably rebuild the PC...but maybe he can't.  Maybe it's a vendor PC.  Maybe some software that is installed is no longer being sold or the vendor went out of business.

Hell, you want to get rid of all permission issues?  Convert the disk from NTFS to FAT32.  Then everyone has full access to all files on the disk since FAT32 has no notation of permissions.  Bad idea?  Probably.  Will it fix the issue? Probably.

How much risk are you willing to take?
McKnifeCommented:
"Probably bad things." - no, it does not and I am sure MS would recommend the same. I did this multiple times (maybe about 100).
Reverting back to IE8 - right, but that's no problem, all patches (and IE upgrades) can be re-applied. The only thing: this takes time since win7+SP1 will get more than 200 patches :-|

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MereteCommented:
I'm running windows 7 prof x 64
If the other user is not an administrator and you are
 make the other user an administrator
Control Panel\All Control Panel Items\User Accounts that user name
 click on change user account type
change user accountThen log on as that user
and then go to change user account controls and lower them
I have mine on Never notify
Never notify
Yann ShukorOwnerAuthor Commented:
Hi

Thanks for all your input

I feel like a reinstall is the simplest way to go since this PC still isn't officially in production

I'll be more vareful to avoid obtaining the same result

yann
McKnifeCommented:
I have no idea why you don't try the in-place upgrade.
Please read https://support.microsoft.com/en-us/kb/306952 - (it still applies to modern windows) it will confirm that the in-place upgrade
-Refreshes the registry and restores default registry values. [third party values will not be touched]
-Reapplies default permissions.

So I would try it, if it goes wrong, you can reinstall.
Yann ShukorOwnerAuthor Commented:
thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.