Sometime we need to prohibit user from uninstalling or modifying some program using Add and remove programs. In some other cases this option is disabled, and we can find only disabled (grey) buttons in Add and remove programs (ARP).
How to disable or enable buttons in Add and remove programs:
- Open Regedit as admin
- navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\, or for 32 bit APP on 64 bit Win, to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall
- Find desired program and click on this key
- Find dword 32:
- for Uninstall option NoRemove
- for Modify option NoModify
- for Repair option NoRepair
- If dword is missing, create it
- Change value between 0 and 1
- save and close regedit