Archive for the 'work' Category

funniest typo ever

Friday, March 12th, 2010

Once you’ve typed your username in Windows 7 setup and hit next, there’s no going back. Not without creating a new user account and deleting the mis-typed one.

Updated: How to fix a reassigned C:/ drive letter

Thursday, February 4th, 2010

More than two years after I wrote this first blog entry dealing with the subject, having come up against this problem time and time again without being able to fix it, I went and did some experimenting on a PC at work to see if I could find a solution.

Short version: Instead of trying to swap the drive letters around by renaming the \DosDevices\ registry keys, I’ve discovered that if you delete the lot of them, Windows will recreate them when it next boots (as many of them as you have discrete disk drives plugged in at the time), and on the machine I tried it at work today it worked flawlessly: it reassigned the boot drive as C:\, the CD drive as D:\, the four card reader slots as E:\ through H:\ and everything was fixed.

Longer, more helpful version: If you’ve just added a hard drive to your PC (typical scenario: it’s the ex boot drive of an older PC you’ve just decomissioned, and you want the data off your old XP install) and Windows no longer boots, getting stuck instead just before the welcome screen with just the windows XP logo showing and no “Please wait” text below it, it’s very likely that XP’s suddenly developed an identity crisis of sorts and is referring to the new drive as C:\. It’s stupid, really quite illogical, and basically poleaxes that install unless you’re willing to play chicken with the registry.

Fortunately, this game of chicken is reasonably tried and true, and it’s easy enough to figure out if you’ve got even a bit of technical familiarity with your PC (as you probably are if you’ve just opened it and plugged another hard drive into it).

Hit Windows + R to bring up the Run dialog (probably you can also get to it by clicking your Start menu and then “Run…”), type regedit and hit enter. This will load the Registry Editor, which is basically a precision scope that lets you look inside your operating system’s brain. This particular registry key – HKEY_LOCAL_MACHINE / SYSTEM / MountedDevices – lists the mapping between various disk drives on your computer and their respective drive letters as visible in My Computer.

What happens is that it sometimes gets confused about how to refer to your boot volume, and if your boot volume’s drive letter changes after you install XP, it will probably get stuck partway through starting up and hang just before the Welcome/login screen.

The information here might also be of interest/use to you if that drive letter was D:\ or E:\ or something else other than C:\ from the moment you installed XP, and you want to change it back to C:\ without having to reinstall again.

The fix: Deleting each of the \DosDevices\ values shown in the registry in the above screenshot will cause Windows to recreate and reassign the drive letters in your computer. If XP’s not booting anymore, obviously you can’t just run regedit like above, but there are ways around it. There do exist commandline tools you could run from a floppy disk or something, but by far the easiest way is to grab a registry-editing liveCD of some sort. I use Mini XP on Hiren’s BootCD, but this tool should do the trick easily enough for most.

This procedure has so far worked to bring Windows XP back to life on both a customer’s PC at my work, and on my own laptop at home (on which I dualboot XP and 7 for just this sort of messing about). If you try this method, leave a comment or email me and let me know how it went!

Update 10/2: If you have programs installed to drive letters other than C:\, be aware this could wreak havoc with those. Windows may be intelligent enough to reassign the driver letters with respect to installed programs, or it may not be. I haven’t tested this, and being a rare set of circumstances I doubt I’ll ever have the opportunity to. Your best bet in that situation would be trying the old manual renaming method. Remember you could delete the DosDevices entries to fix things enough to make it bootable again, and then swap drive letters D+ to your heart’s content to get your other programs to work without reinstalling those.

Uninstalling Trend Micro without the password

Wednesday, February 3rd, 2010

A customer at work wanted me to take Trend Micro Internet Security off his PC. The only problem was someone’d helpfully password-protected Trend, and nothing could be done without the magic word. After some fruitless googling, I gave up and called Trend Micro Australia for help.

I’d long considered this a last resort for any problem, but was pleasantly surprised with the outcome. The guy I spoke to asked for my name and the serial number of my product. I said I didn’t have the serial number, but went on and explained my problem to him.

Far from refusing to help me without that little bit of information (I’ve been hung up on by tech support from other companies for not precisely following their rulebook), the fellow immediately latched onto the problem and told me to Start -> Run -> tissuprt, which is a kind of maintenance program for Trend products. It provided a very simple GUI with a button to uninstall all Trend products from the PC without requiring the password. Exactly what I (and probably you googlers) needed.

I mentioned to him the trouble I’d had in finding out how to do this, and he said it’s actually on their website, plain as day for anybody to read. He helpfully emailed me the link, and here it is.

Full marks to the company for the phone support, but the reason I couldn’t find that page in the first place is because nowhere on it does it have the word “password”. Go look, I’m not kidding. Nobody who’s needed this information has been able to find it, because inevitably their search is phrased around not having that password.

Anyway. Hope tissuprt helps somebody.

More extreme than other leading TIMs

Tuesday, December 8th, 2009

EXTREME TIM

I swear this isn’t a scrapbooking blog

Friday, December 4th, 2009

This computer suggested an insane screen resolution:

7181x1039

This MSI laptop recommended one:

8192x15365

This file doesn’t exist, but it might if you delete it:

.wtf files are tricky.

This is what a touchpad looks like, under the cheap paint:

Well-worn touchpad.

This is the cleverest virus I’ve ever seen:

CAPTCHA-harvesting virus.

(If you have this “Windows XP Professional”-branded virus on your computer – forcing you to solve a CAPTCHA puzzle every few minutes, lest it reboot your computer – hit ctrl+alt+delete and close rundll32.exe. Then download and run combofix and then avira to get rid of it.)

Rant: USB hard drives and warranty

Friday, October 30th, 2009

Thinking of buying a USB hard drive?

External USB hard drives at Officeworks.

Obviously you’re gonna go for the one with the longest warranty – three years will surely see you through your CompSci degree, yeah?

Hold on for a minute. There’s a point I’d like to make.

Hard drives are reasonably equal beings, nowadays; some tend to fail more than others, but it’s impossible to tell for years after they’ve hit the market, and nobody’s going to wait that long. They’re also a very competitive market, where prices fluctuate by mere dollars and cents every week, and when the pressure gets as high as it is now, they’re going to cut costs everywhere they can to stay in the game.

They can’t cut many corners with the drives themselves. I’m talking about the cheap crappy boxes they put them in.

Read the rest of this entry »

Howto: Edit the boot menu easily in Windows Vista and 7

Saturday, September 19th, 2009

Startup options in Windows XP. Startup options in Windows 7.

The Windows XP boot menu is determined by the contents of C:\boot.ini, a scary little text file that nevertheless is pretty important to know about if you fix computers. Microsoft changed how the boot menu works in Windows Vista and 7, helpfully removing the Edit button as you can see in the screenshots above.

You’re meant to use the even scarier command-line-only tool bcdedit, but I can’t be bothered learning how that works just to fix the incredibly basic problems I usually see (duplicate entries due to messed-up OS installs or repairs, or tweaking dualboot systems properly).

I’d like to share a lazier solution: VistaBootPRO gives you a perfectly good GUI for boot menu editing. The personal edition sells for US$10 on their site, but there appears to be a free version available here if you’re only going to need it once or twice.

VistaBootPRO on Windows 7.

It gives me a slightly scary error message on startup about Vista not being detected (I’m running Windows 7) and that I may “experience minor problems”, but it’s worked fine for the basic things I’ve done with it. YMMV.

Solved: “Bluebirds” installer on LG GH22NS50 DVD-RW

Thursday, September 3rd, 2009

LG GH22NS50 DVD-RW. LG GH22NS50 sticker.

This is the LG GH22NS50. We’ve started stocking these at work – just the next low-cost SATA burner option for us. Except it comes with a nasty surprise, and that surprise is Bluebirds.

Bluebirds 'disc' shown in My Computer.

It’s some kind of drag-to-disc software included with the drive. Not on a CD, of course; it’s hacked into the drive’s firmware, and shows up when there’s no disc in the drive at all. Which means that every time you close the tray with nothing in it, you get prompted to install it, thanks to Windows helpfully autorunning it.

It’s not really a malicious program. It just sits in your system tray until you close it or uninstall it (Control Panel -> Add/remove programs, in XP). It’s probably even helpful, for the few people who let it sit around long enough to find out. I haven’t seen anyone do that yet.

Way to go, LG; not only does your drive automatically try to install an unwanted program on your customers’ computers, but you’ve changed a fundamental thing about how CD drives work: If there’s no disc in the drive, it should be empty and that’s the end of it. You’ve changed how it behaves, and that fills us with false and misleading knowledge.

It’s as bad as when ISPs used to rebrand Internet Explorer as being “provided by [some telco]“; none of my customers could ever understand that IE was just a program on their computer and nothing to do with their ISP.

Anyway, the fellow who started this forum thread has the solution – there’s a firmware update for the drive that removes the Bluebirds installer, along with the fake disc-in-drive thing. Not to steal his thunder or anything, but I wanted to complain too. :)

Firmware update for LG burner.

The firmware updater orders you to remove the disc from the drive before running the firmware update, which is the most passive-aggressive thing I’ve ever seen a PC program do. You have to eject the drive and let it sit there poking its tongue out for 30 seconds while you erase the Bluebirds part of its brain.

I’ve uploaded the program to my /static/ folder, so there’s another place on the internet for it to be found:

You might want to read that forum thread anyway. The utter lack of official information from LG about this is disturbing.

Obviously this just removes the installer and auto-runner from the drive; if you’ve clicked yes to install it, you’ll have to uninstall it from your computer as well. I don’t recall seeing it in Control Panel; there’s a link in the Bluebirds folder in your Start Menu to get rid of it.

Update 30/9/09: There’s a separate version for the Lightscribe-enabled GH22LS50; that can be found here:

LN01 firmware update for LG GH22LS50 (Lightscribe) DVD-RW: http://tim.id.au/static/GH22LS50_TL01.exe (2MB)

Update 7/1/10: A few commenters here run Linux or BSD or something else that isn’t Windows; I don’t currently have a practical way to experiment with it myself, but one commenter successfully reflashed his drive using Crossover Linux. They offer a fully-functional 30 day trial here, and I recommend trying that if you possibly can.

If you seriously have no way of flashing it yourself though, any little PC shop ought to be able to do it for you for a small fee – if you visit the place you originally bought it from they may do it for free if you complain logically enough. At my work we pre-emptively reflash the drives before they go out because we couldn’t stand the thought of selling them with the Bluebirds crap still in them.

Solved: Error 0×800704dd running Windows Update

Saturday, August 22nd, 2009

Frequently referenced as error 80240020. The fix depends on what version of Windows you use. Microsoft happily document each solution on its knowledgebase page here: http://support.microsoft.com/kb/910341/en-us

I wouldn’t bother blogging this, but the fix for Windows 2000, XP and 2003 involves adding a registry key that’s gone missing. Something happens to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\SensLogn, namely that it disappears. Not sure what’s causing it, but I’ve seen it on two PCs at work in the last week, and I quickly tired of re-typing the key information (there’s 14 different fields to fill in…).

Here for your (and my!) quick reference is SensLogn.reg. Right-click, save to anywhere, and merge with your registry on 2000, XP or 2003 to fix error 800704dd.

Solved: Blinking cursor, no boot on Toshiba Tecra M2

Thursday, August 6th, 2009

Here’s a weird one. Today it was a Tecra M2; I suspect it’d apply to a number of models, and in fact a number of different brands too.

This laptop had stopped booting off its hard drive. All it would do – after running through its boot device priority list including CD/FD/network boot – would sit there doing nothing but blinking a text cursor at me from the top left corner of the screen. No error message, nothing to indicate any kind of progress or failure, it’d just get to the point where it should be booting off the hard drive and did nothing.

We tested the RAM – no faults. We chkdsk /r’d the drive – no faults. We ran a different surface scan tool, no faults. I pulled the drive out and checked it on another machine – every file present and accounted for. There was nothing visibly wrong with the thing.

Google results were mostly unhelpful. Apparently you get this if you flash a Toshiba laptop with the wrong restore image. Plenty of people were directed to change the drive, or reinstall Windows, or a million other things that wouldn’t end up helping.

The actual problem is that certain laptops can’t boot off a partition that’s above a certain size. Older laptops won’t see drives above a certain size – Dell Inspiron 6000s came with a 100gb drive for a good reason – but if you have a boot partition above about 128gb, some Toshibas will silently fail to boot at all.

The clue came from this Tomshardware thread, where a guy with a Dell came in on a Toshiba discussion with the ultimate solution. I resized the partition from 160gb (the size of the drive) to 120gb (a size suitably under the 137gb that guy suggests – I initially tried ~135gb but that made no difference), put the drive back in the laptop, and voila. The XP boot logo never looked so sweet.

Worked for his Inspiron 9300, worked for my Tecra M2. Grab a copy of Partition Magic from somewhere and give it a go, you might be surprised.