Skip navigation

JSI Tip 0415 - Double-clicking problem with RestrictRun.

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_ROOT\xxxfile\shell\open\command 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 Files\JSI\Binary Files\JSITTARH.EXE %1" or change it to use the 8.3 exquivalent (type dir /x).

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.