Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running Windows XP SP3 Pro and I've set up a GPO that prevents the execution of a file. It works fine, but when I try to execute that file I get a warning dialog:

This operation has been cancelled due to restrictions in effect on this computer.

I tried to do the same by creating a security policy, however that also produces a warning dialog.

My question: Is it possible to prevent file execution without such visual feedback (I don't mind entries in the event log)?

share|improve this question
1  
Is there any particular reason for this? Generally, I kind of like users to be told by the computer when something they're doing is against security policy - it might just put a little fear in them to prevent them from trying something like that again. –  Iszi May 17 '12 at 13:14
    
@Iszi A lot of programs will run without the user deliberately trying to run them. –  trlkly Oct 2 at 8:41
    
@trlkly Fair point. But on a managed system, you should have users see this also. It means either that something legitimate didn't make it into the whitelist, and so some functionality is probably broken that shouldn't be, or some unauthorized software has been installed and sysadmins need to be quickly notified. Event log review/alerting is great, but a user who's gotten a scary-looking notification is usually going to draw attention & action faster. You want that in the case of a possible security incident. –  Iszi Oct 2 at 14:28

1 Answer 1

Not the answer you are looking for : I believe that the restrictions message is hard-coded and I don't know of a way to disable it.

The only help I can think of is to use a utility that will get rid of this error-window as soon as it appears.

Here are some such free utilities (that I have never used) :

ClickOff
Window Clicker
NagBlast

If for some reason none of them is right for you, you can always roll your own by using a macro recording tool such as AutoHotkey.

share|improve this answer
    
I had a similar problem. ClickOff worked a charm! –  Keyslinger Sep 11 '12 at 12:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.