I have some registry entries that I want to lock from editing by programs but I want the program to be able to read the entries.
What I did was add a restriction to a key and denied all write and change permisions to all adminstrators and I use a logon from the administrators group.
This did not work as the registry key appears to be completely unecsessable as the keys do not seem to work in the program. Worst of all, if I try to change the permisions now, I get an access denied error when I try to change permisions of add new ones.
I can use the adminstrator to unlock it again but what I want to do is to lock some entire key from modification by any running program but I still want to be able to change it manualy through regedit so if needed I want to also create a list of programs like regedit that always have unrestricted control but none of the others can access it.
Also, when a program attemps to write to a restricted key I want it to think the write was successfull so I won't recieve any errors.
Please help do this.
Thank You
elkinm
What I did was add a restriction to a key and denied all write and change permisions to all adminstrators and I use a logon from the administrators group.
This did not work as the registry key appears to be completely unecsessable as the keys do not seem to work in the program. Worst of all, if I try to change the permisions now, I get an access denied error when I try to change permisions of add new ones.
I can use the adminstrator to unlock it again but what I want to do is to lock some entire key from modification by any running program but I still want to be able to change it manualy through regedit so if needed I want to also create a list of programs like regedit that always have unrestricted control but none of the others can access it.
Also, when a program attemps to write to a restricted key I want it to think the write was successfull so I won't recieve any errors.
Please help do this.
Thank You
elkinm