/build/static/layout/Breadcrumb_cap_w.png

Lock a Registry key

Is there any way to lock a registry value from being changed. In my script Im updating the value but when i launch the application it changes the value back to its original form.


2 Comments   [ + ] Show comments
  • Change permissions on the parent key, though you can't for the reg entry itself. Remove rights for users/administrators groups based on your needs. - dandirk 10 years ago
  • Ill see how that works, thanks. - Brockk7 10 years ago

Answers (1)

Posted by: rileyz 10 years ago
Red Belt
0

This might blow your mind a bit, took me a bit to get my head around it. Thats if you want to do it natively in MSI.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd408009(v=vs.85).aspx

Read this, it has a helper thingee as well.
http://csi-windows.com/blog/all/27-csi-news-general/230-tutorial-how-to-use-the-msilockpermissionsex-table-and-csigetsddlfromobject-helper-script

Cheers and good luck.

 

 

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ