Fix Terminal Services Remote Web Access/Remote Web Workspace “Invalid Server Name” Issues

A friend of mine was recently having issues using Microsoft’s Terminal Services Remote Web Access.  It seems that when he tried to remotely administer any workstations he had upgraded to Windows XP SP3 or servers he had upgraded to SBS 2003 SP1, he would receive an error stating that an “Invalid Server Name” had been specified.

After digging around a bit, I found this Microsoft KB article that remedied the issue.  I won’t go into details here, but if you are experiencing this problem, a quick registry key deletion and an IE plugin tweak will get you back to work in no time.

 




MailBin Updates

mbinOver the past few days, I have made some changes to MailBin that fix some lingering bugs as well as enhance performance.  Make sure to check the MailBin page frequently for program updates!

 
Posted in: Programming, Software by DrNathan No Comments

MailBin – Remotely Queue up NZB Files Using Gmail

Written from the ground up in C#, MailBin is a small application that checks your Gmail account for NZB,  Zip, and .Torrent files, allowing you to remotely queue up Usenet and BitTorrent downloads at any remote location.  It’s a great tool for when you find something you want to download while away from home, but you want it to be ready by the time you get there.

MailBin - Queue NZB files in Newsbin remotely

If you are an avid fan of Usenet or BitTorrent, and happen to use a newsreader/torrent client that will auto queue files (Like Newsbin or uTorrent), give it a try!

Visit the MailBin download page

 

Another Seagate Drive Bites the Dust

Yet another Seagate drive I own bit the dust a few days ago.  The current victim is a Barracuda 7200.11 500 GB drive.  I can’t quite recall when I bought it, but it is still under warranty for quite some time.

Before anyone asks – yes, I updated the firmware.  No, not the original “fix” put out by Seagate – the for-real, 100% fixed and working firmware they put out after that.  This was your good-old run-of-the-mill “whir, click…whir, click” death that typically signifies a dead logic board.

Alas, I know Seagate would never consider simply replacing the board and returning my drive (along with its precious data) to me.  A company that charges for an advance replacement would surely never adopt such a policy…

 
Posted in: Random, Rants by DrNathan 2 Comments , ,

Suction, A Lightweight Directory Consolidator

I have put together a little program that will accept any number of directories as input and “Suction” the contents of any subdirectory to the top folder, deleting all empty subfolders left behind after the operation.

Morehpperliter was quite fond of the “Unify” function in DirUtils, which does not run on 64-bit machines and as far as I know is no longer developed, so he asked if I knew of an alternative.  I did not, so I created one.

The program is simple, lightweight, and very handy if you have to wrangle a lot of files (this means you Usenet and BitTorrent users), so give it a try!

Suction

Visit the Suction download page

 

Do You Do Icons?

I’m looking for an “artist” self-proclaimed or otherwise to do a small bit of icon creation for an application I am working on. The position is non-paying (it’s a free application), though you will be credited accordingly. Enticing, I’m sure.

If you are interested, drop me an email at drnathan (at) teamhackaday (dotcom).

 
Posted in: Programming, Random by DrNathan No Comments ,

Fix Your Linux Terminal Line Wrap Issues

I had a strange problem with Putty when connecting to a Linux server that I work on occasionally. At random times, the line I was typing would wrap around on the same line in crazy fashion, overwriting what I had already typed. Aside from being generally annoying, it caused plenty of headaches when trying to enter commands.

The problem would pop up when entering long commands, but it would also sometimes cause the text to wrap after 20 or so characters. I figured something had to be wrong, and sure enough after a bit of reading, I found the culprit.

It seems that at some point I read a tutorial about how to customize the command prompt that offered tips on how to dynamically change the Putty window title as well. That’s all fine and dandy, but the author left out a very important point, and that was how to escape non-printing characters. You see, the problem with my command prompt was that several non-printing characters were being entered on the line as part of the prompt, and the shell could not accurately determine where to wrap the line, when to add a new line, etc.

Here was my existing prompt:

PS1="[\W]\$ \e]2;[\d \t]  [\w]\a"

What this does, according to the author is create a prompt containing the relative path of the directory I am working in (the \W) surrounded by square brackets, and ending with a “$” sign. The path looks like this:
[www]$ if I happen to be working in a directory named www – simple enough.

The second half of the command (the \e]2;[\d \t] [\w]\a) causes the date and time to be displayed in square brackets ([\d \t]) followed by the full path that I am working on ([\w]). The “\e]2;” and the “\a” are just commands that specify the fact that I wanted to change the window title rather than the command prompt.

The problem? Well, since the commands to change the window prompt are considered non-printing characters, the server would “display” them anyways, taking up room on my command line without me knowing it. the simple fix is to surround the second portion of my prompt command with a pair of brackets used for specifying non-printing characters. They are “\[" and "\]“, used to denote the beginning and end of the non-printing characters, respectively.

So, my new command looks like so:

PS1="[\W]\$ \[\e]2;[\d \t]  [\w]\a\]"

Pretty subtle difference, eh? It makes a world of difference however.

So, if you are seeing some weird behavior when connected to a Linux box with Putty or any terminal client for that matter, take a closer look at your command prompt configuration. Added tweaks such as the window title changes I made along with any sort of color changes you might have made to your prompt are likely the culprit.

 

Cheap! – Xbox 360 Les Paul Guitar

Best Buy is offering the Guitar Hero Les Paul guitar this week for $19.99 – that’s a whopping $30 off the regular price!

Guitar Hero Les Paul guitar $19.99 at Best Buy

They drop the price down to $9.99 if you buy it along with Guitar Hero: Metallica.

Either way, it’s a price you simply cannot beat!  As a bonus, they have the Wii and PS3 versions of the guitar on sale this week too.

 

Follow-Up: How to Enable Intel ICH RAID After Installing Windows Vista

Bypass this article and fix your Intel RAID Drivers immediately using RAIDFix


An update to this post can be found here

Many people seem to have found my original post about enabling ICH RAID after installing Vista quite helpful, so I thought it would be worth adding a follow-up post to add a few details.

First, some people have suggested that you can simply search for the iastor.sys file instead of navigating to the path I mentioned in the first post.  This should be a fine alternative to manually navigating there, but just be sure to pick the right iastor.sys file.

Second, some people mention that right-clicking on the iastor.inf file located in the same directory as the iastor.sys file gives you an “Install” option.  I have seen that option, and I tried installing the driver in that manner, but it did not  work for me.  Your mileage may vary.

Third, there is the question of ControlSet001 vs CurrentControlSet in the registry entries.  Without getting into too much detail, the CurrentControlSet value in the registry is simply a pointer to whichever Control Set has been loaded by Windows.  For simplicity (and compatability’s) sake, I have changed all entries in the reg file to point to CurrentControSet, rather than to a specific, numbered control set.  More often than not, your system will be using ControlSet001, but that might not always be the case.

Finally, Intel has updated their Matrix Storage Manager software as of 3/13, which means changes need to be made to the registry information in my previous post if you want to install the newest version of the software right off the bat.  If you would rather stick with the slightly older build, you can find it here.

What I decided to do was take a snapshot of the HKEY_LOCAL_MACHINE portion of my registry before and after installing the newest version of the Matrix Storage Manager software to see what values might have changed between versions.  I suppose I can’t say that this is an absolutely bulletproof way of determining what has changed, but it’s a pretty darn good attempt.

Luckily, not a ton has changed – in fact, only one section of the registry file has been altered in the new release.

The second key in the registry file that adds data to the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\0001 key has been slightly altered.  The changes to that section are on lines 2, 5, 6, and 7, which simply denote driver version changes:

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\0001]
"InfPath"="oem9.inf"
"InfSection"="iaStor_Inst_RAID"
"ProviderName"="Intel"
"DriverDateData"=hex:00,00,97,ae,db,8b,c9,01
"DriverDate"="2-11-2009"
"DriverVersion"="8.8.0.1009"
"MatchingDeviceId"="pci\\ven_8086&dev_2822&cc_0104"
"DriverDesc"="Intel(R) ICH8R/ICH9R/ICH10R/DO SATA RAID Controller"

That’s it – those are the only differences, aside from “Enum” entries that are specific to your computer.

Hopefully this helps some of you looking to switch on RAID in your Vista install.

Grab the NEW registry file here

Grab the OLD registry file updated to reflect CurrentControlSet here

Also, if someone would like to take a registry snapshot of their computer before and after both RAID is configured and Matrix Storage Manager is installed, I would love to see those registry files so I can do a bit of comparison.

 

New Google Mobile Update for Blackberry adds Voice Search

Google released the latest version of their Google Mobile application, adding both a Voice Search feature as well as a “Search with My Location”.Google Mobile for Blackberry updated with voice search

The Voice Search feature allows you to simply press the phone button and speak into the handset to search the web – very cool!

In addition to that feature, the Search with My Location option allows the application to utilize your handset’s built-in GPS module in order to localize your search results.  I can imagine the combination of these two features being a welcome addition while cruising around in the car looking for a restaurant or the like.

Pick it up here: Google Mobile for Blackberry