Hello everybody,
My program requires that all users are able to read/write to the registry in windows xp/2000 regardless of whether they are administrators, restricted or limited users.

I decided to use SetNamedSecurityInfo as follows:

invoke SetNamedSecurityInfo,ADDR DiscretionaryACL,\

declared in .data:
DiscretionaryACL_Machine db "MACHINE\Software",0

This call returned error success. Next time I tried to logon to windows xp a Windows Product Activation Error code: 07008005 was generated along with numerous other errors. This could only be fixed by manually editing the registry from another partition cuz Restore and many other functions would no longer work.

Nothing in the documentation suggests the possibility of registry corruption so I don't know where to go from here:) If anybody has any insight, suggestions or samples on how to give all users read/write privileges it would be much appreciated.

best regards,

Posted on 2005-02-17 08:50:52 by czDrillard