Showing posts with label Internet Explorer. Show all posts
Showing posts with label Internet Explorer. Show all posts

Monday, May 30, 2016

Sysadmin Tools and Tips Linkfest: Part II

Mores…

Windows Updating and Patching – Tips and Tricks

Windows Troubleshooting and Tips

Windows Tools

Windows PowerShell

Microsoft News Bits

Cheers,

Claus Valca

Saturday, November 28, 2015

Web Browser Linkpost: Turkey Day Edition

Clearly I’m finding a little bit of time in the post Thanksgiving Day period to catch up on some blogging.

Here are some new browser bits I’ve tucked away over the past several weeks.

Tracking & Security

Vivaldi

Firefox and Mozilla Developments

FavIcon Reloader - Add-ons for Firefox - having two primary systems, and two Mozilla based browsers (Firefox and Pale Moon) means that my considerable bookmark library often gets out of sync. I don’t use an on-line sync solution but rather back-up/restore the file between apps/systems. That’s great but I loos my favicons if the difference. FavIcon Reloader works great to get the icons back. I tend to use them as visual clues a lot more than I realized.

ConfigFox - utility update to version 1.4.3

More…

Firefox finally comes to iOS - Ars Technica - meh..

Pale Moon

List of Pale Moon specific about:config preferences - gHacks Tech News

Cheers,

Claus Valca

Windows Updating Fixes - Maybe

I have two Windows 7 Pro x64 systems up at the church-house that refuse to comply and install IE 11.

I keep reviewing the install log at C:\Windows\IE11_main.log for failure analysis and all the requirements seem to be present, but it still fails; both via Windows Updates or a manual (re) installation of all the pre-requisites and the main IE 11 install file.

(When I find where I put those log file captures I’ll update the post with more detail.)

Update: Found my log file capture! Install error 09C57

This is from just one of the two machines I’m having the same issue with. I need to pull the second system’s IE install log and compare to see if they match. I suspect they will.

It doesn’t matter if I run either the manual IE 11 installer package or the Windows Update obtained package…results end the same.

I’m cleaning up the log file and picking only some of the key lines from it for brevity.

  • Command line: "C:\Users\profile\Downloads\IE11-Windows6.1-x64-en-us.exe"
  • iexplore.exe version check success. Install can proceed.
  • Updated Download list, Hardware Blocking list, and no reboot policy files successfully downloaded and extracted for use.
  • Launched program to check hardware: "C:\Windows\TEMP\IE1924.tmp\IE11-SUPPORT\IEXPLORE.EXE" /CheckHardware "C:\Windows\TEMP\IE1924.tmp\IE11-support\HardwareBlockingList.xml"
  • Graphics Device Information: NVIDIA Quadro NVS 295
  • Hardware support check succeeded. Installation will continue.
    <cv note: all 9 of the packages download fine>
  • Prerequisite download processes have completed. Starting Installation of 9 prerequisites.
  • Launched package installation: C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE1924.tmp\KB2834140\Windows6.1-KB2834140-v2-x64.cab /quiet /norestart
  • Process 'C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE1924.tmp\KB2834140\Windows6.1-KB2834140-v2-x64.cab /quiet /norestart' exited with exit code 0x800F081E (-2146498530)
  • Error installing prerequisite file (C:\Windows\TEMP\IE1924.tmp\KB2834140_amd64.MSU): 0x800f081e (2148468766)
  • PauseOrResumeAUThread: Successfully resumed Automatic Updates.
  • Setup exit code: 0x00009C57 (40023) - Prerequisites failed to install.

I had tried to manually install each of the prerequisite files and don’t remember having any issues though I seem to recall when getting to KB2834140 it said it wasn’t required/needed on the system and exited.

The key clue is “exit code 0x800F081E (-2146498530)” which I understand means "The specified package is not applicable to this image".

Maybe I’ve got the system looking at and pulling a corrupted WSUS update?

Anyway…I’ll be coming back to this with a fresh post soon. Chasing down possibilities from these error codes quickly becomes an Alice in Wonderland adventure.

Likewise, at work found that some of our Surface Pro 3 tablets just don’t want to pull updates down from the WSUS.

Normally when a system is “stuck” getting updated WSUS patch delivery we might escalate getting it going (after confirming it is correctly pointing in the Registry) by first doing a “gpupdate /force”. I know.

If that doesn’t work we next try the following.

  1. wuauclt /resetauthorization /detectnow
  2. (wait 5-10 minutes)
  3. wuauclt /reportnow

If failing that, this routine comes.

  1. Stop the Automatic Updates service
  2. Rename the software distribution folder (i.e. C:\Windows\SoftwareDistribution).
  3. Restart the Automatic Update service
  4. wuauclt /resetauthorization /detectnow
  5. (wait 5-10 minutes)
  6. wuauclt /reportnow

Only that still didn’t work on the Surface Pro 3’s.

I really hoped not to reimage the systems as a “troubleshootin” solution as that is a lot of work and user impact so…I managed to get them working thusly.

I had checked the C:\Windows\WindowsUpdate.log and found a particular error that came up after each “manual” update refresh attempt.

That led me to this solution.

Since it was a Windows 8.1 system I ran the following command.

DISM.exe /Online /Cleanup-image /Restorehealth

It found an error with an AMD-related update package component (go figure) and repaired it.

After it completed, I did a system reboot and the updates have flowed faithfully since.

If you have a Windows 7 system, then you can use this System Update Readiness tool.

More Information and additional tools and tips:

None of those have helped with my IE 11 installation issue but with IE 8 (that it is stuck on since IE 9-10 also won’t go on) retiring soon, I’m determined to get it fixed once and for all.

Cheers!

Claus Valca

Saturday, October 31, 2015

Web Browser Linkpost; Mostly Vivaldi and Firefox

Tracking

Vivaldi updates march on

Still loving Vivaldi and the feature set they are bringing to the table.

Still not a “daily driver” for web browsing but getting closer and closer. I’ve not listed all the snapshot posts but here are some highlights that might be interesting.

Considering the large volume of bookmarks I deal with, the bookmark bug-fix improvements have been very well received in particular; sorting, ordering, editing.

Firefox and Mozilla Developments

Google Chrome/Chromium

Pale Moon Rising

Pale Moon - Release Notes

25.7.3 (2015-10-14)
This is a usability update needed due to the fact that Mozilla has shut down their key exchange (J-PAKE) server along with the old Sync servers. This was unexpected and required us to set up our own key server (testing indicates this works as-expected, but please do report any issues on the forum) - which also required reconfiguration of the browser.
Please note that older versions of the browser will no longer be able to link devices to a sync account using the 12-character code since it requires a Mozilla server no longer present. If you need this functionality, you must update to this version or later.

Edge(ed) Out

Browse on, my friends.

--Claus Valca

Tuesday, September 01, 2015

Windows 10 Linkpost: Unspecified Update Version

More GSD Windows 10 post linkage at the post bottom.

Nope. Still haven’t upgraded out Win 7 systems (x3) to Windows 10 here at home.

Still waiting to be sure the Dell systems have a chance to use as many “custom” Dell drivers for Win 10 feature support as possible.

As of the time of this blog post..

  • My Dell Studio 15 (1558) isn’t listed anywhere on the page.
  • Nor is my Dell XPS L702X laptop model.
  • Nor is Lavie’s Dell Inspiron 15 (3520).

Non In-Place Upgrade “Clean Install” of Windows 10 Tip

Ask most any Windows 10 sysadmin or enthusiast and they will say that the “best” way to install Windows is to do a “clean” install rather than an in-place upgrade.

The downside is that can require a lot of work; backing up user profiles/data. Reinstalling of applications and software. Re-tweaking of all the settings, configurations, and adjustments you have done over the years (if you even remember them all).

The positive is that you get rid of all the extra “stuff” you have accumulated while running your Windows system and start with a “fresh” system load to build on. Something like that parable about having a firm foundation before building.

Anyway, while feedback is quite positive on the Windows 7/8.1 in-place upgrade process to Windows 10, and there are already documented ways to do a “clean install” upgrade of Windows 10 for a qualifying system, this new “clean install” method is slick and looks really good for those who are interested.

Ready, Steady, Prepare!

When you are ready to do your Windows 10 upgrade you may want to first review this post:

Update to Windows 10 Headache Free With A Pre-Upgrade Checklist - HowTo Geek

Also, BetaNews has a post about a free offer for software to assist with data-transfer between a current system and a Windows 10 system (personal use restriction).

It looks like it is kinda like the Microsoft EasyTransfer or USMT but from a third-party application.

Windows 10 Updates

Microsoft can now update your Windows 10 system at will, use your system to seed other Win 10 system updating (inside and outside your own network/ownership), and may be vague about what those forced updates actually do. Granted you do have some limited control over those items, and enterprise builds of Win 10 have even more control, but still…

Windows 10 How-To and Tips

Like any new Windows system release, it takes a while to learn a new set of tricks and tweaks to get a measure of control back and set the system back up like you like it. Here are some more links to that end.

GSD Windows 10 Linkpost list

Listed chronologically from most recent posting downward.

--Cheers.

Claus Valca

This week in browser bits: roll-backs, upgrades, and changes

Ever since Mozilla released an upgrade of Firefox to version 40.x I seem to been seeing frequent and persistent crashing of my Firefox browser.

As of the time of this post, I am running version 40.0.3.

The issue seems to occur most when I grab an open tab handle and drag/drop the tab into my bookmark side-bar to “save” a bookmark of that page.

It got so bad that I began to look at rolling back (downgrading) my Firefox version to an older version, say the last 39 release version, to see if that would help.

Making a bookmark the “long way” by clicking the “star” icon or using the Ctrl+D key-combo worked fine but was a lot of work due to my deep folder structure in the bookmarks.

Fortunately, I found that by grabbing the small icon on the far left of the address bar, I could drag and drop that to also create a bookmark at will without the crash I get from using the same technique but with the page-tab item.

I’ve not yet filed a bug report, but will shortly.

Firefox Version Roll-Back

The process to roll back to an older version of Firefox is fairly simple, as long as you know where to get the bits. In my case it is a touch more complicated as I use Mozilla Firefox, Portable Edition via Portable Apps. For installed versions of Firefox, head over to Index of /pub/mozilla.org/firefox/releases and download the version you want and reinstall. Sure, you should first back up your profile, etc. before doing it, just in case. For portable apps versions, head over to Mozilla Firefox, Portable Ed. at SourceForge.net project page, and find the earlier version, download, and over-install.

Here are some more guides on the process to roll-back Firefox:

My recent and growing frustrations with Mozilla/Firefox have led me to invest even more heavily that normal (and that’s saying something) in spending considerable more time using and testing alternative web-browsers; specifically Vivaldi (based on Chromium) and Pale Moon (based on Mozilla).

Add-On Support for Pale Moon and Firefox

Pale Moon (portable) has been very stable and runs very well on my systems in the testing work I’ve been doing more and more.

I don’t have a lot of Firefox Extensions/Add-ons and found that almost all of them were compatible in Pale Moon. Listed below are my current Firefox Add-ons and I’ve noted the ones that ARE NOT Pale Moon compatible -- at least directly installable via the Mozilla Add-ons store.

- about:addons-memory 10.1-signed  (not offered for Pale Moon / Firefox 24.9)
    https://github.com/nmaier/about-addons-memory
   
- Adblock Plus 2.6.10 (didn’t bother to try as I like/prefer uBlock Origin)
    http://adblockplus.org/en/
   
- CoLT 2.6.5
    http://www.borngeek.com/firefox/colt/
   
- Copy as HTML Link 3.2.1-signed
    http://justinsomnia.org/2006/05/copy-as-html-link-for-firefox/
   
- Download Status Bar 12.3.0.1-signed
    https://addons.mozilla.org/en-US/firefox/addon/download-status-bar/?src=api

- Extension List Dumper 2 1.0
    https://addons.mozilla.org/en-US/firefox/addon/extension-list-dumper-2/?src=api
   
- FiddlerHook 2.5.1.8 (installed on system by Fiddler, but doesn’t seem to pick up in Pale Moon / Firefox 24.9)
    https://fiddler2.com/r/?FIDDLERHOOKHELP
   
- Firebug 2.0.11 (not offered for Pale Moon / Firefox 24.9)
    http://www.getfirebug.com/
   
- Greasemonkey 3.3  (I didn’t bother to try to install yet in Pale Moon)
    http://www.greasespot.net/

- HttpFox 0.8.14.1-signed
    http://code.google.com/p/httpfox/

- Linky 3.0.0.1-signed
    http://gemal.dk/mozilla/linky.html

- NoScript 2.6.9.37rc1
    https://noscript.net

- Search By Image (by Google) 1.1.2.1-signed
    http://www.google.com

- Tab Memory Usage 0.1.8 (Disabled)
    http://mybrowseraddon.com/tab-memory.html

- TinEye Reverse Image Search 1.2.1
    https://tineye.com/

- uBlock Origin 1.1.0.0
    https://github.com/gorhill/uBlock

Pale Moon project provides a list of known incompatible Add-ons you may wish to consult.

The FiddlerHook item is not a real deal-breaker as I have lots of network sniffers/tracers to use, and isn’t “required” as you can just run Fiddler, then manually/temporarily set Pale Moon to use the system proxy.

Having said that, this extension isn't really needed in modern versions of Firefox. Instead, simply set Tools > Options > Advanced > Network > Proxy Connection to "Use System Proxy."

Likewise Firebug is a very powerful tool to inspect web page elements and code. However the “F12” web developer tools natively provided in Pale Moon are a sufficient alternative.

More Firefox Gripes News and the “Contextual Identity” Project

That last one really has me conflicted.

For full details see this Security/Contextual Identity Project/Containers - MozillaWiki feature draft page that Martin Brinkmann alluded to in his article.

Also, take a look at the Security/Contextual Identity Project mainpage for full context.

As a browser user, I can see the draw and benefit of having a feature allowing for concurrent “persona” sandboxing while browsing at work; that way I can browse all the cat sites I want at work under one “persona” while concurrently monitoring all my embedded network appliance and nodal dashboards in the same browser under my other “persona”, while doing all my personal secure on-line banking transactions in a third “persona”.  See how handy that will be? I can separate all those browsing activities while doing them at the same time in my browser -- at work -- and never will they need to inter-mingle.

Oh. Wait.  Why am I doing personal web-browsing at work on my work-provided systems?

Snap.

I guess it comes down to the workplace internet usage policy, but I just don’t see it a good idea to mix personal web browsing on work-provided equipment and networks; even if permissively allowed by the employer policy. That activity is fraught with security and privacy issues.

But then again, I’m an old security curmudgeon.

Like I say, read the feature draft page for full details. I’m confident many “modern” browser users will totes love this feature if it gets folded in. I get it and it does look like it will be slickly delivered. However as a sysadmin I think that while the feature looks good it may provide a false-sense of security and provides less benefit from a network administrator/security perspective for the organization’s benefit.

Oh well, I probably don’t have to worry because as we all know, only Internet Explorer is approved for use in the workplaces right?

Vivaldi Developments and Tab Tiling!

The Vivaldi team remains focused on regular snapshot updates to their project. It’s still at “technical preview” release level so not yet ready for prime-time use. But the fixes and features keep coming strong.

Snapshot 1.0.258.3 was pretty cool for me as it brought in tab-tiling.

Basically, you select more than one tab that is opened, hit a little tab-tiling option icon in the bottom right corner and select the layout, then the browser opens (tiles) them in a single window for concurrent viewing of all the tab pages side-by side!

In the example below, I’ve got the Phil Are Go!, Google Art Project. and Vivaldi Team Blog tabs all opened (tiled) in a single page window in Vivaldi. Cool!

_2015-09-01_10-15-03

For data-hungry sysadmins monitoring multiple web-pages on a super-screen sized monitor this could be handy.

And no, it’s not the same think as the “contextual identities” feature as Mozilla is discussing, thank you very much.

IE 11/ Edge browser

Just had to toss this one out there to make up for my cheeky comment about IE browser in the workplace.

--Cheers!

Claus Valca

Friday, July 31, 2015

Windows 10 Linkpost: Pulp Fiction Edition

04uq2cu0.ifl
“010 Ten Detective Aces May-Jun-1933” CC by 2.0 attribution: by Will Hart on flickr.

OK. Here we go. Windows 10 has been released to the masses, world-wide.

Pandemonium is ripping across continents, hoards are massing on borders, panic is in the streets and geekdom has gone underground in an attempt to hide from in inundation of phone calls from family, in-laws, out-laws, and friends seeking comfort, guidance, and recovery from this Windows 10 invasion appearing on their Windows 7 & 8.1 systems.

Seriously…the Windows 10 rollout is going on. Some folks who elected to use the “Get Windows 10” notifier in their system tray are queuing for their installation/upgrade.

Others are still debating if the decision to upgrade now is wise (a wise choice IMHO).

So fresh out of the gate, here is a new collection of Windows 10 Release links and considerations everyone would be well-advised to review and consider before punching that  upgrade button.

I highly encourage any visitors to this humble blog to first take some time reading this previous post to get up to speed.

Now, on to the linkage!

A PSA For Dell Hardware Users!

I’m putting this on the top of the list. Just because Microsoft has tossed a “you can upgrade to Windows 10 if you want” icon on your computer doesn’t mean that your hardware can successfully upgrade to Windows 10.

By that I use Dell as an example.

See, turns out that WIndows 10 may not be able to provide correct/functional “generic” device drivers for all hardware…laptop mother-boards are particularly challenging with driver availability. Dell laptops in particular seem to be tripping out the Windows 10 installer.

I did some digging and found these Dell links of interest.

As of the time of this blog post..

  • My Dell Studio 15 (1558) isn’t listed anywhere on the page.
  • Nor is my Dell XPS L702X laptop model.
  • Nor is Lavie’s Dell Inspiron 15 (3520).

According to Dell, the non-listing of these laptops means “…if your computer model is not listed, the hardware has not been tested and drivers have not been updated for that model, and Dell does not recommended an upgrade to Windows 10. If you wish to proceed with an upgrade to Windows 10 on an untested system.”

I’m a pretty good Windows sysadmin, and to me, those words mean that I won’t be upgrading ANY of our systems to Windows 10 until it has been out for a while, and drivers are available for our platforms.

So…think long and hard grasshopper before you do the upgrade. It might work with no issues, maybe. But I’d advise to check your hardware manufacture’s support site and try to confirm if it is Win 10 tested before jumping off that cliff.

You’ve been warned!

Windows 10 Privacy Concerns

Next clue for your consideration should be a full review and understanding of Windows 10 privacy changes brought in by Microsoft. Maybe you aren’t concerned but you should at least be informed.

Windows 10: Privacy nightmare - tinyapps.org. Tiny apps summarized some of the top privacy concerns. Read the post my friends.

When installation completes, be sure to click the tiny "Customize" link on the "Get going fast" screen; you may (not) be surprised at how invasive Microsoft has become. Here's a taste from that post (these are all enabled by default):

  1. "Personalize your speech, typing, and inking input by sending contacts and calendar details, along with other associated input data to Microsoft."
  2. "Send typing and inking data to Microsoft to improve the recognition and suggestion platform."
  3. "Use pge prediction to improve reading, speed up browsing, and make your overall experience better in Windows browsers. Your browsing data will be sent to Microsoft."
  4. "Automatically connect to suggested open hotspots. Not all networks are secure."
  5. "Automatically connect to networks shared by your contacts."
  6. "Send error and diagnostic information to Microsoft." (The toggle switch to enable or disable was hidden below the screen; a near-invisible scroll bar was required to view it.)

More topics and details I encourage you to carefully review.

Windows 10 ISO downloads

Depending on your upgrade plans, you may or may not need a local “hard-copy” of the Windows 10 installation files available. That said, it’s good to have a copy handy on DVD or USB, just in case something bad happens.

Express or Custom Setup & Security Considerations: Choose wisely grasshopper!

…as for me and my family, we will choose “custom”…

Basically, Express goes ahead and tells Microsoft to allow all their recommended default settings and such…things you may not want if you read the privacy concern links above.

The custom is more of a headache to wade through but you are turning off options and protecting your privacy (to the degree you can) by doing so.

Belt and Zipper check: Is your Security solution Windows 10 Compatible?

You probably are running one or more security products on your Windows 7/8.1 system right now. They are working hard to keep you, your system, and your data safe from threats, hacks, and exploits.

Before you do your upgrade, stop for a moment and check to see if the software vendor has confirmed that their product is -- in fact -- Windows 10 compatible.  If it isn’t then you run risks of lowered protection, non-functional software, BSOD’s, etc.  If you don’t see your security products are Win 10 compatible, I again urge you to wait, or to consider the implications of switching to a Windows 10 compatible security product before you punch the upgrade button.

Also, AV-Comparatives recommends uninstalling any existing security program(s) before doing your upgrade then reinstalling the latest version after upgrade is done. Security apps can cause conflicts with software installations and doing a OS upgrade is one of the biggest software installs you can do!

Got a third-party whole-disk encryption solution installed? Tread carefully and consider a full disk decryption before upgrade, then re-encrypt after confirming Win 10 compatibility.

As far as my lineup goes…

Reason to Wait #15: Win 10 Service Release 1 coming (very) soon

So based on the new -- let’s get it out the door, and just cram updates/fixes down whenever we need to -- service model, it should be as no surprise to hear a new Service Release bundle may be right around the corner.

Another reason to wait in my book.

OK - Decision Time Upgrade now or Not?

You’ve probably figured out my position at this point (let’s wait a while as there is no rush). But here are some additional opinions from trusted sources.

So you really want it now do you? Mmmkay.

On your own head be it.

So what do I do?

Even if you have erred on the side of caution and are not upgrading now, it would be beneficial to acquaint yourself with the Windows 10 upgrade process so you won’t be surprised.

Clean versus Dirty Installs

Most non-technical consumers (or those who don’t have a geek in the family to buy off support with beer and pizza) will go ahead and opt to take the in-place upgrade.  Generally this will be fine and smooth and no real harm will come out of it.

However, many battle-hardened Windows sysadmins and geeks may tell you that the better option is to do a “clean” install. Basically that means backing up all your files/folders/data/settings then wiping out your system and installing a pristine version of Windows 10 on the system and then loading our files/folders/data/applications/settings. It is very labor intensive and carries its own risks. But the reward is a fresh and clean OS load and few carryovers of old drivers, problems, and configuration issues.

Here are some guides on a Clean install process with Windows 10.

Note, there are some potential “gotchas” particularly with the free Windows 10 license key. So read first carefully.

The TinyApps bloggist shared some great resources in his earlier Win 10 Privacy post. Read these carefully as they contain great advise.

First Things First (after you’ve done the Windows 10 thing)

So here are some recommended setting changes you should check out and consider making after you have done your Windows 10 installation. Most involve security and privacy settings. However some also involve bandwidth and network options and impacts.

Windows 10 Tweaking - Start with “Start”

Windows 10 Upgrade Troubleshooting

Sometimes, the best laid plans go to pot and things fall apart. Here are some resources.

Great! Everything is Awesome! (Umm, how do I use Windows 10?)

Got you covered, my friends…

Reviews, Feedback, and Pure Opinionated Factual Opinions

Still not sure about this whole Windows 10 thing? Think it is a clever trap by Microsoft to lock you into a new product, get to you be a minion on their road to eventually overtake the Apple AppStore? Done laughing yet?

Good luck,

--Claus Valca

This week in browser bits; runway memory edition

Submitted for your review, Firefox news,  Mozilla whining, Chrome tab “discarding”, and Claus deals with a runaway freight train -- no, scratch that -- runaway memory usage in Firefox.

To the rails!

Firefox News

The Firefox Extension Guru's Blog has been hard at work parsing details and analysis of coming changes in the Mozilla browser.

  • Truthful, but not very PC… - Firefox Extension Guru's Blog - Silverlight will be banished, Flash retained, and the 64 bit mainstream version release of Firefox x64 is delayed, and questions persist.
  • Win64 Firefox NOT Coming with Firefox 40 - Firefox Extension Guru's Blog - Maybe with Firefox 41?
  • A Look at Extension Signing In Firefox 40 - Firefox Extension Guru's Blog - The Guru goes to the mats for  us and loads his profile into Nightly 42, Developer’s Ed. 41, and Beta 40 of Firefox to take a look at the impact to users (and their Add-ons) with Extension Signing coming soon to a Firefox 40 release on your system.  Read his post for the full comparison. Summary: FF40 = warnings, FF 41 = blocks (but action can be user disabled), FF 42 = blocks (no disablement).
  • Disabling Add-on Compatibility Check - Firefox Extension Guru's Blog - Guide update notice and point to Disable Add-on Compatibility Checks Add-on for extended feature support. Note this Add-on appears to be very popular with Pale Moon users.

What Does the Fox Say?

(with a nod to Ylvis)

It’s probably not that long ago in most people’s minds to recall the great browser wars of the 90’s and the anti-trust settlement and also how the EU forced Microsoft to provide a default web-browser “ballot” to guide users to an alternative browser than Internet Explorer as the default.

Today although many users still turn to use IE on their Windows systems without question, there is general familiarity with alternative browsers such as Mozilla Firefox, Google Chrome, Opera, Apple Safari, and upstarts Vivaldi and Pale Moon-- to name a few. Their presence in the formerly IE dominated world has been hard fought; both in coding/development, in the courtroom, and in the marketplace.

So it was probably a frustrating day in many a browser boardroom when it came out that the Microsoft Windows 10 upgrade will automatically reset the default Windows web-browser setting to Microsoft Edge and over-write the user’s current default browser choice if it isn’t already IE. It will do this unless you are a pre-informed geek/user and choose to ignore the “express settings” option during setup and choose the “customize settings” option, and then carefully locate another button to make the option change to keep your settings. It isn’t a stretch to anticipate that most consumers eligible to get this Windows 10 upgrade will be more than happy to select the “no-pain/no-fear” “Express Settings” upgrade and toddler on with the process unawares (and get a whole lot of other potential security and privacy setting headaches along the way by default). More on that in a follow up post.

Anyways…

Mozilla for one isn’t taking that roll-back to Microsoft Edge browser by hiding out quietly in a foxhole. No, in a shout to equal the noise of Ylvis’s video they howled/barked pretty loudly.

Ooops. Did you click the “Express Settings” option? Fear not, here are some steps to get Firefox (or Chrome) set back to being your default browser.

Chromium Tab “discarding”

Memory management can be a real challenge for a “modern” web-browser. With the media-rich webpage content, and multi-process hosting in these browsers, keeping system memory usage in check and browser performance up is a developer’s constant nightmare.

My own browsing habits are such that I usually have no more than three or four browser “tabs” open at any given time. I generally file away pages to my bookmark manager to be saved for later review. The only time I regularly have more than 25 tabs open is when I am going through my RSS feeds in Omea Reader and launching them to open in the background in Firefox. Once done with the RSS feed culling, I then go to Firefox and sort them into a specific folder for topical blogging, or future reference.

Lavie on the other hand leaves fifty+ tabs open in multiple web browsers concurrently. Drives me crazy! But that’s how she works.

A new feature “tab discarding” has surfaced in Chromium builds. For those who have a lot of tabs left open, it will use an algorithm to trigger “discarding” open tabs when physical system memory is running low. My understanding that “discard” means something more like “suspend” rather that shut it down and toss it in the bin. If enabled and triggered, the tab stills shows on the tab-bar, but nothing is happening until you select the tab, when it then “revives” again.

I’ve enabled it in my Chromium build though I don’t expect to see much difference with my minimal tab usage. If it rocks my world I’ll let you know. Martin Brinkmann of gHacks has the “how-to” for enablement of the feature in his post below.

Per Brinkmann’s article, the Firefox BarTab extension has offered a similar feature to Firefox users for some time. The original BarTab by philiKON is not supported on Firefox 39 or higher. However a newer “fork” of it -- BarTab Heavy -- seems to be fine. See also this other fork BarTab Plus.

Claus Deals with Runaway Memory in Firefox

So this morning I happened to have my own struggles with Firefox memory usage so here are my notes.

I was tearing through my RSS feeds and opening articles of interest in the background within Firefox.

My tab bar was filled and more tabs were spilling over “hidden” off the left.

I eventually noticed a number of things…memory usage on my system was almost maxed out, though I just had a handful of applications open, and the laptop cooling fan had kicked on full-tilt.

I checked Process Explorer and quickly found the culprit for my RAM usage; Firefox!

osuyqzsh.qfq

Normally my system runs about 3.5 GB of RAM usage unless I have a VM open and running.

In this case my 8 GB of system RAM was almost maxed out and a large portion was being consumed by Firefox.

The RAM counters showing were continuing to climb mercilessly.

I started to try to save my tabs to the bookmark folders so I could close them out but after just a few, Firefox became locked up.

I killed the process and restarted Firefox. Luckilly my tab sessions were restored so I didn’t loose any of the open ones…but almost immediately, the RAM counters went climbing sky-high again to the 3 GB mark!  Did I have a rouge Add-on? Was one of the tabs hosting bad page code? What was going on?  I felt blind and Process Explorer wasn’t helping.

Step one: Make sure “Prefetching” was turned off.

How to stop Firefox from making automatic connections - Firefox Help - Lots of good advice here but this was the one I was interested in checking.

  1. In the Location bar, type about:config and press Enter.

    • The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise! to continue to the about:config page.
  2. In the about:config page, search for the preference network.prefetch-next.
  3. Observe the Value column of the network.prefetch-next row.
    • If it is set to false then do nothing.
    • If it is set to true, double-click on it to set it to false.

In my case, I had previously set it to “false” so that wasn’t a help.

Step two: Figure out what is consuming all the RAM within Firefox in the first place.

Firefox uses too much memory (RAM) - How to fix - Firefox Help

This page has tons of useful tips and tricks to try out; most are common sense like updating Firefox, disabling themes and add-ons, disabling auto-run of media on pages, using fewer tabs or adding more system RAM (really?).

However it was this tip - Memory troubleshooting tools - that had a great new find for me:

The about:memory page allows you to troubleshoot finely specific issues about memory (for instance, caused by a website, an extension, a theme) and sometimes its Minimize memory usage button may help you instantly reduce memory usage. For guidance on use of about:memory visit https://developer.mozilla.org/docs/Mo.../about:memory

Typing that in I get a page with some options to load memory reports, save them for later/diff’ing, free up memory, or save some garbage collection or concise cycle logs.

For first level stuff, hit the “Measure” button under the “Show memory reports” section and let it rip.

Here you can review all the different elements and how much RAM they are using.

fsbif4yj.uiv

Pretty helpful stuff.

Step three: check and enable trimming

Fix for Firefox memory leak on Windows - How-To Geek

  1. Type about:config in the address bar.
  2. Right click in the whitespace and choose New --> Boolean and enter.
  3. For the name provide “config.trim_on_minimize
  4. Set the value to “True”
  5. Shut down and restart Firefox.

Per MozillaZine Wiki this setting’s benefit is “dubious” but shouldn’t actually hurt anything if you are having issues.

Config.trim on minimize - MozillaZine Knowledge Base

Background

On Windows operating systems, when a program is minimized and left for a period of time, Windows will swap memory the program is using from RAM onto the hard disk in anticipation that other programs might need RAM. Because of the way Mozilla applications are stored in memory, Windows is much more aggressive in swapping out the memory they use, which can cause a delay when the program is restored. This preference determines whether to mark memory as preferably swappable, from a minimized Mozilla Windows application.

Recommended settings

Any positive effect of this setting is dubious, since any memory saving may be illusory.Bug 420267, comment 7

However, if you're experiencing problems with the application consuming too much RAM (Mem Usage in the Windows Task Manager), you can try setting this preference to true. If you're not experiencing any problems, it should be left at false to maintain application responsiveness.

Step four: Install an Add-on memory-monitoring tool

Knowing what in general is using RAM in Firefox (see step 2) is great, and disabling add-on one at at time to look for performance improvements is a great idea…though time-consuming if you have more than several. Luckilly, a solution was found in this gHacks post. Another Add-on!

Martin Brinkmann points out the Add-on about:addons-memory

It works great. Install the Add-on (no restart needed) and then type “about:addons-memory” in your address bar and it wills show you the memory usage of each add-on. How cool is that?  This can really speed up your troubleshooting.

Step five: Install a page-tab memory-monitor tool

Another add-on mentioned (that I haven’t tried yet) is Tab Data (+Memory usage) it offers to show memory use feedback on each open tab though reviews indicate some stability issues. See also Tab Memory Usage add-on.

Bonus Tip: About:About page

I’ve made a bookmark bar folder called [Abouts] that I then have placed various “about:” pages into it for faster access without having to type them. Go type about:about in the address bar to get the full listing but these are the ones I am interested in.

  • about:about
  • about:addons
  • about:addons-memory
  • about:cache
  • about:config
  • about:healthreport
  • about:memory
  • about:networking
  • about:permissions
  • about:plugins
  • about:preferences
  • about:support
  • about:telemetry

As of now, Firefox RAM usage hovers in the 500 MB - 1 GB range which seems pretty “normal” for me.

Hopefully one or more of these tips may help and if nothing else, give you some tools to better troubleshoot RAM issues in Firefox when you do encounter it.

Cheers,

Claus Valca