Problems with registry access..

delphi package - easy access to security apis
Post Reply
rlach
Posts: 2
Joined: Fri Mar 10, 2006 1:03 pm

Problems with registry access..

Post 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.
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post 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...
rlach
Posts: 2
Joined: Fri Mar 10, 2006 1:03 pm

Post 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:
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

What exactly is it that you want to achieve? Registering a file extension should be possible without changing registry security rights.
Post Reply