Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ C VBScript
hai
 
i search in net how to block any exe running in xp(specially firefox.exe )
how to do that one?
Posted 5-Dec-11 4:19am
Comments
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
good
Please Sign up or sign in to vote.

Solution 3

You need to add this key to the registry:
 
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun
 

 
As a REG_SZ
Value is the name you call it, say FireFox
Data: firefox.exe or what ever the executable is named.
  Permalink  
Comments
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 http://www.bing.com/search?q=DisallowRun
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
good
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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You could password protect exe files by using a program:
http://www.makeuseof.com/tag/how-to-password-protect-any-windows-program/[^]
 
or by replacing the exe of firefox with an empty exe file
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 6,569
1 Sergey Alexandrovich Kryukov 6,168
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 5 Dec 2011
Copyright © CodeProject, 1999-2014
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