Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
Description of the issue
Recently, I was contacted by a customer who is running Windows Vista Home Premium, but who was unable to launch Windows Media Center. There was not a shortcut available on the Windows Vista start menu, and when they tried navigating directly to c:\Windows\eHome\ and running ehShell.exe directly, they received an error dialog with the following information:
The dialog looks like this:
In Windows Vista, a Group Policy setting was introduced to allow administrators to configure systems to not allow Windows Media Center to run. This setting was designed to be used in locked down environments such as corporate networks where Windows Media Center is not needed on a day-to-day basis. However, it is possible that this setting could end up getting configured on home systems as well.
How to work around the issue
If you see the above dialog when attempting to launch Windows Vista Media Center, you can use the following steps to disable the Windows Media Center Group Policy settings using the Group Policy Object Editor in Windows Vista:
If you see this dialog on your system, it is important to check both the Computer Configuration (per-machine) and User Configuration (per-user) locations for this setting because if either one of them is enabled, Windows Media Center will not launch and will display the above dialog.
What is happening behind the scenes
Behind the scenes, the Group Policy Object Editor sets the following registry values:
The logic for this setting is backwards from what you might typically expect because the setting indicates whether or not Windows Media Center should be disabled (as opposed to enabled). If the setting is enabled, it means that Windows Media Center will not be allowed to run. The MediaCenter registry value will be set to 1 in that case. If the setting is disabled or not configured, it means that Windows Media Center will be allowed to run. If the setting is disabled, the MediaCenter registry value will be set to 0. If the setting is not configured at all, the MediaCenter registry value will not exist on the system.
Where to find additional information
This Windows Media Center Group Policy setting and others that are supported in Windows Vista are described in more detail in the Windows Vista Group Policy Settings Reference. This spreadsheet is available for download at http://www.microsoft.com/downloads/details.aspx?FamilyID=41dc179b-3328-4350-ade1-c0d9289f09ef.
PingBack from http://msdnrss.thecoderblogs.com/2008/01/28/
Aaron Stebner has posted an interesting tip on using Group Policy to control the availability of Media
Yesterday, I posted some information about a Group Policy setting that can prevent Windows Media Center
PingBack from http://msdnrss.thecoderblogs.com/2008/01/29/how-to-re-enable-windows-media-center-in-the-default-programs-control-panel-on-windows-vista-home-premium-and-ultimate/
Den Windows Vista Media Center mit weniger Rechten (Gast) auszuführen oder im Kaufhaus mal schnell den Vista Media Center ausprobieren gelingt nicht, da Microsoft die nötigen Rechte sehr hoch angesetzt hat. Im Blog von A.Stebner gibt es jetzt die Anleit
PingBack from http://www.hilpers.nl/399898-windows-media-center
PingBack from http://www.keyongtech.com/2819662-lost-windows-media-center