Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Firefox - Start Firefox in "Safe Mode"

Firefox - Start Firefox in "Safe Mode"

How to Start Firefox in Safe Mode
Published by lehnerus2000
25 Jan 2012
Published by

How to Start Firefox in Safe Mode

Description:
Firefox has a "Safe Mode" function, similar to Windows "Safe Mode".
It allows you to temporarily (or "permanently") disable add-ons, toolbars, etc.
This can be handy if you are troubleshooting problems (e.g. faulty add-ons).

Actions that you can perform in "Safe Mode":
  • Disable all add-ons
  • Reset toolbars and controls
  • Delete all bookmarks except for backups
  • Reset all user preferences to Firefox defaults
  • Restore default search engines
How to start Firefox in "Safe Mode"

Step 1a - Quick Method
Hold the "Shift" key and click on the Firefox icon in the "Start Menu" (or on the pinned "Taskbar" icon).
This only works for single click items (it doesn't work with double click icons).
Go to step 4 below.
Step 1b - The Long Method
This works without the Firefox icon.
Open the "Start Menu" and type "run" in the "Search" box.
(You can also use "Windows Logo key + R" and go to step 3).
Step 2
Click on "Run" in the results.
Firefox - Start Firefox in "Safe Mode"-ff-sm-01a-run-.png
Step 3
Type "firefox -safe-mode" (without the quotes; remember the space)..
Click on the "OK" button.
Name:  FF SM 02 (Run).png
Views: 11852
Size:  19.9 KB
Step 4
If you have enabled "Firefox - Choose User Profile", this window will open (if not, go to step 5).
Select the profile that you wish to run in "Safe Mode".
Click on the "Start Firefox" button.
Name:  FF SM 03a (Profile Manager).png
Views: 11616
Size:  35.9 KB
Step 5a - Temporarily disable Firefox features
The "Firefox Safe Mode" window will open.
Click on the "Continue in Safe Mode" button.
Name:  FF SM 04a (Safe Mode).png
Views: 11570
Size:  38.1 KB
Step 5b - "Permanently" disable Firefox features
The "Firefox Safe Mode" window will open.
Select the items that you want to "permanently" disable (or reset).
Click on the "Make Changes and Restart" button.
Name:  FF SM 05a (Safe Mode).png
Views: 11562
Size:  36.5 KB
Note:
"Permanently" disabled add-ons will still appear on the "Add-ons" tab and can be reactivated.
Deleted and reset items have to be restored manually (reconfigured, recovered from backups or reinstalled).

See this link for more information:
Safe Mode | How to | Firefox Help


Create a Firefox "Safe Mode" shortcut.
Before Firefox 8, Firefox used to create a "Safe Mode" shortcut when it was installed.
You can create your own "Safe Mode" shortcut.

Step 1
Duplicate your Firefox shortcut and rename it (e.g. Firefox (Safe Mode)).
Step 2
Replace the "firefox.exe" in the "Target:" box, with "firefox.exe -safe-mode" (without the quotes; remember the space).

In this gif I have created a "Safe Mode" shortcut.

Firefox - Start Firefox in "Safe Mode"-ff-safe-mode-shortcut.gif
26 Jan 2012   #1
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 8.1 Pro
 
 

Very nice tutorial

My System SpecsSystem Spec
26 Jan 2012   #2
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (64 bit)
 
 
Thanks Bongo

Quote   Quote: Originally Posted by Bongo View Post
Very nice tutorial
Thanks.

I hope people find it useful and easy to follow.
My System SpecsSystem Spec
13 Oct 2012   #3
nickname2606

windows 7
 
 

Hello, i usually close firefox by End Process from Task Manager, then next time, when i open firefox, it always start use Safe mode. How can i force Firefox start normally?
My System SpecsSystem Spec
.


20 Oct 2012   #4
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (64 bit)
 
 
Weird

Sorry about the delay.
Even though I am subscribed to this thread, I don't remember receiving a notification about your message.


I assume that for some reason, you can't close Firefox by:
  • Clicking the "Close" button?
  • Choosing "Exit" from the menu (orange Firefox button)?

If you kill Firefox using the Task Manager (or Process Explorer), the Session Manager file (sessionstore.js) will have an entry saying FF is still running.

Quote:
sessionstore.js
...
{"state":"running","lastUpdate":1350784513943,"startTime":1346516225279,"recentCrashes":0},"scratchpads":[]}
The next time you start Firefox, it will assume that it crashed and it may offer to restore your previous session.


I sometimes have to kill Firefox (using Process Explorer).
This is usually because Adobe Flash player tries to start running during the shutdown sequence, which causes Firefox to lock up.

I haven't experienced the behaviour you describe.

Have you tried reinstalling Firefox?

If that doesn't work, you may need to backup certain files and totally uninstall and reinstall Firefox.
I can provide a list of those files, if you need them.
My System SpecsSystem Spec
22 Oct 2012   #5
nickname2606

windows 7
 
 

Thank you lehnerus2000

I have to use a batch file to kill firefox in a autorun program. I used Taskkill to kill it.

I tried to re-install a fresh firefox that doesn't have any add on or plugin, but still the same problem, and problem happenned on Windows XP only, if running on windows 7, it doesn't have any problem



Edit: i've just test some more times on windows 7, still the same
My System SpecsSystem Spec
22 Oct 2012   #6
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (64 bit)
 
 
I'm confused

Quote   Quote: Originally Posted by nickname2606 View Post
Thank you lehnerus2000

I have to use a batch file to kill firefox in a autorun program. I used Taskkill to kill it.

I tried to re-install a fresh firefox that doesn't have any add on or plugin, but still the same problem, and problem happenned on Windows XP only, if running on windows 7, it doesn't have any problem

Edit: i've just test some more times on windows 7, still the same
I don't understand why you are using a batch file to "crash close" Firefox?
Why not close it normally?

Does it malfunction, if you close it normally?

As long as you keep "crash closing" FF, the Session Manager will "think" FF has crashed, because it hasn't closed normally.

You may be able to disable the Session Manager by changing the "When Firefox starts:" option to "Show my home page" or "Show a blank page".
( Firefox button > Options > Options > General )

I use a VB script to start FF and when I close FF (using the "Close" button) the script runs CCleaner for me.
My System SpecsSystem Spec
18 Dec 2012   #7
EnglishConsult

Windows 7 Ultimate 64-bit SP1
 
 
I agree with Bongo.

Your steps are indeed useful and clear, lehnerus2000. Thanks for posting this tip.
My System SpecsSystem Spec
18 Dec 2012   #8
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (64 bit)
 
 
Thanks EnglishConsult

Quote   Quote: Originally Posted by EnglishConsult View Post
Your steps are indeed useful and clear, lehnerus2000. Thanks for posting this tip.
Thanks EnglishConsult.
My System SpecsSystem Spec
Comment

 Firefox - Start Firefox in "Safe Mode"




Tutorial Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:13 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33