Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Set Program Access and Defaults and Windows Media Center

Set Program Access and Defaults and Windows Media Center

  • Comments 2

I got a comment from a customer asking about the availability of some Windows features such as Internet Explorer and Windows Media Player on a Windows XP Media Center 2005 computer that they purchased from an OEM.  This comment made me realize that it is likely that not everyone out there is aware of a control panel applet called Set Program Access and Defaults (or SPAD for short) that can be used in Windows 2000 and Windows XP to control the default behavior of the OS for certain types of middleware applications such as email clients, web browsers, media players, instant messaging clients, etc.  The SPAD applet also has specific items that can be used to show or hide individual Media Center experiences (DVDs, music, radio, TV, videos and Online Spotlight).

If you are interested in taking a look at the SPAD applet, you can get to it by opening the Add or Remove Programs control panel on a Windows 2000 Professional, Windows XP, Media Center or Tablet PC OS.  There should be an item on the left side of the Add or Remove Programs control panel called Set Program Access and Defaults.  Clicking this will open the configuration window for SPAD.  You can use this to specify default programs to use for various activities and also enable or disable access to programs.  A common usage of SPAD is to hide all entry points to Internet Explorer or Windows Media Player for example.

If you look at the Custom settings for the SPAD configuration control panel on a Windows XP Media Center 2005 machine, it looks like the following:

Set Program Access and Defaults

Applications that fit into the categories in the SPAD configuration control panel can install registry keys that will cause their applications to appear in this control panel if they want to.  The registry values that control what appears in the SPAD control panel are located at HKEY_LOCAL_MACHINE\Software\Clients, and there is some good documentation regarding how to register an application to work correctly with the SPAD control panel in this MSDN article if you are interested.

There is also some more in-depth information about the SPAD control panel in this article.

 

  • Hi Aaron...

    Is there any reason why the 'My Photos' component of MCE can't be hidden via SPAD (i.e. via a Media Center Photos option)? Did that simply get missed? or is there more of a back story behind that?

    Thanks
  • Hi Jason - that is a good question. This decision regarding photos and SPAD predates my time on the Media Center team, so I am not 100% sure of the reasoning. I asked around a bit and nobody was sure either. It is likely that we decided to do this because the SPAD infrastructure in the OS itself does not have a specific category for picture file viewers and that picture viewers are not considered middleware like web browsers, email clients, etc. Also, there is not any special logic that needs to be applied when displaying pictures, whereas there are digital rights management issues for other media types.

Page 1 of 1 (2 items)
Leave a Comment
  • Please add 8 and 2 and type the answer here:
  • Post