All posts tagged Windows

Ummm, yeah.  Microsoft’s FTP support isn’t even good enough to be called crap.

Since the prior blog post on troubleshooting Microsoft’s built-in FTP server in IIS, I’ve gone back to the tried and true FileZilla Server.  Yes, the community that brought you the free FTP client software also provides a free server version.  It’s great, robust and secure.  Oh, and super fast and easy to install and configure.  Very intuitive.  I’ve been using it for YEARS.  I had such a simple need that I was just trying to work with the built-in FTP in IIS on a new server install (hence the previous post).  But when a new requirement arose recently, I finally punted entirely, turned off FTP in IIS and installed my old friend – the FileZilla FTP Server.

Life is much better now.

It’s reinforced my prior thinking — even if the need is super simple, it’s just faster and easier to go with FileZilla right off the bat.   I recommend you check it out if you have FTP needs.

I’ve been running FTP Services on Windows Servers since the days of Windows NT.  Personally, I prefer a 3rd party product such as RhinoSoft’s ServU or Ipswitch’s WS_FTP Server.  But “free” is a good price, and I’ve setup plenty of built-in FTP systems over the years.

However, I just had the dubious honor of installing FTP on a Windows 2008 Server for the first time.  Like all things Microsoft, it was a great study in how to over-complicate the simplest, most inane thing!  As such, I thought I’d draft a post to list some quick troubleshooting tips to help save someone else a few minutes/hours of frustration.  There’s no rocket science here, just a few helpful hints.

One of the big issues with configuring FTP is that there’s very little in the way of feedback (error messages, etc.) when it’s not configured properly.  It just simply doesn’t work, and there are a zillion possible reasons why…

Obviously, the first thing is to make sure your firewall is flowing through traffic on port 21 for the target IP address.

Next, you need to make sure that FTP services are actually installed!  In my case, my default server install did NOT have FTP services installed.  I had to setup the roles and such to get the WWW services (and IIS) installed, which includes FTP under its wing.  So make sure you do have FTP properly installed.

The next helpful hint:  you have to create a site!  I know this sounds dumb in hindsight, but in the past when you installed WWW and FTP services you got a basic default site.  I like to run FTP from a command-line to just see the welcome banner to know I’m talking end-to-end and reaching the server, to eliminate firewall issues and the like.  Even if you hadn’t configured user access yet, you could still at least hit it and see that you were “talking” to it (getting the welcome banner, etc.)   But in Windows 2008 Server R2 no such luck.  Even with the FTP services running, nothing happens…  it’s dead, and you don’t know why.   You have to create an FTP site inside of IIS first.  Then magically, you can now connect to FTP services and get the welcome banner!

At that point, I was able to get a login banner but not actually login.  To setup logins, you have to hit two different settings icons in IIS.  First, you need to hit the “FTP Authentication” icon to choose “anonymous” or “basic” access.  By default they’re both OFF so nobody can get access, which does make sense from a security standpoint.  Anonymous is self-explanatory, and not what I wanted — I wanted to require authentication to get in.  “Basic” is unclear in my opinion, but is what I wanted.  Essentially, “not anonymous”.  Genius.  So enable “Basic Authentication”.  But that just enables the authentication types you want to allow — still nothing happens yet.

Next, you have to go to the icon next to that one, called “FTP Authorization Rules”.  Because again, by default NOBODY has access.  This is where you choose which users have access.  The dialogs are a little bit cumbersome, in true Microsoft style, but relatively straight forward.  Enter a username or class of user (“Admins”, etc.) and the type of access you want to allot (read, write or both).

At that point, I was finally able to connect and authenticate.

As I mentioned before, in hindsight this all makes sense and I perfectly well understand how and why it’s setup the way it is.  It’s just not overly clear, and is a departure from past setup processes, so I thought I’d share the experience and hopefully save someone a few grey hairs… I’ve got plenty to go around already.

In the hilarious 1990 movie “Crazy People”, Dudley Moore plays Emory Leeson, an advertising industry exec who is fed up with being, essentially, a professional liar.  He has a mental breakdown and produces a whole series of marketing campaigns based upon (gasp!) telling the truth!   Of course, he does it with humorous, dramatic flair.  For instance, he pitches the dietary fiber supplement Metamucil with the tagline  ”Use Metamucil.  Or you’ll get cancer and die.”   After an unexpected mixup (of course — there wouldn’t be much of a movie without some sort of conflict to kick-start the plot, right?) the “bogus” marketing campaigns actually go into production/distribution.  And the stuff flies off the shelves!

This came to mind when researching the latest browser usage statistics.  As of this day and age (June, 2010) Microsoft’s crappy-assed Internet Explorer 6  (aka IE 6) is still responsible for …get this… 25% of all web traffic!   You’ve GOT to be kidding me!   Not only is this browser nearly 9 years old now, but its replacements (IE 7, IE 8, and soon to be IE 9) have been out and shipping for 4 years!   To add insult to injury, IE 6 has got to be the crappiest, most problematic, non-standards-compliant, security-hole-laden modern browser you can find!

Twenty Five Percent!  25%!!!  Of all traffic!  Oy.

Why?   Well, in my opinion (and LOTS of anecdotal evidence) it’s because IE 6 came installed on Windows XP.   Windows XP has been arguably the single most successful version of Microsoft Windows, with the largest installed base.  As we all know, by far the largest portion of the installed base bypassed Windows Vista’s release and stuck with XP.  The kicker is this: all of these IE 6 people have Automatic Updates turned off.   Yes, that’s right.  In every single instance where I’ve seen IE 6 installed, the computer did NOT have automatic updates enabled.

Of course, IE 7 was pushed down via Automatic Updates in 2006.   Yes, FOUR YEARS AGO!   But all these folks with Auto Updates turned off did not get it.   So they continue to use this security-hole-laden, craptastic browser to this day.   What’s potentially even MORE scary is that with Auto Updates off, they’ve missed up to NINE FRIGGIN’ YEARS of general Windows security updates as well!   Hello, McFly?!!!

Then they wonder why they got hacked, or got a virus, or whatnot.

We still have 25% of all traffic using this old, outdated browser.  Not only does it open up the end user to all sorts of malicious attacks, but it wreaks havoc with web developers trying to build modern web sites and yet still keep them backwards compatible with this browser.  25% is a big chunk of audience to ignore.

IE 6 is officially unsupported by Microsoft.  It’s time to retire it once and for all.  The old “beg, borrow, or steal” approach isn’t working.  It’s time to step up our game and get more aggressive.  I’m not too proud to whip up a dose of old-fashioned guilt.  A nice passive-aggressive approach to guilting users into updating is a start.

Even better yet:  let’s get Emory Leeson to launch a new campaign for us:  ”Upgrade IE6, or your computer will get a virus and die!”

That has a certain Je ne sais pas…

I recently received a call from a long-time client of mine asking for a little help in setting up a dual boot system so he could boot Windows on his iMac.

Before delving into the “how to” process, I stopped and forced him to take a step back.  I asked “Why do you want to do that? What are you looking to achieve?”  This is part of my “consultative approach” that I take with all clients and all projects — before just jumping in, I ask questions first.  I’m not a big fan of “ready, fire, aim”.

And, as it turns out, the answer was pretty much what I expected:  “I have a few old legacy programs I still need access to from time to time, although 90% of my work is all on the Mac side now.”

While dual boot was a reasonable solution in the past, there’s a much better way…  Welcome to the world of virtualization!

Read more…