Problems with registry access..

delphi package - easy access to security apis

Problems with registry access..

Postby rlach » Fri Mar 10, 2006 1:08 pm

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

Postby madshi » Wed Mar 15, 2006 10:21 am

:(

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

Postby rlach » Wed Mar 15, 2006 2:23 pm

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

Postby madshi » Wed Mar 15, 2006 2:27 pm

What exactly is it that you want to achieve? Registering a file extension should be possible without changing registry security rights.
madshi
Site Admin
 
Posts: 9793
Joined: Sun Mar 21, 2004 5:25 pm


Return to madSecurity

Who is online

Users browsing this forum: No registered users and 3 guests