JSI Tip 0415 - Double-clicking problem with RestrictRun.

Jerold Schulman

February 6, 1998

1 Min Read
ITPro Today logo

In tip 362, we learned how to setup the RestrictRun entries in the registry.

If you are receiving:

     Restrictions: This operation has been cancelled due to restrictions in
     effect on this computer. Please contact your system administrator.

when you double-click on an associated document, it is probably due to the fact that the parsing algorithm in this shell restriction does not properly deal with paths that have spaces.

To fix the problem for a given extension, edit:

HKEY_CLASSES_ROOTxxxfileshellopencommand where xxxfile is the string associated with the extension. You can determine this at a command prompt by typing:

assoc .EXT where .EXT is the extension. It will return a string which you substitute for xxxfile. Double-click the command and put quotes around the entire string:

"C:Program FilesJSIBinary FilesJSITTARH.EXE %1" or change it to use the 8.3 exquivalent (type dir /x).

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like