Page 1 of 1

Problems with registry access..

Posted: Fri Mar 10, 2006 1:08 pm
by rlach
I was trying to do a program that grant access to the registry for all users.

According the help, i did this:

RegistrySecurity( HKEY_CLASSES_ROOT ).DAcl.Deallocate;

After this, i didn't do anything else, i can't execute programs and nothing else.

I tried to restart the PC and now, even the start bar doesn't appear.

What can i do now ?!?

Ps.: I wrote this message in another computer, because my pc is useless.

Posted: Wed Mar 15, 2006 10:21 am
by madshi
:(

Don't know what to say right now. HKEY_CLASSES_ROOT is just a map. It's a subkey of HKEY_LOCAL_MACHINE\Software\Classes or something like that, I believe. So I guess that there are some ACEs in HKEY_LOCAL_MACHINE or in HKEY_LOCAL_MACHINE\Software which are now denying access. Sounds a bit strange to me, though.

Can't you even start RegEdit?

You could boot your PC with e.g. BartPE and then edit your PC's registry from BartPE. Rather difficult to do, though...

Posted: Wed Mar 15, 2006 2:23 pm
by rlach
Can't you even start RegEdit?
I couldn't execute anything.

:cry:

I've reinstalled the windows already, but my doubt is about, how can i grant access for limited users into windows register.

I need to register a file extension to open my with program ?!?

By the help, i thought it was just put this line:

RegistrySecurity( HKEY_CLASSES_ROOT ).DAcl.Deallocate;

But i didn't work and denied all access to registry.

Is it possible ?!? :crazy:

Posted: Wed Mar 15, 2006 2:27 pm
by madshi
What exactly is it that you want to achieve? Registering a file extension should be possible without changing registry security rights.