bild I was at Øredev 2009 in Malmö, Sweden this week. Øredev is fast becoming one of the premier conferences in Europe focused on the software development process. It's a consciously technology agnostic conference so there was not only a .NET tracks and a Java track, but also tracks like Agile Ways, User Experience and Cloud Computing.

I believe there were something like 100 speakers so it was an incredibly diverse conference. I hung out with some friends from Sun, an iPhone hacker from AT&T, ASP.NET Debugger Tess Ferrandez, Trygve Reenskaug the inventor of the MVC Model, as well as old friends like Carl and Richard and new ones like James Bach.

Oredev was interesting for a number of reasons, not the least of which being that they didn't use regular plates and utensils, but rather organic ones made from collected banana leaves.

I presented at the keynote on Friday. My topic was "Information Overload and Managing the Flow" and I talked about the differences between Effectiveness and Efficiency and how apply some personal introspective and get more work done. That video will be up soon and I'll post it along with my slides ASAP. I also presented on ASP.NET MVC 2.

Recorded Panel of Silly People

One of the random but fun things we did was the final panel of the conference. These are always silly things, presented just before the beer and chips arrive, and they are a nice way for everyone to blow off steam. Basically some of the biggest egos speakers participate in a panel where questions come from the audience and from Twitter.

The Panel was moderated by Björn Granvik, and the folks on the stage were:

  • James Bach - Author of Lessons Learned in Software Testing
  • Ola Bini - Thoughtworker, core developer of JRuby and creator of Ioke
  • Stu Halloway - Author of Programming Clojure
  • Me - Me
  • Oren Eini (Ayende Rahien) - NHibernate Profiler, NHibernate, Castle, Rhino Mocks
  • Chris Hughes - AT&T iPhone Hacker

Here's the video:

I had the idea to stream this panel live (I've done this a few times - fairly guerilla - at other conferences) over UStream.tv. I figured I'd just point my laptop webcam and crappy integrated mic at the stage and while it'd be lame, it'd be something fun to do as I know there's a bunch of people who'd like to participate.

Turns out the sound and video guys at this conference really know their stuff. We were able to jerry-rig a fairly nice little setup. They took the XLR cables and the complete mix from their mixing board and not only switched it down to a 1/8 male mic jack, but they also change it from line-output to mic-output to deal with my laptops lack of a line input.

Then, a guy said, hey, I've got a Professional Canon DV Video Camera with Firewire. It turns out I had a Firewire port on my laptop and I just plugged his camera in on a lark. Boom, Windows 7 found the drivers online and the Firewire Camera showed up as a webcam.

Using the uStream software, we mixed in video and audio and recorded this 60minute panel discussion.

To be clear, there is likely no actual "content" here. We were asked to "edutain" more than educate as it was the final fun of the conference. We were all pretty good friends by this point so we were flicking the mud fairly liberally.

One warning if you listen to this without headphones, there are about three swear words on the recording.

I hope the fun we had comes out in this spontaneous recording. Also, thanks to the roughly 200 people who heard about this LIVE stream on Twitter and joined the chat and drove the discussion.

If you like this kind of thing, let me know and I'll continue to put together these kinds of web-events. Enjoy!



Hanselminutes on 9 - Debugging Crash Dumps with Tess Ferrandez and VS2010I'm in Sweden this week at Øredev and I got a chance to talk to legendary ASP.NET Debugger and Escalation Engineer Tess Ferrandez.

In this video Tess shows me how to debug a dump of an ASP.NET Web Site with a pile of awesome and totally new features in Visual Studio 2010. You can open up dump files in Visual Studio directly and see visual representations of parallel call stacks. If you spend any time in WinDBG you're going to be excited by these new improvements in the debugging experience.

I also talked to Tess for an extended Debugging 101 session on the full 30 minute audio edition of my Hanselminutes Podcast out later this week.

Enjoy!



Windows Live Essentials My brother and his wife came over today and the kids went trick or treating. His wife mentioned she wanted to make a quick DVD of the pictures and movies we took, so I suggested Movie Maker. However, they only have dial-up and wanted an offline installer I could just put on a USB Stick (I actually figured I'd put it on their camera's SD Card.)

I went to http://download.live.com and searched all over, looking for an offline installer. I Googled with Bing, and then Googled with Google for things like "Windows Live Offline Installer" and found nothing but confusion.

Then I figured out this bizarre bit of UI on the Live Essentials download page. Rather than offering a small link for "offline installer" or a choice, you have to click Download which will attempt to start a Download of Windows Live Essentials online bootstrapper. It will then go and download just the programs you want.

However, if you cancel the download immediately, there's a "Try Again" button and some text that no one (including me) reads:

"Trying again downloads a standalone installer to your computer. This takes a little while, but may work better, depending on your connection settings."

Um, OK. I wouldn't label that Try Again, but OK.

Long story short, here's direct downloads for the Windows Live Essentials English Language ONLINE and OFFLINE installers. They are current as of the writing of this blog post. I'm not sure if they are version-specific downloads but I will try to keep them up to date.

Or, if you want an offline installer in other languages, go to http://download.live.com, click Download, cancel it, then click Try Again. I think it's weird, but there you go.

Enjoy.



I installed a PILE of new drivers tonight from Lenovo using their most awesome System Update 4.0. Included was a Bluetooth Stack update.

On a whim, I tried to pair my Jawbone Bluetooth Headset, something that has never worked before, and it worked!

Devices and Printers in Windows 7 showing my Jawbone

More interestingly, when I right click on the Jawbone and click "Control" I get this dialog I've never seen before!

Jawbone Bluetooth Dialog

This actually looks and feels a tiny bit unpolished. Note the tight vertical whitespace at the VERY top and the strange blue gradient, as well as the Vista-esque color scheme on the far left. Not sure if this was in Vista and just not updated for Windows 7, but it looks weird.

UPDATE: Confirmed - This crazy wrong looking dialog is owned by Lenovo, not Windows.

Still, then Skype popped up suddenly and said there was new audio devices available!

Skype - Options Dialog

Sure enough, I've got a new Microphone and new "Speakers" in the form of my Jawbone headset. I can even use this headset for Voice Recognition, or even as my Default Communications device for Phone Calls with Office Communicator. Or, I can listen to music through my Jawbone. Deeply cool.

Sound Control Panel

I'm not sure who to thank, Windows 7 for better audio and Bluetooth support, or Lenovo for a Bluetooth 2.1 driver. Either way, I'm thrilled that my laptop can suddenly do something with Windows 7 that it couldn't do yesterday!



Windows 7 with BitLocker and Still Booting To VHD

Posted 2009-10-30 09:34 PM in .

Lenovo Second Spindle Drive BayAs a remote worker at Microsoft I have to deal with a few little things that the average worker in Redmond doesn't.

For example, none of my machines are wired to "CorpNet." They're all remote so for the last two years I've had to RAS (Remote Access Service) into the corporate network. For a while you could use your password, but then you needed to use your Smart Card (or your immortal soul, as I call it) and a complex pin. So you've got multi-factor authentication, you need your actual network password (and of could your domain\username), your physical smart card and your smart card's pin. That's a lot. Someone evil could have two of those three things and you'd still be OK.

Since two of my three machines are laptops, there's always risk that I could lose it or have it stolen. If I kept secret stuff on my laptop (I don't) that could be a problem. Laptops run Windows 7 now and are required to be BitLocker'ed (FAQ). This means the whole hard drive is encrypted, there's an (optional) PIN to even turn it on, and it can take advantage of newer machines that have a TPM (Trusted Platform Module). Basically a TPM is a hardware cryptoprocessor that can store keys for securing information. BitLocker uses this chip to project the keys and makes sure the BIOs and boot sector haven't been tampered with. Fortunately it's all automatic so I don't have to think about it.

This is what I see when I'm booted off my Bitlocker'ed C: drive. That D: drive is my other spindle.

My drive Bitlockered

I recently Bitlocker'ed both my laptops, but I Boot to VHD for many demos and it's not possible to boot off a VHD that lives on a Bitlocker'ed volume. That's the one bad thing about Bitlocker from my point of view. I'm sure it's a chicken and the egg problem. How do you boot off a file on an encrypted volume without booting off the encrypted volume?

Turns out though that you can still Boot to VHD in a few other ways. You can partition your drive with a Bitlocker'ed C: and an unencrypted D:, or you can get a second spindle. That means, you can get another hard drive and put it in the slot when your DVD/CD usually goes. That's what I decided to do.

I bitlockered my 256 gig OCZ Vertex SSD, and I have a D: drive that is my 160 gig random no-name SATA drive. On that drive I only put demo VHDs.

I had to go into the BIOS of my Lenovo W500 and add the drive to the "boot order" in order to make it spin up on boot and be available to Windows. Then, since I can't really be sure of it's drive letter that early, I changed the syntax of my BCDEdit settings a bit. Figured I'd let Windows figure it out, so instead of [D:] I used [LOCATE]. Like this:

C:\>bcdedit /copy {current} /d "My New VHD Option"
C:\>bcdedit /set {guid} device vhd=[LOCATE]\<directory>\<vhd filename>
C:\>bcdedit /set {guid} osdevice vhd=[LOCATE]\<directory>\<vhd filename>
C:\>bcdedit /set {guid} detecthal on

Now, when I'm booted into my VHD, I see this:

 Booted to VHD with a Bitlocker'ed original C:

What are we seeing?

  • My D: drive is my original boot SSD. It's marked with a lock icon. I can't access it right now.
  • My C: drive is the whatever.vhd that I booted off of. I made it 40gigs, so it is. (The actual file is 15gigs, but it "blows up" while I'm running on it. It'll shrink back down when I'm not booted off it.
  • My E: drive is some system partition I don't know about.
  • My F: is the Second Spindle that all my VHDs live on.

But, how can I get access to my secure C: drive when I'm booted into this insecure world? Of course, we don't want the bad guys to get in there, which makes sense.

If I double click, I see this:

Getting access to a BitLockered Drive

These options are all settable with Group Policy I think, but my choices are to add a really complex Password to get access to this drive or use my Smart Card. I can also use the recovery key that I saved in a secure location when I originally locked the drive.

I unlock it, and I see this:

Booted to VHD with an unlocked bitlocker drive

Now, just for the duration of this single boot, this disk is available to me. Very cool.

I was a little afraid when I Bitlocker'ed my machine just before a trip, but I'm feeling pretty good about it so far. I haven't noticed any perceptible slowdown but the FAQ says "single digit." I've heard numbers like 3%, but I haven't noticed it in the sense that my machine isn't suddenly "sluggish."

I'm VERY suspicious when corporate IT wants to reach out from Redmond and do something to my computer but this turned out great.

Here's the email I sent internally to my team today about Bitlocker:


As you know, MSIT is starting to put BitLocker on mobile machines. I recommend you upgrade any Vista machine to Windows 7 before running Bitlocker. As always, backup your data first.

I figured I should be the guinea pig for you guys, so I Bitlockered BOTH my Lenovo T60p and Lenovo W500 yesterday. These are my two corporate machines.

1a. On my W500 I was automatically prompted to reboot and enable the TPM (trusted platform module) in my BIOs. This enable step was automatic and only required me to press F10 once.

1b. On my T60p, I was told to enter the BIOs manually and enable it. There is no “TPM” section in the T60p. Instead, you go into Security, the Security Chip and turn on all the options under Security Reporting. Save your BIOS settings and reboot.

2. When prompted for a “PIN” I declined. This >=5 digit number would be a system-level password for when you start-up your machine. It's recommended, but ultimately up to you.

3. The process ran OVERNIGHT. It took at least 5 hours on each machine from what I can tell.

4. Next, go to the Start Menu and type “manage bitlocker.” You’ll want to save and print your recovery key. The Importance of this step cannot be overstated. Save this key and treat it like it is your immortal soul.

c. If Bitlocker smells any funny business you’ll get prompted for these keys. Murphy’s Law says this will happen 10 minutes before a major conference speech. No excuses for not having these. Without them, your computer is a brick. (That's kind of the wonderful point of BitLocker. ;) )

That scary part said, it works exactly as it should. It was easy and painless.

So far, we are not forced to lockup second drives/spindles. This means that you can STILL boot to VHD off of a second drive if that drive is NOT connected via USB (SATA, IDE, etc are still Ok). I’ve moved my BootToVHDs off into D:\ for this purpose. Regular VMs run just fine on the BitLocker'ed drive.

All in all, it works exactly as it should. I have no idea it’s there and my machine seems just as fast.

Let me know it you have any questions.


All in all, an interesting experience. I'm glad it went so well. You can even BitLocker USB drives as well with BitLocker To Go.

Related Links




Contact

Sponsors

Hosting By

Hot Topics

Tags

Calendar

<November 2009>
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

Archives

November, 2009 (2)
October, 2009 (19)
September, 2009 (11)
August, 2009 (12)
July, 2009 (21)
June, 2009 (26)
May, 2009 (16)
April, 2009 (13)
March, 2009 (17)
February, 2009 (17)
January, 2009 (18)
December, 2008 (32)
November, 2008 (17)
October, 2008 (22)
September, 2008 (16)
August, 2008 (14)
July, 2008 (25)
June, 2008 (19)
May, 2008 (17)
April, 2008 (17)
March, 2008 (26)
February, 2008 (21)
January, 2008 (28)
December, 2007 (19)
November, 2007 (17)
October, 2007 (31)
September, 2007 (39)
August, 2007 (37)
July, 2007 (43)
June, 2007 (37)
May, 2007 (32)
April, 2007 (38)
March, 2007 (29)
February, 2007 (46)
January, 2007 (31)
December, 2006 (27)
November, 2006 (31)
October, 2006 (32)
September, 2006 (39)
August, 2006 (34)
July, 2006 (40)
June, 2006 (18)
May, 2006 (31)
April, 2006 (34)
March, 2006 (30)
February, 2006 (38)
January, 2006 (44)
December, 2005 (19)
November, 2005 (34)
October, 2005 (24)
September, 2005 (37)
August, 2005 (20)
July, 2005 (24)
June, 2005 (33)
May, 2005 (16)
April, 2005 (22)
March, 2005 (34)
February, 2005 (15)
January, 2005 (37)
December, 2004 (28)
November, 2004 (30)
October, 2004 (34)
September, 2004 (22)
August, 2004 (34)
July, 2004 (18)
June, 2004 (64)
May, 2004 (49)
April, 2004 (21)
March, 2004 (29)
February, 2004 (29)
January, 2004 (36)
December, 2003 (25)
November, 2003 (24)
October, 2003 (59)
September, 2003 (42)
August, 2003 (24)
July, 2003 (44)
June, 2003 (29)
May, 2003 (21)
April, 2003 (30)
March, 2003 (27)
February, 2003 (47)
January, 2003 (50)
December, 2002 (31)
November, 2002 (38)
October, 2002 (44)
September, 2002 (15)
May, 2002 (2)
April, 2002 (4)

Google Ads