Archive for the ‘Microsoft’ Category

The return of err.exe

Tuesday, October 9th, 2007

I’ve been working with Karin Meier-Magruder from the SDK team at Microsoft to get everyone’s favorite tool, err.exe, [re-]added to the PSDK. She’s working on getting it done, but meanwhile, as a special treat for Kernel Mustard readers, I have a newly updated err.exe ready for download. There’s a EULA inside the .zip that governs the tool’s use.

For those that haven’t used it before, the current err.exe indexes 22,851 error codes from 171 sources. Pass it a magic number from somewhere and it’ll make sense out of it!

Enjoy!

IE7 Crashing?

Friday, June 15th, 2007

I have noticed in the past few days that IE7 has been crashing a lot on msdn2.microsoft.com. Is anyone else seeing this or did I somehow screw up my system? Vista, latest updates, blah blah…

Microsoft discusses a redesigned OS

Tuesday, May 29th, 2007

I’ve had a long-running argument with anyone that will listen that multi-core computing will require a fundamentally different programming model. Of course, I’m remotely the only person saying this, but it seems to be a bit of a contentious topic regardless.

I just ran across an article on ArsTechnica in which a Microsoft exec discusses a future version of Windows that deals with massively multi-core computers. There is some interesting stuff in the article. I’d heard through the grapevine that this was underway, and if I weren’t so busy with PhoneFactor, I’d love to code on it!

I worked up a lock-free doubly-linked list last summer, and had intended to try it out in a couple of drivers, but predictably enough, I ran out of time. That, and Doron Holan promised me that it was a waste of time, and who am I to argue with him. :-)

This stuff is going to have a massive impact on usermode software when it eventually happens. For more on the topic, there is a good list of podcasts over at Xerox PARC on the topic, including one by Herb Sutter of Microsoft.

Windows Server 2008

Friday, May 25th, 2007

It looks like Longhorn Server is officially going to be Windows Server 2008. Beta 3 is avialable at connect.microsoft.com.

I haven’t had time to download it yet, but hopefully I’ll have some time over this extended weekend. Maybe!

The death of WFP

Tuesday, March 27th, 2007

One of the nicer little changes to Vista is the re-engineering of Windows File Protection into Windows Resource Protection (WRP). As everyone who’s ever tried to construct a partial checked build knows, replacing a file like ndis.sys in older OSes was a pain – you had to edit the registry and boot with the debugger to keep windows from silently clobbering your replaced file.

Windows Vista takes a much more intelligent approach to the problem: it prevents users from deleting these files in the first place, using the built-in security mechanisms of the OS. Protected resources get an ACL that prevents writes/deletes/etc, and the files are owned by a special user.

Now, if you want to replace a file for testing purposes, life is a lot easier – just take ownership of the file, give yourself full control, and re-name the old file. Drop in the new file and you’re done – no need to worry about the watchdog thread any more.

WRP also protects registry keys now using the same mechanism. More info is available at http://msdn2.microsoft.com/en-us/library/aa382503.aspx

MVP Summit wrap-up

Friday, March 16th, 2007

I had an awesome time at the MVP summit in Seattle and Redmond this week. The executive briefings were about what you’d expect – roadmaps, technology overviews, etc. The Gates keynote was good, particularly once he got to the 45-minute question-and-answer part.

But, once again, the highlight of the week was the time spent with the product teams. Big thanks to Johan Marien from the WDK team for organizing a great day and a half of presentations and discussions with the various teams. We got to spend time with the WDF teams, the WDK team, and lots of others with whom I was less familiar.

I learned a lot and got a lot of clarification on topics I thought I understood (i.e. signing, DTM, etc.). I’ll see if I can write up a few posts on some of the high points.

Anyway, thanks again to everyone at Microsoft for putting together such a great event!

Hi from the MVP summit

Tuesday, March 13th, 2007

I’m at the 2007 MVP Global Summit this week. It looks like it’s going to be a lot of fun – executive briefings, product team discussions, and an interesting-looking party are on tap for the next two days. Wi-Fi has been spotty and my Verizon data service has been only marginally more reliable.

An amazing thing just happened, though – I was waiting in line to get into the Bill Gates keynote, and when the doors opened, an entire crowd of people ran – ran – into the auditorium, cheering the whole way. It looked like a sports event. Nobody was trampled, to my knowledge, but a bunch of people in the first three rows keep doing the wave. Amazing.

EULA clarifications

Tuesday, November 14th, 2006

A big thanks to Johan Marien from Microsoft for addressing some of the recent licensing questions raised over the WDK samples’ EULA. According to Johan, the license restrictions on redistribution of WDK source were present in the SP1 DDK, and the samples.txt file was added to provide a mechanism for making certain source code redistributable in the future.

His post on NTFSD has all of the details, which I won’t repeat here. He also asks for feedback on which samples you would like to see made available for redistribution, so if you have a business need, it may be worth bringing it up with him. Otherwise, it looks like you shouldn’t distribute source code derived from WDK samples to customers, unless you have a separate agreement with Microsoft.

Check that EULA

Monday, November 13th, 2006

Tony Mason from OSR sent a mail to NTFSD today detailing his concerns about the RTM WDK’s newly improved EULA. I am not a lawyer, and neither is Tony, but it looks like source redistribution has been greatly restricted compared to previous kits. If you depend on samples in the kit, it looks like it would be a good idea to read the RTM EULA carefully (or better yet, send it to your lawyer).

Windows CE 6.0 released

Tuesday, November 7th, 2006

That other Microsoft OS seems to have launched last week. Not my area precisely, but it looks like there’s some interesting stuff there. Here’s another site with some interesting details.