Click here to Skip to main content
11,790,816 members (58,908 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ C VBScript

i search in net how to block any exe running in xp(specially firefox.exe )
how to do that one?
Posted 5-Dec-11 3:19am
Albert Holguin at 5-Dec-11 9:22am
Are you trying to block internet access or just firefox? (also, I take it this is for IT administration and not something bad?)
aimdharma at 5-Dec-11 9:23am
want to block the firefox.exe .
if anyone click the exe means it should not launch the application
Albert Holguin at 5-Dec-11 9:54am
Once it's installed, I don't think there's an easy way to do this... unless you have a service running that periodically looks at the executables running and kills firefox if it finds it.
Richard MacCutchan at 5-Dec-11 9:32am
Don't install it on the PC.
aimdharma at 5-Dec-11 9:34am
what a great answer..
Richard MacCutchan at 5-Dec-11 9:37am
Pity it wasn't a great question!
Chuck O'Toole at 5-Dec-11 13:25pm
Why not just delete the sucker
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

You need to add this key to the registry:


Value is the name you call it, say FireFox
Data: firefox.exe or what ever the executable is named.
Albert Holguin at 5-Dec-11 10:26am
Never tried this before... what does it block though? ...since it's an explorer related key, does it mean the application will still run from the command prompt?
Chuck O'Toole at 5-Dec-11 22:03pm
that's "explorer", not "iexplorer". But it is part of a larger group policy setting. See the "technet" entry in this search
Paul Watt at 6-Dec-11 0:38am
Thanks for pointing that out.

I only discovered this key when I was trying to kill a virus I had picked up on my machine. It had enabled this policy, then prevented all of the popular Virus Scanners from starting.

As far as the cmd prompt, I wonder if you could block that from starting as well in the group policy?
Chuck O'Toole at 6-Dec-11 13:59pm
MS Policies wouldn't be much good if there was an easy way around them, like CMD prompt. Of course, you could always disallow cmd.exe too.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Set permissions on the EXE as admin only, and don't make anyone else admin on the box.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You could password protect exe files by using a program:[^]

or by replacing the exe of firefox with an empty exe file

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 385
1 ppolymorphe 339
2 Richard MacCutchan 118
3 Maciej Los 70
4 George Swan 70
0 OriginalGriff 1,154
1 Maciej Los 825
2 KrunalRohit 686
3 ppolymorphe 660
4 CPallini 621

Advertise | Privacy | Mobile
Web03 | 2.8.1509028.1 | Last Updated 5 Dec 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100