Sunday, 29 July 2012

How to warn users when they try to change the .lnk association

 

1. Click Start, type Regedit.exe and navigate to the following key:
HKEY_CLASSES_ROOT\lnkfile
2. In the right-pane, create a new String value named NoOpen
3. Double-click NoOpen and type a phrase there. This note will be displayed to the user when attempting to change the .lnk associations.
(If you don’t assign any data for the NoOpen value, the system default warning will be shown.)
4. Exit the Registry Editor.
REGISTRY FIX
To automate the above setting, download lnk-noopen.zip. Unzip and extract the contents to a folder and run the file lnk-noopen.reg. To reverse the setting, run the undo.reg file.

No comments:

Post a Comment