Windows XP loses the domain controller?

I ran into an interesting problem last week with some Virtual Machines. I’ve set up 3 different machines, each running Windows XP with a different version of Progress (10.0, 10.1, and 10.2), to test how our application works under the various Progress versions and to develop with some of the latest tools (I love the Eclipse interface! :-) ). However, for some reason last week all the virtual machines, plus the virgin Windows XP install, decided to show me the following error message:

Windows cannot connect to the domain, either because the domain controller is down or otherwise unavailable, or because your computer account was not found.

Since I was rolling out a change to a web service running under 10.1 at the time, I was not a happy camper. It took me the better part of a day to try and come up with a solution. Unfortunately, none surfaced, even after some helpful hints from our systems engineer (“Did you reboot?” – “Yes.” – “Must be a Windows patch.” – “I have had no new patches in the last week and half.” etc.). The weekend came and went, and today I was back at the same problem. Ruling out anything general (like the domain controller actually being down – we could log in to everything except the VMs), I started scouring the Internets. And lo and behold, back in 2006 someone else had the same problem. With a regular XP machine. In a Windows domain. Wow!

In a nutshell, it comes down to the fact that the domain controller is confused about your machine and SID, and won’t trust you. Removing the machine from the domain, and adding it back in, solves the problem somehow.

Thank you, My Digital Life!

Carbonite backup and my floppy drive

Recently I switched to Carbonite on two machines at home.  After installing the software and starting the backup, I noticed that frequently something would be accessing the floppy drive (or at least trying). Googling around a little bit revealed that this was one of Carbonite’s “features”.

The two suggestions that kept coming up during my search were:

  • Insert a floppy, and Carbonite will learn that that drive is a floppy drive
    – Sorry, that didn’t work
  • Disconnect the floppy drive
    – Wait, and then open case when the drive needs to be used? Bad idea!!

There is a third option: disable the floppy drive in Windows.

If you open My Computer, you’ll see something similar to this:

Notice the 3 1/2 Floppy – that’s the one making all the noise. But not for long!

Right-click on the icon, and select Properties from the drop-down menu. Click on the Hardware tab and select the Floppy disk drive.

Click on the Properties button.

On the bottom of the screen is a drop-down box. Click on the drop-down arrow and change the selection to “Do not use this device (disable)”. Click OK.

Click OK on the screen with the 3 1/2 inch Floppy properties, and
return to the My Computer screen. Your Floppy Drive A: should be gone,
and with it the seeking Carbonite tries to do on it!

Nagios – how to determine the name of a service in Windows

I’ve recently set up Nagios on one of our test servers, and the Windows client for Nagios allows you to monitor services (whether they started, stopped, etc.). However, the name of the service to monitor isn’t always the same as the name in the Services application in Administrative Tools.

To find out the name of the service, you’ll have to look at the registry:

  1. Open up regedit (Run, regedit)
  2. Navigate to HKEY_LOCAL_MACHINE
  3. Navigate to SYSTEM
  4. Navigate to CurrentControlSet
  5. Navigate to Services
  6. Find the service you plan on monitoring. The name of the node is the name you need to enter on the Nagios server as the name of the service.

Google Chrome available for download

Google has released their beta browser Chrome for Windows. It distinguishes itself from other browsers by having a very minimalistic design, and some interesting technological features:

  • The address bar doubles as a search box, history browser and suggestion bar.
  • The tabs can be dragged out of the browser to create a new window, or multiple tabs can be combined into one window.
  • The new sandbox feature allows every tab to run independently from the other tabs, so if one site crashes it won’t take anything else down, and can confine “bad” sites to just their sandbox (instead of giving them access to your whole machine as in some browsers made in the Northwest of the USA).
  • Activating the Incognito mode will prevent any pages you visit from showing up in your history.
  • Chrome has improved warnings for suspected phishing sites, malware, etc.
  • By clicking the star icon next to the address of a website, it is turned into a bookmark.
  • It features Google Gears integrated in the browser.
  • The Javascript engine is one of the fastest available today.
  • Chrome is multi-threaded. Not only does this mean that one looping JavaScript will no longer tie up your whole browser, it simplifies memory management (since the separate process can be closed, and release all used memory), and can make use of multiple processors.
  • Google continually updates a list of harmful sites, that Chrome uses to warn the user.

After all these benefits, there are some negatives:

  • I couldn’t run the Chrome browser out of the box. Whenever I started it, it would give me “The application failed to initialize properly (0xc0000005). Click on OK to terminate the application.”. A bit of Googling taught me that Symantec doesn’t like the sandbox option of Chrome. If you add –no-sandbox to the shortcut used to launch Chrome, all is well (except you’re not using the sandbox feature).
  • Limited plugin availability. Since the browser is pretty new, there aren’t a lot of third party, or even first party, add-ons, as opposed to Firefox.
  • The end user license. Although Google’s motto is “Do no evil”, some of the wording in the EULA suggests that Google has rights to do anything it wants with whatever you enter through the browser. This sounds like Adobe’s EULA for Photoshop Express, and hopefully Google will revise the license to be more respective of the user’s ownership.
  • Beta. I know Google has a history of releasing beta products (I think GMail just recently left beta status), but this time, the playing field is different. This is the frontline of the battle against intrusions, this is where the new malware tries to enter your computer. If there is a hole in Chrome, the bad guys will exploit it – especially since Google is a pretty high-profile target.
  • Fear of lock-in. Soon you’ll be using GMail, Google Docs, Google Calendar, Google Spreadsheets, etc., all through your Google browser… One company to rule them all?

It will be interesting to see where Google takes Chrome, and if acceptance is going to be as high, or even higher, as Firefox.

If you want to try it, go to Google Chrome and download your copy.

Installing my XP machine

Wow, it does take some time to reinstall all your software and documents on a new machine. Here’s the list I had to work through:

Software

Documents/Settings

  • iTunes Library
  • my Documents
  • PuTTY settings
  • Webshots wallpapers

Firefox plugins

And that is just the downloading/transferring. After that comes the configuring! Woe is me! :-)