Reich Consulting
21Jun/100

Converting My Business to Linux, Part 1

Call it frugality.  Call it insanity.  Call it what you will, but I'm converting my computers that I use for my consulting business to Linux.  That's right, I'm a Microsoft Certified computer consultant whose going to switch to Linux.  Actually, I'll go one step further: I'm going to try to switch completely to Free Software. This means:

  1. I will install and use Ubuntu Linux as my operating system.
  2. I will use OpenOffice.org as my office suite.
  3. I will use Evolution for email, calendars, and contact management.
  4. I will try to find and use a Free Software alternative to QuickBooks to manage my business accounts.
  5. I will try to find and use Free Software alternatives to Adobe Creative Suite.
  6. I will try to find and use a Free Software alternative to Virtual PC, so I can install Windows 7 and Server 2008 into virtual machines for my Microsoft training.

I'm pretty darn goods with computers, but this will be a daunting, quite possibly annoying, and maybe even futile task even for me.  So I invite you to come along and gawk at the train wreck I'm about to embark upon...

Proceed to Converting My Business to Linux, Part 2: Installation.

31Mar/100

Defragmenting Your Hard Drive on Windows 7

This video I made tonight will teach you how to defragment your hard drives on Windows 7.  This is the first video in a new series I am creating for an upcoming Basic PC Maintenance Course.

10Mar/100

The Power of the Application Compatibility Toolkit

I never quite understood the power of the Microsoft Application Compatibility Toolkit (ACT) until I watched this video.  It shows how simple it is to create and apply popular program shims in order to make old applications compatible with newer version of Windows. Enjoy!

Commonly-used Application Shims Video

28May/095

9 Reasons to Switch from Windows to Linux, Revisited

After stumbling upon this article listing 9 Reasons to Switch from Windows to Linux, I felt more than a little compelled to respond critically to some of it's claims.  That response became a bit long-winded to post as a comment, and so I decided to post a full rebuttle here on my blog. 

Comparing Modern Linux to Old Windows

Although I agree with some of the claims in the original article, it seems as though it was written from the perspective of someone who switched to Linux in 1998 and never looked back.

 The article was comparing fresh apples to rotten oranges. If one's goal is to compare Windows and Linux and list the ways in which one outperforms the other, it's only fair that we compare the versions with the closest release dates.  In other words, it's unfair to compare the feature set of Windows 98 (released in June of 1998) to that of Ubuntu 9.04, code named Jaunty Jackalope (released in April of 2009).

1. Your Computer is Getting Slower!

First off: my computer isn't getting slower.  I've run Windows XP on dozens of systems for years without a reinstall or even a reboot for months at a time, and unless I installed new software the performance never really changed.

I've worked on the sort of computer the author is referring to (I affectionately call them "thrashers"), and it seem to me that the tendancy for a computer to get slower over time has more to do with junk hardware and irresponsible usage patterns than about the operating system.

Think about this logically for just a second: people who use Linux tend to be highly technical individuals who might understand that there could be repercussions to downloading dozens of pieces of software from unknown sources on the Internet. If they use their heads, the sort of behavior that leads to a slow PC never happens.  In addition Linux comes with a large collection of programs and utilities which negates some of that need to constantly download and install programs from the Internet.  Why not list that as one of your reasons to switch?

Admittedly file system fragmentation  is still a problem on Windows that can degrade your performance over time, regardless of how responsibly you use your computer. You should defregment on Windows occassionally to keep things zippy, but Linux's Ext2, Ext3, and all-new Ext4 filesystems aren't completely immune to fragmentation, and fragmentation on a modern Windows system using NTFS  isn't the crippling disease it was on FAT and FAT32-based Windows 98 systems, either.

2. You are fed up with viruses and spyware and you heard Linux does not have any!

Windows is a victim of it's own popularity. If you were a hacker looking to cause damage to the greatest number of computers or a spyware developer looking to profit off the largest number of possible infections, would you target Windows or Linux? After taking into account the fact that Windows has an 87.9% share of the desktop operating system market, versus a 1.02% share for Linux. It's a fact that there are fewer viruses written for Linux than Windows, but to say there are no Linux viruses is a fallacy.

This begs the questions: is Linux more secure than Windows? Or is the disparity between the amount of malware on Windows versus Linux simply a function of security through obscurity? This debate has raged for years and lack the energy to rehash it, so read this comprehensive discussion on Windows and Linux Securiyty at The Register instead (spoiler: Windows loses).

In Microsoft's defense, some of the most sever virus outbreaks have been 100% preventable. The Conficker virus spread through unpatched systems (computers that aren't installing their OS updates).  Microsoft released a patch to the bad code months before a virus was found lose in the wild that exploited it. In my opinion this is even more anecdotal evidence of the disparity in usage patterns between Windows users versus Linux users. Would users automatically become more responsible and install patches if they switched to Linux? Probably not.

3. Your old printer or scanner don't work with the latest version of Windows!

A few weeks ago I attended a CPLUG  meeting where for the first time I was able to participate in face-to-face discussions with real Linux power users.  In one of my conversations, I told a CPLUG member that I simply didn't have much use for Linux because I can do everything I need to do very effectively in Windows. His response that was that I could install Linux on an old 486 and turn it into a router and firewall for my home network. My response was that that would be a waste of my time, since I can already by a powerful home router for $50.00 that consume a heck of a lot less electricity than a full desktop system.

Linux has fantastic support for old hardware, and if supporting your printer from the 1980's is a priority but supporting your modern Windows software is not, then by all means, look up your device on the official Linux Hardware Compatibility site and go to town, my friend.

In my experience the Linux community has been so focused on support of legacy device compatibility that they neglect the fact that some of the most common off-the-shelf components don't function on Linux out of the box.

Be warned: when your hardware doesn't work out of the box with Linux, making the "tweaks" neccessary to get it fixed aren't as trivial as they often are on Windows. Malfunctioning video drivers sometimes require you to drop to the shell and manually edit configuration files like x11.conf, whereas in Windows you could use Safe Mode to install the right driver or change your display settings in a low resolution mode which should work on any video hardware. Oh, and take a look at the steps neccessary to make one of the popular WPC54G wireless adapters work on Ubuntu Linux.  Real user friendly, huh?

It's true that Windows Vista doesn't have very good legacy hardware support, but it's out-of-box support for modern hardware is impeccable.  There are two simple solutions to the legacy hardware dillema. The first is to upgrade to modern hardware, and at the cost of most home printing and scanning (and other) devices you'd be doing yourself a disservice to disregard this as an option. The second option is to simply skip Vista. Unless you have a specific reason to upgrade from Windows XP, don't. Microsoft has pledge support for Windows XP through April of 2014. No one is forcing your hand to switch operating systems any time soon, despite what the original article might lead you to believe.

If you do decide to upgrade to Vista (or Windows 7 for that matter), download Microsoft's Vista Upgrade Advisor. This free utility will check your system, analyze your hardware and software, and tell you what needs upgraded before your computer can run Windows Vista.

4. You have a computer without Windows and don't want to buy Windows

Despite the annoying grammar and the fact that the author actually had the audacity to link the words "buy Windows" to an Amazon Affiliate link, this is a good point.  If you built a computer yourself or inherited a computer and not an operating system, you may find yourself in this position.  I can't argue against Linux as a valid option in this scenario.  However if you are buying a new PC and are considering buying it without Windows in order to save money, think twice. Many manufacturers won't sell you a computer without Windows, or at the very least won't sell it to you any cheaper.

5. You want to run a Linux application

As the author mentioned himself, some of the best software available on Linux is already available for Windows, so switching operating systems probably isn't neccesary.  Much of the software I use on a daily basis is open source, and a lot of it was originally built for Linux.  Some examples are PHP, Apache, NetBeans IDE, MySQL, Firefox, Gimp, FileZillaSubversion, and VirtualBox.

Speaking of VirtualBox, even if a Linux application you want to use doesn't have a Windows-compatible version, you don't have to give up Windows in order to install Linux and run your program.  Provided your computer has the neccessary power, you can install Linux in a virtual environment and run your program from there.

6. You want to (re)use an old computer.

In my opinion this is where Linux truly shines.  You can install a bare-bones Linux distribution like Damn Small Linux or powerful but non-graphical distribution such as Ubuntu Server on old hardware and use it for a variety of purposes.  I have personally used an old Pentium 3 workstation to host Counter-Strike: Source network game server, and used similar hardware equipped with the SAMBA package to emulate a Microsoft Active Directory domain. Other ideas are lightweight print servers, files servers, and LAMP-based web servers.

7. You had problems with Windows activation.

Admittedly Windows Genuine Advantage got off to a bad start, and like most copy protection schemes, only affected the people who legitimately paid for their software.  However we're now three years out from WGA's release, and most of the compatibility issues and reports of "false positives" of pirated software have been resolved. Unless you are philosophically opposed to paying for software, Windows Genuine Advantage doesn't seem like a logical reason to completely switch your operating system.

8. You do not like the new Vista interface of Windows.

Once again, no one is forcing anyone to switch right now. Unless you buy a new computer preloaded with Windows Vista this isn't even an issue.  What I've found after switching many users from Windows XP to Vista is that users convert over kicking and screaming, but within a few weeks come to appreciate many of the interface changes in Vista. 

If fear of change is the issue with switching to Windows Vista, how is switching to a completely different operating system going to help anyone? Most of my customers would freak if they didn't see the "Blue E" on their desktops that has become synonymous with the Internet.

9. You are curious about Linux.

Once again, there is no reason for a full conversion from Windows to Linux.  Thanks to virtualization technology, operating systems can coexist on the same system. By installing and exploring Linux within a virtual environment, you can decide for yourself wether or not it is worth a permanant switch without making any life or work-altering decisions on your physical system.

It should be noted that I'm no Linux expert, but I do have years of experience with Linux as both a casual user and as an LAMP-platform web developer.  I've been using Microsoft Windows since Windows for Workgroups, I co-administer a 350-workstation Windows network,  and I am a Microsoft Certified Windows Vista Technology Specialist (I'm not quite finished with the full MCITP curriculum).

13Dec/081

Video: Finding Your Network Settings in Windows Vista

A YouTube member who watched my video about Finding Your Network Settings on Windows XP requested that someone make a similar video for Windows Vista. This video is quick and dirty, but it walks users through each step of finding their network connection settings both through the Windows user interface as well as through the command prompt.

12Dec/085

First Impressions of Windows Deployment Service

A few months ago we decided to deploy Windows Vista in two recently renovated labs at SUN Tech. Originally I used Symantec Ghost Solution Suite to image the labs.  If you've ever done imaging, you'll know what a "bad image" looks like: sometimes they don't boot at all, other times they seem stable until weeks later they begin to blue screen for no rhyme nor reason. This was my experience with Symantec Ghost and Vista and the reason I forced myself to learn Windows Deployment Services. I may later chronicle my entire journey, but here are a few quick observations.

1. Windows Deployment Services Setup is More Complicated than Ghost.

While I applaud Microsoft for releasing a lot of wonderful deployment tools free with  (or at least bundled into the price of) Windows Vista and Server 2008, as always they provide very little free assistance with those tools.  You will not be off the ground running with WDS as fast as you can be with Symantec Ghost. Though installing WDS is simple (add the Deployment Services server role, configure the Boot Server Host Name option #066 on your DHCP server), making it useful takes some time.

You need to add boot images by locating the boot.wim file on your Vista or Server 2008 installation media. You need to add installation images using the source.wim from the same disks.  You then have to assign the appropriate boot files and images for each architecture (x86, x64, and Itanium). At this point you can network boot to deployment services and run the installation over the network, but you can't do "ghosting" in the classic sense of the word. You still have to create a "capture image" from the boot image you loaded previously and then use it to capture your customized installation.

Ghost installation is significantly less complicated. You install the software from a wizard. You create a floppy, CD, or network boot image using the Ghost Boot Disk Wizard, then you use it to boot to the machine you want to ghost or use to create a ghost image. You set up a session on the server, type the session name on the client, and off you go. Getting up and running with PXE booting in Symantec Ghost can get a bit tricky, but you can literally start creating ghost images within five minutes of inserting the installation disk.

2. Image Creation is Slower in WDS than Symantec Ghost.

When I was creating my images with Symantec Ghost, I was always pleased with the time it took to create a ghost image. After creating my reference machine (and running Sysprep) I would boot into the DOS boot client and it would upload 15GB drive image in about 15 minutes. This includes a full install of Windows Vista Business Edition, Microsoft Office 2007, Adobe Creative Suite CS3, and a few other applications critical to our organization.

Windows Deployment Services, on the other hand, takes about an hour to create the same image. This gets aggravating when the upload completes and you realize that you forgot to include an application, or find some other issues with the image that requires you to recreate it. Nothing is more aggravating than recreating an image because you forgot some critical tweak needed by your end users.

I don't know for sure, but I think the difference in image creation speeds lies in the difference between Symantec and Microsoft's imaging formats. Symantec's images are an entity unto themselves. That is, they are a byte-for-byte clone of a hard disk.  Because they work on a byte level, they can often be difficult to work with when you need to add something to an image.

Microsoft's WIM (Windows Imaging Format) is an altogether different beast. A WIM file can contain multiple Windows installations. In fact Windows Deployment Services stores all of it's installation images in a single WIM. WIM is a file-base image format which remains aware of the files that it contains. It will never store the same file twice.  So if you have twenty images hosted on WDS, all with Windows Vista Business and Office 2007 installed, you will save significant amounts of space because the redundant files will not be stored multiple times. While this conserves a lot of space, I tend to think that the checks necessary to search a monolithic WIM file for matches may cause the considerable slow down in ghosting speed.

3. Image Deployment is Slower on WDS than Symantec Ghost.

The same criticisms of the WIM format apply during image deployment as well. While Symantec Ghost simply dumps bytes directly back to the hard disk, Windows Deployment Services formats, expands the image, installs the image's files, and even goes out to Windows Update to download and install system updates before rebooting.

I also noticed that after the reboot into the new operating system that the Vista version of Sysprep takes significantly longer to complete than on Windows XP.  However this can't really be blamed on Windows Deployment Server, but on some of the structural changes and improvements Microsoft made with the Vista Architecture. Which leads me to my next point...

4. Sysprep is a Whore, but She is my Mother.

The above quote, adapted from the words of St. Augustine, perfectly reflects my feelings on Sysprep.  This tool, provided by Microsoft as a way to make a Windows image "generic" and thus usable on multiple computers, has caused me seemingly infinite amounts of pain and frustration, yet its the best tool that I've got.

On Windows XP you could avoid dealing with the quirks of Microsoft's Sysprep utility by running Symantec's Ghost Walker utility after deploying an image. This would recreate the security identifiers on each destination machine. When I moved to Vista I found that I couldn't work around Sysprep because there are other processes that must be run and other identifiers that need to be recreated, such as those generated by Microsoft Key Management Services and Windows Server Update Services. With Vista, I haven't been able to avoid Sysprep on Ghost or Windows Deployment Services.

Having said that, Sysprep on Windows XP was a cinch. You used the Setup Manager to create an unattend.ini file, you ran sysprep, and you rebooted. The Vista version of Sysprep provides a level of customization long sought after by IT workers like me, but while the platform has grown more powerful one's chances of screwing something up have grown exponentially. The unattended.ini file has turned into unattended.xml, and while you could edit it by hand you certainly wouldn't want to.

Instead of the user-friendly, wizard-based Setup Manager that we once used to use to create our unattended setup configurations Microsoft now provides a tool available for download called the Windows Automated Installation Kit (WAIK) as a paltry 180MB download. At least the tool provides a "Check for Errors" option, because you're going to need it. Unattended Vista installations are complicated, error-prone, and problems are difficult to diagnose when you inevitably run into them.

4. Windows Deployment Services Finally MultiCasts.

I avoided WDS and it's previous incarnation known as RIS mostly because it has never supported multicasting, which is critical when you are ghosting more than just a handful of machines. When you install the Deployment Services Role on Server 2008 it also installs the Transport Server supporting role, which allows you to select an image for multicasting within Windows Deployment Services. You can configure the multicast session to begin at a certain time, after a specific number of clients connect, or when you explicitly press the button to start it. The multicasting feature is what made me finally consider WDS as an alternative to Symantec Ghost.

5. Windows Deployment Services Delivers on the Promise of "One Image to Rule Them All."

More a feature of the WIM imaging format than Windows Deployment services, you really can deploy the same images to a variety of hardware. Though often promised and long sought-after by IT professionals, deploying an image to hardware different than that which it was created on has never worked particularly well; and using the same image on a desktop and portable was simply unheard of.  However the new version of Sysprep and the WIM format finally make this dream a realty. Vista's version of Sysprep removes the HAL (Hardware Abstraction Layer) which prevented images from working on both desktops and laptops.  The WIM format makes it simple to add drivers to an installation image using the commands "Imagex" and "Peimg" provided by the WAIK.

Sysprep also makes it simple to store all your drivers in a single location which can be searched during the hardware detection phase.  You can even provide a UNC path to a network share and credentials for access.

6. Windows Deployment Services Updates Your Computers Before Booting Them.

Though this feature can be turned off in your Sysprep configuration, Windows Deployment Services will actually go out to the Internet and install available updates to your PC before it reboots into the downloaded image.  It ads a few minutes to deployment time, but saves you the bother of updating your images when a new patch is released by Microsoft.

7. Windows Deployment Services Just Works Better with Vista

Maybe this isn't a selling point for the Vista-haters out there, but I'm a fan of the operating system. The fact I couldn't create a single Windows Vista image in Symantec Ghost that didn't blue screen or have other unexplainable issues really hurt my confidence in their product and convinced me to research and consider Windows Deployment Services.

8. Symantec Ghost is Expensive.

I'm not sure what the price is today, but I know we were paying several thousand dollars annually to keep our version of Symantec Ghost current and legal for our 300 computer network. If you have a license for Server 2008, you already own Windows Deployment Services, and all of it's supporting tools are available as free downloads from Microsoft.

Summary

In a perfect world there would exist a program that acted much like a hybrid of Ghost and WDS. Ghost wins hands down in the speed department, both for ease of installation and speed of imaging operations. Ghost has, however, always been lacking in the realm of image customization. The WIM image format used by WDS gets a gold star for its extensive configurability, and for the tools that Microsoft has made available to make this possible. Symantec needs to play catch-up and make their software work better with Windows Vista.  They might even consider using the WIM format if they can do that and still keep their edge on speed. All things considered, the prices and feature set of WDS is what I need right now, and I won't be switching back to Symantec Ghost any time soon.

24Nov/080

An Odd Server Migration Issue

Over the weekend my boss replaced the server which holds all of our student's user data.  Though the operating system version, server name, domain membership, share names, and permissions all stayed identical from the old server to the new server none of our students could access their data when they came to school this morning. After a few hours of troubleshooting I realized that an nslookup of  the server wasn't getting beyond our Extreme Network switches. Five minutes after rebooting our switches everyone was back up and running, and the users were able to access their data.  Has anyone else experienced this? And if so, can someone explain to me why this has happened so I know when to expect it in the future?

20Nov/080

No Media Center on Vista Business Editions?

I wanted to write a positive article about Windows Vista.  I really did. In fact I'm disappointed that this article didn't turn out that way.

I Kind of Like Vista

For the past five days of my life I've been taking part in Windows Vista training courses (5115A and 5116A) working towards my MCITP Microsoft certification. Every day I walk away liking Microsoft's pariah operating system more and more, thinking that if they had only tried to market Vista's features rather than compete for the hearts of individuals Steve Jobs-style, it just might have had a chance.

I get back to my hotel room with grandiose plans of using Vista to simplify and organize my life, and maybe even give my computing experience that personal touch that Mac users are so fond of casting in our rank-and-file, robotic Microsoft borg faces. I was going to use Media Center, a fantastic application that centralizes all your videos, pictures, and music into a single, organized interface. As trivial as this sounds, I was excited to see what Media Center could do not just for me, but for the school that I work for as well.

But Media Center Center Doesn't Come With Vista Business or Enterprise

Umm, what? Microsoft tempts me all day by training me on how to use and secure Media Center on my customer's machines, only to find out that neither me nor my customers even have this software.

I suppose in Microsoft's defense I did learn this in my last class when I was forced to memorize the differences between the various versions of Windows Vista. However I can and will give you a strong argument as to why they should provide Media Center with Vista Enterprise Edition.

Public Displays and Kiosks

My first thought for Media Center was to integrate it with my Netflix account on my laptop, which is obviously not a business case for providing me with Media Center. My second thought, however, was to use it to retool an old SmartBoard that has fallen out of use  by sliding it into a large showcase in our lobby and using as a promotional attraction loaded with the hundreds of videos and pictures that our school produces annually.

And a school is certainly not the only environment where such a setup would be useful. What about a business showroom? A photography studio? There are plenty of reasons why a networked, enterprise-grade machine would also need quality media capabilities.

Of course I understand Microsoft's decision not to include it in Vista Enterprise. If it did, there would be no reason to buy Ultimate Edition, except for that "free download" of Texas Hold'em Poker.  The more Microsoft changes, the more they seem to stay the same.

6Feb/080

Fix “Error Loading Operating System” Bug When Deploying Windows XP with Windows Deployment Toolkit

This problem is related to the previous article I wrote about loading text-mode drivers into a Windows XP installation source added to a Windows Deployment Toolkit (formerly called BDD) distribution share.  Because of an incompatibility between Windows XP and the way that Windows PE formats the hard drive by default, many users will find that, after the PE portion of the installation completes, the operating system will fail to load off the hard drive. Johan Arwidmark over at deployvista.com has written a fantastic tutorial with a simple solution to the problem, which can be overcome without changing anything on the target PC.

17Jan/081

Video: Find Your Network Settings in Windows XP

This video is a visual guide through my previous tutorial about locating your network settings in Windows XP. It also happens to be my first attempt at creating a video on my PC. The video discusses some of the reasons you might need to find your network settings, then guides you through each click in the process of finding your network configuration.