This Blog is a supplement to my website. Please also visit: www.DavidCocke.com

Thursday, March 29, 2012

Google Toolbar on Firefox 11

I should have titled this post Google Toolbar on Firefox 11 and Beyond.  This trick works on Firefox 12 too and hopefully future versions.  This has been a popular post so I wanted to make it clear this isn't just for Firefox 11.

I have been an avid fan of the Google Toolbar ever since it was created.  It has always frustrated and befuddled me that Google never created one for Google Chrome.  And now I'm confused and aggravated (this is putting it as nicely as I can) that Google has decided to discontinue support for it in Firefox.

On my Desktop PC I have had Firefox and the Google Toolbar working happily together and Firefox has been continually updating to new versions and all is still good.  But when I got a new laptop I installed Firefox 11 and that's when I found that Google no longer offers the Toolbar for Firefox. Argh!

But wait, why does it still work on my desktop?  After a lot of trial and error I have figured out how to get the Google Toolbar working with Firefox 11 on my new laptop and I wanted to share how to do this.

Uninstall Firefox

From Control Panel, uninstall Firefox.  I suggest you DO NOT remove personal data

Install Firefox 4
Download and install Firefox version 4 from FileHippo
http://www.filehippo.com/download_firefox/9506/

Install Google Toolbar
Then install the Google Toolbar for Firefox from FileHippo
http://www.filehippo.com/download_google_toolbar_firefox/

Edit the install.rdf File
Now before you upgrade to Firefox 11 we have to do a little surgery.  In Windows Explorer go to this directory:

C:\Users\[User Name]\AppData\Roaming\Mozilla\Firefox\Profiles\jtn2a7fp.default\extensions\{3112ca9c-de6d-4884-a869-9855de68056c}\

NOTE: The above is on Windows 7, and the exact directory names may be different on your PC

In the above directory look for a file called: install.rdf

Using Notepad (or Notepad++) edit the install.rdf file.  Look for the line that looks like this:

and change it to this:

(Note:  As you will see in the comments below, change it to a higher value like 20.0.* so that you can make it work in Firefox 12 and beyond.)

Save the file.

Upgrade Firefox
From within Firefox click on Help and About Firefox

You should see the button to apply an Update.  This will take you to the latest version, which as of this writing is version 11.0.

I also wanted to mention this:  Those that used to get around it by using the Add-on Compatibility Reporter (https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/), this apparently stopped working as of Firefox version 10.

Enjoy!

Update 6/21/2012
The saga continues.  Read how I was able to make it work with Firefox 13: 

Update 9/27/2013 - Please see my post More Issues with Google Toolbar on Firefox 24.0

Sunday, March 18, 2012

Manually Remove Ask.com Toolbar

I'm sure many of my fellow IT Admins are getting extremely annoyed with the Ask.com search toolbar showing up on user's browsers.  This thing is being bundled with installers for other products, such as Java updates.  We IT people know what to watch for, but when user's take the updates, they just click Next without paying attention.

In many cases, you can go to Add-Remove Programs and quickly find Ask.com listed and do an uninstall.  In other cases you have to study the list of programs very closely and you'll see a reference to Ask.com in one of the Titles, and you can just uninstall that.

But in other cases, some unscrupulous vendors hide it so well that they don't even list an Uninstall for it.

Here is how I was able to completely get rid of it in one case.

I first did a registry search for Ask.com and ultimately found an entry this reference:


C:\Program Files\Ask.com\


I then tried to delete the folder C:\Program Files\Ask.com\ but it wouldn't let me.

After looking around inside the folder I found Updater.exe



Then I looked in Task Manager and found this Updater.exe process was running, so I killed it.


Then I could delete the contents of the C:\Program Files\Ask.com\ folder.

This gets rid of the Ask.com Toolbar, but I suggest you use your favorite Registry Cleanup tool, such as CCleaner, to get rid of all of the references to it in the Windows Registry.

I know this is all about money.  Vendors looking to make a quick buck take money from Ask.com to bundle their toolbar, but this kind of thing just makes me loose respect for all of the vendors involved.  This is akin to malware in my opinion.



Thursday, March 15, 2012

Ripping DVDs to iPad

A friend of mine recently asked me, "How do I copy my DVDs to my iPad?".  She is about to take a long trip with her young child and thought perhaps taking some movies on the iPad would help during the long flight.

This seemed like a reasonable request and to be honest I've also been curious how to do this as well.  Apple's iTunes and Windows Media Player make it a breeze to copy your audio CD's that you own to the computer but as I quickly learned, DVDs are a whole other animal.

There are probably hundreds of ways to do this, and this isn't meant to be a definitive guide, but rather to step you through a process that worked for me.  I'm not an expert on this topic.  Heck I can barely spell CODEC.  So please don't ask me how to rip your particular DVD to your particular device.  Odds are I won't know.

Ingredients
You will need the following items:


VLC, in my opinion, is the best Media Player on the planet.  I like it because it's lightweight and seems to play any audio or video format I've ever thrown at it.

At present I am running VLC version 1.1.11 and they recently released 2.0.  HandBrake (I'm running version 0.9.6), is the software that helps you convert your media from one format to another and seems to rely on VLC to help decode the copy-protection on most DVDs.  But I'm reading in the forums that VLC 2.0 breaks HandBrake.  This seems to primarily affect Apple Mac computers; not sure about Windows PCs.  But for our purposes, we'll just be using VLC to playback our media, and use HandBrake to convert from one file format to another as well as from one screen size to another.

MakeMKV is where the magic really happens.  It is able to decode many of the copy-protection schemes used on many DVDS and convert it to a format called MKV.  Ever heard of it?  Me neither.  MKV is the Matroska Multimedia Container.  I could direct you to the Wikipedia article (which is a good read), but instead let me suggest this explanation from the people who make MakeMKV: http://www.makemkv.com/aboutmkv/

One thing that excites me about the MKV format is that it seems to be becoming adopted by more and more software and hardware media players, and it is an open standard and not proprietary.  From what I've read, even the pay version of the Tivo Desktop supports MKV.  So I may finally have a reason to buy Tivo Desktop.  I don't have a DVD player anymore (except for the computer) and being able to watch my DVD collection on the Tivo is very appealing to me.

Problems using just VLC and HandBrake
Before we get started I wanted to mention this.  I did first try using just VLC and HandBrake, as that combination seemed to work for so many in the past.  It was because it didn't work that lead me down the path I did and forced me to learn more than I cared to know about this subject.  I wanted to mention it here because it might help someone else.

First off, HandBrake would not even detect some of my DVDs until I first played a little bit of it using the VLC Media Player.  This seems to have something to do with VLC setting some Regional Settings that HandBrake on its own cannot detect from my computer's DVD drive.

My other issue is that after I tried to rip the content from the DVD using HandBrake, below is the kind of result I ended up with:


Try Googling the symptom above.  How do you begin to describe it?  As it turns out this is because of the DRM (Digital Rights Management) copy-protection in use on the DVD.  In other words, HandBrake could not decode it.  I thought I was either doing something wrong or had the settings wrong.  I wasted a lot of time before I figured out it was DRM.

Overview of the Process

  • Insert DVD
  • Use MakeMKV and let it decode your DVD and learn the Titles and Chapters it contains and then convert the contents to MKV files on your hard drive.
  • Play a few of the MKV files to verify they work and decide what you want to keep or discard.
  • Use HandBrake to convert the MKV file(s) to an MP4 format with a size suitable for your iPad.
  • Add the movie to your iTunes Library
  • Add cover art in iTunes
  • Sync to your iPad

Using MakeMKV

Insert your DVD and open MakeMKV.  Click on the graphic as pictured below.


This step usually just takes a couple of minutes but I had one DVD that took 30 minutes.  This step is identifying the Titles and Chapters and appears to also be trying to figure out the encryption scheme.

When it is complete you are offered a screen like the one below.  You could take the time and just select the Titles, Chapters, or Audio tracks that you want, but since there is no preview, I suggest converting it all to the MKV format.  You can delete what you do not want later.


As you can see in the picture above, choose the Drive and Folder where you want to store the MKV files.  These will be quite large so choose a drive with plenty of space.  Then click the MakeMKV button to begin the process.  So far, every DVD I've done, this step takes about 15 minutes or less.  And this step isn't very CPU intensive.

Let's talk a bit about Titles and Chapters for those that may not know.  Some DVDs contain additional content besides the main movie.  This could be trailers for other movies, for example.  Typically each trailer as well as the main movie is considered a Title.  Then within a Title it is broken up into Chapters.

So after your MakeMKV conversion, open the folder you chose to see the results.  You will see an MKV file for each Title that was on your DVD.  The largest file size is likely the main movie, and the one you'll want to convert in the next step with HandBrake.


In my case, I don't want the Movie Trailers, so I just deleted the two smaller files.

Although it is not a required step, I highly recommend you play at least a portion of your movie file with VLC just to confirm it converted correctly.

Also, you can now remove your DVD disc from the drive.

Using HandBrake
Open HandBrake and from the Source pull-down button choose Folder, then point to the folder that contains your MKV file.


You will see HandBrake parse the folder and show you your Title and Chapters.


Now you will want to choose the Destination; what folder and file name you want this new file to be placed.  On the right-side of the screen choose iPad and HandBrake will select options for you that are appropriate to scale to fit the iPad screen.  By default HandBrake chooses the file extension of .M4V but I usually change it to .MP4 (my personal preference).  Either is fine.


I highly recommend you use the Preview button at the top.  The conversion process takes awhile and I'd hate to see you waste time by ending up with an unusable file.  

When you are ready, press the Start button at the top and go get some coffee.  This conversion process is very CPU intensive and will take some time.  This is where I'm so thankful to have such a fast machine. For example, on my Intel Core I7 machine with 16GB of memory it took 50 minutes to convert a movie that is 1 Hour and 52 minutes long.  And this is with all 8 CPU cores running full blast.


After your movie has been converted to MP4 format, I recommend you play a little of it using VLC.  Again, just to make sure it converted correctly.

Add the movie to iTunes Library
Open iTunes and then drag-and-drop your MP4 file (.mp4 or .m4v file extension).


If you've never done this before you can drag to the Movies folder, but your entire Library will be highlighted as you do it.  Don't worry, iTunes knows it is a movie file and will put in the Movies folder.

Add Covert Art
If you will Google the Title of your movie, I'm confident you will find a picture of the original cover artwork of your DVD.  Just save that picture file to your computer.  Then click on the Movies folder in iTunes and find you're movie.  Right-click on your movie and select Get Info. Choose the Artwork tab and choose Add.  Select the picture you desire.

Syncing to your iPad
Depending upon how you configured sync settings, your movies may not automatically transfer over to your iPad.  So connect your iPad via USB to your computer.  Then under devices, select your iPad on the left (1), then select Movies at the top (2), and place a check mark beside your movie Title (3).
  

Then click the Apply button at the bottom and it will sync to your iPad.  Enjoy.

What to do with the files?
Now that you're done, what do you do with the MKV and MP4 (or M4V) files?  That's up to you.  When you did the drag-and-drop to iTunes, it copied the file to your Library, so there isn't a need to keep the MP4 or M4V file.

I would recommend keeping the MKV file.  This way you'll have it in case you want to convert it for use on another device, like your phone.  In my case, I'll copy the MKV files to my laptop so I can enjoy them there.  And if/when I get Tivo Desktop, I'll play the MKV versions.

Final Thoughts
I am so grateful to all of the smart people out there that create and contribute to products like VLC, HandBrake, and MakeMKV.  And offer it for use at little or no cost.  MakeMKV is free to try, you just have to re-install every 30-60 days.  But it costs $50 (US) to register, and I plan on doing so just to show my support.

There are other commercial products that claim to do this but I'm finding they are more expensive and are basically doing the same steps above.  

Monday, March 12, 2012

Windows 7 Screen Magnifier

A user just called me and reports they keep accidentally turning on the Windows 7 Screen Magnifier and they don't know how to turn it off.  They also don't know how they are invoking it in the first place.

Since I don't use this feature I didn't know either.  I wanted to share what I've now learned.

If you use the Windows Key + "The Plus Sign on the Keyboard" this will turn on the magnifier.  As you keep pressing the Windows Key + "The Plus Sign on the Keyboard" it will keep increasing the magnification to wherever you have your cursor.

In order to turn it off you have to press Windows Key + Escape

This seems counter-intuitive to me.  Seems like the Escape key by itself would have been the correct choice.  The user still doesn't know how they are invoking it, but at least we know how to turn it off.



Sunday, March 4, 2012

I want the old TweetDeck back

I am so frustrated with the new TweetDeck .  It is so lacking in features compared to the old one. I have tried to adapt to the new one but I've had enough!  I want the old one back.

Thanks so much to David Amador for posting the old beloved version:
http://www.david-amador.com/2011/12/revert-to-the-old-tweetdeck/

I can't believe that Twitter paid so much money to buy TweetDeck only to ruin it.  They paid $40 million dollars.  Can you believe that?

Heck for half that amount I would have wrote one for them, and I don't even know how, but for that kind of cash, I could hire a team of programmers and we'd all retire.

Saturday, February 25, 2012

I don't get viruses

I'm an IT guy.  I don't get viruses.  
Well, come watch me eat some humble pie, and I'll tell you a story of how I got bit, and how I resolved it.

As is probably obvious by this blog I am an IT person.  Although I am far from perfect, I haven't had a virus or malware on my personal computer(s) in years, I mean like maybe close to a decade.  Since I'm in the business, I know what precautions to take, I observe links before I click them, I know how to kill tasks in the background that look a little suspicious, etc.  I probably watch what is in the web browser's address bar more than I watch anything else on the page so I can make sure I'm actually on the site I'm supposed to be.

Last night I got home and sat down at my computer and was about to begin a long session of upgrades for one of my clients.  I had seen a reference to a new movie being released called Act of Valor.  I knew my son had expressed an interest in seeing it and I wondered what it was rated.

So I went to fandango.com, clicked on the movie, and then suddenly I saw a browser window open with a fake antivirus.  I know these screens all to well, because I'm the one called in when one of my user's get bit.  But before my eyes could even focus to begin to read the screen and before I even moved the mouse, I watched it do a very quick download and reboot my computer, and bam! I had a virus.  Not just any virus, but a rootkit.  I've heard about these drive-by downloads, but I'd never experienced one before.

Time to Rant
I'm going to vent a little.  If you want to watch, read on.  Otherwise skip to the bottom to see how I removed it.  I am more than a little pissed off about this.  I run Windows 7 and I put up with the nagging UAC (User Access Control) prompts in the thought that this is supposed to prevent this sort of thing.  I run IE9 with the smart-screen filter on.  I use MSE (Microsoft Security Essentials).  I keep up with patches on everything, not just Windows.  And above all, I am careful.  I don't surf sites that are known for serving up malware, and I don't even download torrents or questionable software.  And yet...

When Microsoft first introduced UAC in Vista, I thought it was a dumb idea, and boy was it annoying.  Everything you clicked, the computer would essentially ask, "did you mean to click that? Are you sure?"  MS toned it down in Windows 7, and as I learned more about UAC, I began to at least appreciate what Microsoft was trying to accomplish and in fact I leave UAC on for my clients even though this has introduced a wide range of complexities with Login and Logoff scripts and general maintenance that we have to perform.

But why, to this day, with Windows 7 and UAC are rootkits still possible?  What have I missed?  Programs are supposed to not have direct access to the hardware without going through Windows, unless they are granted higher privileges, and UAC is supposed to ask you for permission to grant those higher privileges.

Thank you Sony for introducing the world to rootkits (see Wikipedia).  This is but one of several reasons I do not buy Sony products anymore.  There are other reasons, but that's for another rant.  And by God Microsoft, why after all these years can you not block these damnable things?  I could understand it if I booted from a CD or USB drive that the hard drive's MFT is fair game, but while I'm in Windows, surely you could devise a way to block it or at the very least alert the user before the deed is done.

Mixed Messages
OK, after I got bit and the computer rebooted I was facing the Blue Screen of Death on each reboot.  I was able to boot into Safe Mode and run MSCONFIG which allowed me to disable all non-Microsoft services as well as all Startup items.  This then allowed me to the boot into Windows normally without the BSOD errors.  But while I was in Safe Mode with Networking I opened up Microsoft Security Essentials and saw that my virus definitions were less than a day old.  I did a scan and it found nothing.  Then I updated the definitions and ran another scan and this time it reported that I had the alureon.a MBR rootkit virus.  It then told me that it couldn't remove the virus and suggested that I try the new Windows Defender Offline.  So from another computer I went and downloaded the 64-bit version of WDO (which supposedly has the latest definitions).

I booted from the WDO CD and it says it couldn't find any infections.  So MSE says I have a virus and the tool they suggest to remove can't find it?  So I downloaded and burned the Kaspersky Rescue CD and booted from that.  But it couldn't find anything either.  Then I ran Malwarebytes and it at least said it found an infection.  It reported that the file called C:\Windows\SvcHost.exe was infected and that a copy of that file was also running in memory.  Malwarebytes tried to remove it but after each reboot it came back, because it is a rootkit.  I had also turned off System Restore, but that didn't help either.

There is a legitimate SvcHost.exe file that lives in the C:\Windows\System32\ folder, just so you don't get them confused.

Try This, Try That
After poking around and trying some of my usual tricks, I said forget it, let me restore from last night's backup.  I use the Symantec Backup Exec System Recovery.  As I went through the restore options I noticed it didn't automatically offer to check "Restore the MBR" and I didn't choose that either.  In hindsight, I wonder if that would've corrected my issue.  But after about 45 minutes of waiting for the restore, I rebooted to find I still had the rootkit.

I then grabbed my Windows 7 install CD and booted from that, chose the Repair option, and then the Command Prompt and issued these commands:

  • bootrec /FixMbr
  • bootrec /FixBoot

This too didn't help.

Finally - A Fix
As I Googled around I began to see references to TDSSKiller.  I remember this tool.  Kaspersky made it.  In fact, I had a copy in my toolkit on my hard drive.  I ran that, it found and removed the rootkit.  Yeah!  Thanks Kaspersky.

But then I had to laugh.  Why is that my copy of TDSSKiller which is dated November of 2010 found and removed something that their Rescue CD that I just downloaded didn't find?  And why, with a virus that has been around for so long, couldn't Microsoft Security Essentials detect it with virus definitions that were only a day old, but could be detected by new ones?  Does this mean the rootkit somehow tainted MSE?  If so, that's another very serious concern.

As I was doing my research for this post (after I removed my virus) I have discovered that Kaspersky has a newer version of TDSSKiller dated Feb 7, 2012 available here:
http://support.kaspersky.com/faq/?qid=208283363

Perplexed
In looking back over this ordeal, what can I do different to prevent this from happening again?  At the moment, I'm not sure.  I feel like I am as protected as I can be without installing multiple antivirus and anti-malware programs.  I have always said, running more than one antivirus program is like wearing more than one condom.  It works, but it sure takes the fun out of it.

I do know this.  The next time one of my clients has malware, I will be a bit more empathetic, as it is entirely possible they really didn't do anything wrong by clicking something they shouldn't.  Well, maybe not "all" of my users.  Some just can't help themselves.



Friday, February 24, 2012

Android Phone Stops Syncing Contacts to Gmail

My Android phone stopped automatically syncing my contacts with Gmail.  Even if I went through the Settings menu and chose to do a manual sync, it would go through the motions but wouldn't update my contacts, and I also noticed that the date/time of the last sync wouldn't change.

I finally found the answer.  Many thanks to the user Peaser on this website:
http://androidforums.com/eris-support-troubleshooting/81579-fix-google-contacts-not-syncing.html

The solution:

In your phone, go to Settings, Applications, Manage Applications, and under the All tab, choose Contacts Storage.  Then push the "Clear Data" button.

Then resync your phone to Gmail:

In your phone, go to Settings, Accounts & Sync.  Under Managed Accounts, choose Google, and press the "Sync Now" button.

Followup (3/2/2012) 
I wanted to share a followup to this story.  A few days later I noticed my contacts weren't syncing again.  The behavior was slightly different.  Previously the date/time on the last sync didn't change.  This time it would update the date/time of the last sync but wouldn't actually sync the differences between my phone and Gmail.

So, I did this:
  • Settings
  • Accounts & Sync
  • Select your Google account
  • Uncheck "Sync Contacts"
---
  • Settings
  • Applications
  • Manage Applications
  • All (The All Applications Tab)
  • Select Contact Storage (I'm told that on some phones it is listed as "Google Contacts Sync")
  • Press the Clear Data button (which purges all contacts from your phone)
---
  • Settings
  • Accounts & Sync
  • Select your Google account
  • Check "Sync Contacts" (which should cause it to re-download your contacts from Gmail)