Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   Dev Hardware ForumsSOFTWAREProgramming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old January 16th, 2008, 10:34 AM
natkay2603 natkay2603 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 7 natkay2603 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 19 sec
Reputation Power: 0
Batch file to uninstall firefox

Hi,
I am new to programming and my skills are quite basic, so forgive me if this appears easy.

I work in a school where we have had a problem with kids installin firefox (which is not authorised to be used in school). We have now stopped them from installing the program.
I want to write a batch file that looks for firefox installation (if present) and deletes it. I want this to run each time the PC is booted.

Can someone help?

Reply With Quote
  Trader Rating: 0 · #2  
Old January 16th, 2008, 02:13 PM
ssjaken's Avatar
ssjaken ssjaken is offline
f0rum l33t wh0r3
Dev Hardware Beginner (1000 - 1499 posts)
 
Join Date: Mar 2005
Location: Alaska USA
Posts: 1,485 ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 5117 Folding Title: Novice Folder
Time spent in forums: 1 Week 3 Days 5 h 5 m 53 sec
Reputation Power: 667
Send a message via AIM to ssjaken Send a message via MSN to ssjaken Send a message via Google Talk to ssjaken Send a message via Skype to ssjaken Send a message via XFire to ssjaken
now, the installation...you mean the "installer file" or the actual program directory
__________________

"My Conspiracy Senses Are Tingling!"
"According To Mphill, Im Gay..."
"Ixor DONTxor THINKxor THATxor SAYINGxor XORxor ISxor
ANOYYINGxor!"

Reply With Quote
  Trader Rating: 0 · #3  
Old January 16th, 2008, 02:34 PM
DrStrangluv's Avatar
DrStrangluv DrStrangluv is offline
Contributing User
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 206 DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 5 Days 23 h 2 m 21 sec
Reputation Power: 320
I'd guess neither. He want to actually kick off the uninstaller for firefox.

My vote is to just add firefox to the approved software list. It's a perfectly valid program. Kids aren't using it because they think it will help them get around any security you've put in place, but because it's their preferred browser elsewhere and it's just more familiar to them than IE. And if you're still using IE6 it's a ton more secure.

Reply With Quote
  Trader Rating: 0 · #4  
Old January 16th, 2008, 02:35 PM
ssjaken's Avatar
ssjaken ssjaken is offline
f0rum l33t wh0r3
Dev Hardware Beginner (1000 - 1499 posts)
 
Join Date: Mar 2005
Location: Alaska USA
Posts: 1,485 ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)ssjaken User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 5117 Folding Title: Novice Folder
Time spent in forums: 1 Week 3 Days 5 h 5 m 53 sec
Reputation Power: 667
Send a message via AIM to ssjaken Send a message via MSN to ssjaken Send a message via Google Talk to ssjaken Send a message via Skype to ssjaken Send a message via XFire to ssjaken
Quote:
Originally Posted by DrStrangluv
I'd guess neither. He want to actually kick off the uninstaller for firefox.

My vote is to just add firefox to the approved software list.


AGREED!!!!!

Reply With Quote
  Trader Rating: 0 · #5  
Old January 16th, 2008, 02:54 PM
Sand Man's Avatar
Sand Man Sand Man is offline
¯\(º_o)/¯
Click here for more information.
 
Join Date: Jun 2005
Location: in a daydream
Posts: 3,555 Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)  Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Month 8 h 1 m 25 sec
Reputation Power: 5810
Send a message via MSN to Sand Man Send a message via Google Talk to Sand Man
you should install ocs inventory, scan your network, and see what else is installed you don't know about. i used this at a school a while ago and it will let you know a lot about your IT environment.
__________________
How much net work could a network work, if a network could net work?


Reply With Quote
  Trader Rating: 0 · #6  
Old January 16th, 2008, 03:25 PM
natkay2603 natkay2603 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 7 natkay2603 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 19 sec
Reputation Power: 0
Thanks for the replies. I agree that firefox is probably better than IE. But my network admin doesn't want them to use it. Not too sure i guess just kick to uninstaller off. Do you think this would be the best move? The uninstall is called helper.exe. I just want to ensure if they do some how find a way to get it installed again that it wont stay on for long.

Reply With Quote
  Trader Rating: 0 · #7  
Old January 16th, 2008, 03:31 PM
Sand Man's Avatar
Sand Man Sand Man is offline
¯\(º_o)/¯
Click here for more information.
 
Join Date: Jun 2005
Location: in a daydream
Posts: 3,555 Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)  Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Month 8 h 1 m 25 sec
Reputation Power: 5810
Send a message via MSN to Sand Man Send a message via Google Talk to Sand Man
there's always portable firefox. i guess you're screwed either way.

Reply With Quote
  Trader Rating: 0 · #8  
Old January 16th, 2008, 03:34 PM
natkay2603 natkay2603 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 7 natkay2603 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 19 sec
Reputation Power: 0
My network admin has disabled the USB ports and all external drives.

Reply With Quote
  Trader Rating: 0 · #9  
Old January 16th, 2008, 03:35 PM
Sand Man's Avatar
Sand Man Sand Man is offline
¯\(º_o)/¯
Click here for more information.
 
Join Date: Jun 2005
Location: in a daydream
Posts: 3,555 Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)  Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Month 8 h 1 m 25 sec
Reputation Power: 5810
Send a message via MSN to Sand Man Send a message via Google Talk to Sand Man
you can still download it and run it from the desktop.
Comments on this post
tjb agrees: They Can also run it from a disk

Reply With Quote
  Trader Rating: 0 · #10  
Old January 16th, 2008, 03:41 PM
natkay2603 natkay2603 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 7 natkay2603 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 19 sec
Reputation Power: 0
Maybe, the are unable to download .exe's. I'm sure if they are clever enough they will find a way, but i doubt that many of the kids have the brain power.

Reply With Quote
  Trader Rating: 0 · #11  
Old January 16th, 2008, 03:43 PM
Sand Man's Avatar
Sand Man Sand Man is offline
¯\(º_o)/¯
Click here for more information.
 
Join Date: Jun 2005
Location: in a daydream
Posts: 3,555 Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)  Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1Folding Points: 211644 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Month 8 h 1 m 25 sec
Reputation Power: 5810
Send a message via MSN to Sand Man Send a message via Google Talk to Sand Man
i think the easiest way would be for you to download the software i mentioned above, look for the computers that have firefox, then just uninstall it remotely using remote desktop. that's probably what i would do to be honest.

Reply With Quote
  Trader Rating: 0 · #12  
Old January 16th, 2008, 03:47 PM
natkay2603 natkay2603 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 7 natkay2603 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 19 sec
Reputation Power: 0
I have been doing this, but it can be time comsuming. I thought that a batch file would be an easier option in the long run.

Reply With Quote
  Trader Rating: 0 · #13  
Old January 16th, 2008, 03:53 PM
Sand Man's Avatar
Sand Man Sand Man is offline
¯\(º_o)/¯
Click here for more information.
 
Join Date: Jun 2005
Location: in a daydream
Posts: 3,555 Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)Sand Man User rank is General 73rd Grade (Above 100000 Reputation Level)