Windows 7 VHD boot option – no more VDI for testing?

Posted on February 21st, 2009 in Deployment, Server 2008, Vista, Windows 7 by alt-92

The beta version of Windows 7 (the public build 7000, and build 7022) offers support in BCDedit to boot from a VHD file on hard disk.
As explained in this Edge video (http://edge.technet.com/Media/Boot-from-VHD-in-Win7/) the install behaves just like normal, with a few exceptions such as BItlocker support and Hibernate (since these are disk-dependent).

It looks like a ‘nice to have’ feature for the ubertweaker and enthusiast at first, but think about this:

What if you need to support a DTA environment for desktops? Now, you don’t have to mess around with Virtualization software – just provision and deploy the VHD file with the appropriate configuration (such as a segmented VLAN for Test or Dev) and let your application developers use the same hardware.
No double PCs, no double network outlets, no extra poweroutlets or powerconsumption (think green here).

Sure, it needs some tweaking (preventing disk access between images) but.. tempting nonetheless…

Vista SideShow Media Center Gadgets

Posted on January 24th, 2009 in Media Center, Vista by alt-92

Windows SideShow is a new technology that delivers information from your PC to a secondary display on two kinds of devices: those that are integrated into a computer, such as a small color display in a laptop lid; and those that are separate from a computer, such as a remote control or Windows Mobile phone.

While Sidebar is basically a Webpart, SideShow is managed code which means .NET code.
The Developers Preview SideShow for Windows Mobile devices was released in june 2008.
Unfortunately, a coding mistake meant that december 31st 2008 the Mobile code stopped working…
… just when the Media Center Gadgets were announced.

Oops.

With the error now corrected,  Sideshow allows you to view settings, images and remote control Vista Media Center and Office applications (Outlook and PowerPoint 2007) from a Bluetooth connected WM5 or WM6+ device.

Some screenshots:

ScreenShot5 ScreenShot1

ScreenShot2 ScreenShot3

ScreenShot4 ScreenShot6

SideShow gadgets are available from Live Gallery and include System monitors (complete with Remote control options e.g. shutdown, sleep, reboot), Outlook and PowePoint Gadgets and even iTunes Remote.

Opening .CHM files from network drives – the GPO way

Posted on December 11th, 2008 in Security, Server 2003, Vista by alt-92

Trying to read non-local HTML Help files since Security Bulletin MS05-026 has always been a very frustrating process.
First, there is the common ‘Oh oh, you’re opening a potentially dangerous file’ popup:

Well, yes. I want to, it’s already stored on my network. I put it there. In fact, I already unblocked the content when I downloaded the file.

But still I get a blank page in the Helpfile:

So let’s go check the KB Article page to see what we can do.

Ah. While there is a helpful section explaining the registry keys needed to Make Things Work again regeditting manually is not everyones favourite pastime:


Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions]
"MaxAllowedZone"=dword:00000001
"UrlAllowList"="\\\\alt-92.net"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000001
"UrlAllowList"="\\\\alt-92.net"

No, the double \\ are no mistake. You need to escape backslashes.

Now repeat for every computer. Wash, rinse, repeat.

Time to get busy.
Using GPOs seems a likely solution. In fact, the KB article references GPO’s but in a very nasty way.
So why not use Vista’s new GPO Preferences?

To start off, create a new GPO (appropriately named GP_HTMLHelpFix ).
Dig down into the Computer Configuration tree, until you reach Preferences> Windows Settings > Registry.

Create new entries for the values needed:

You can use the UrlAllowList setting to enter DFS roots or local intranet domain.

After linking the Computer GPO to the proper OU and doing a gpupdate, you should see the results in the Registry Editor:

The above approach works in most cases. Except.. it’s still not working.

As it turns out, I not only need to configure the registry keys, but also need to properly configure Internet Options to include the namespace in the local Intranet Zone.
Apparently, there is a problem in IE7 listed in MSKB article 941001.

If you configure a policy setting to a value other than the default value, a local site may appear as “Local Intranet” even though you expect it to appear as “Internet,” or vice versa.

The default settings which should work but don’t:

So let’s tick off Autodetect, tick “Include all Network paths (UNCs)” since a drivemapping is also UNC..

Click Advanced, and enter the domain as a file://-based UNC path..

Re-tick autodetect, with the settings enabled and ‘Ok’ your way though.

Import these settings in the appropriate GPO object to control IE settings if you have them.

Bonus: Use a WMI filter to exclude or include the operating systems you wish to apply these settings to. The Filter shown ensures the GPO only applies to XP desktops and Vista RTM or SP1 desktop machines, and not to any 2000 Pro or 2003 Server machines that inadvertently stray out of their OU.

By the way:

It worked!

Smart-resizing Remote Desktop connections?

Posted on November 21st, 2008 in Server 2003, Server 2008, Vista by alt-92

Guess you can learn something new every day.

http://blogs.msdn.com/ts/archive/2008/08/07/smart-sizing-the-ts-client.aspx

Since the Windows XP timeframe, the TS Client has had the ability to run in “smart-sized” mode (users of Remote Assistance will be familiar with this mode). Smart-sized mode means that the entire remote desktop is always visible in the client window, with no scrollbars being necessary. In effect, for the same size client window, smart-sizing shows you more graphic data, while a non-smart-sized client window has to use scrollbars and shows much less.

Which means by adding

smart sizing:i:1

to a .rdp file (which is a textfile after all) you can get resizing Remote desktop windows too :)

Hardware failure induced stress

Posted on August 26th, 2008 in Crazy stuff by alt-92