Tuesday, October 13, 2015

Windows in Slow Motion

 I was reminded this last week of why I don't use Windows on my home computers.

Background

I had to get a somewhat older (probably about 6 years old) laptop up and running to be available for a training session at work. This was a laptop which had originally come with Windows 7 Professional (right when it first came out). At the time, however, we did not use Windows 7 in production yet (of course), so we had reformatted the drive and put Windows XP on the machine instead. It was in service as a Windows XP machine for about five years (perhaps a little more).

This machine sports a Core 2 Duo processor, 3 GB of RAM, and AMD graphics. It had a Windows 7 image that was recently put on it by a coworker, but didn't work right (ran very slowly and crashed a lot) and was 32 bit. So instead of trying to re-install that image (remember that our regular use images for this model were XP), I decided to re-install Windows 7 Professional 64 bit from scratch.

Hardware problems first

The first issues I had were no fault of Windows. I installed Windows 7 Professional from disc, using the license key that was included on a sticker on the laptop. It worked with no issues. I had to go out to the Internet to grab drivers for the storage controller, the touchpad, and the extra keyboard buttons (the last one not being critical). All the other important drivers were included with Windows. Just when it seemed all was going well, I got S.M.A.R.T. errors warning me that hard drive failure was imminent.

Back to square one

I now had to locate another suitable hard drive, which was not too much of a problem. There was another drive hanging around the office of the same size which had been removed from another laptop. I re-installed Windows 7 Professional 64 from the same disc I had used before and got back to the point where the old hard drive had begun to fail.

Update issues

Windows seemed to be working rather well. However, my next task was to try and get the updates going. This is where I ended up having issues. Windows 7 gets the updates that our system administrator releases for it, which is generally all the updates that Microsoft releases after they are evaluated and cleared by him for use in our Windows domain. On it's first check for updates, Windows found 224 that had to be installed. I started the updates and left the machine alone.

The machine progressed normally through the updates for quite some time. It took longer than it seemed like it should to someone who is used to updates on a Linux machine, but I was expecting that. Finally, several hours later, it got to 217 updates, and started having issues. It started giving low memory errors (remember that this is with 3 GB of RAM). It stopped making progress, slow as that may have been before, and I ended up asking it to cancel the rest of the updates. It took a long time configuring the updates that did complete, and even rolled back some of them, perhaps because related ones had failed, but I'm not sure.

The next day, when I came in and the machine was behaving normally again, I viewed the available updates. This time there were 222 (these were a few of the ones that had failed plus a lot of additional ones that hadn't been tried yet). I let it start again. It took a long time, but that is normal, for the first 204 updates to install. Then it started giving memory low errors while trying update number 205. I canceled additional updates again and waited for it to stop and give me another chance to reboot. It was the afternoon by now. Twenty-four hours later, it was still trying to finish or cancel (I'm not sure which) update 205.

I ended up having to hard boot the machine. Fearing that I might have to start over again and anticipating trying to let only one hundred or so updates be applied at a time, I waited for it to come up. Fortunately, after only a warning that it had not shut down properly, it came up normally and configured updates for quite some time before giving me the log on screen. I needed it to work the next day, so I prepared it for the training session without approving any more updates.

Sanity returns

As it turned out, our system administrator did not want to take a chance that there was a problem with this machine, and they used another laptop for the training. I took the one I had been building and checked the update status. This time there were only 35 updates waiting (the failed ones plus just a few). That small amount of updates finished without a hitch, and the laptop was fully up to date after a three day ordeal.

I have my suspicions that part of the issue may have been the machine downloading Windows 10 in the background, even though the upgrade offer is disabled by group policy. I'm not sure about this, however. In any case, I don't expect machines that are updating to use all three gigabytes of RAM and hang up every time there are more than 200 updates installed. Even if updates had gone smoothly, it would have taken the better part of two workdays for them all to apply.

I run Linux distributions with an Xfce desktop on both similar and older hardware than this, often with less RAM, and no significant issues. They feel snappy, and updates run well in much less time. After running Linux for a time, Windows generally makes me feel like I'm trying to walk through knee-deep mud. That's why it's so hard for me to go back to. There are nice things about it, but I feel restricted when using it.