Change Media Streaming Settings - Windows Server Essentials

The following options are available for you to change media streaming settings:

  • Hide remote media streaming add-in

  • Set the media library name

  • Programmatically enable or disable media streaming

Hide remote media streaming add-in

  1. On the server, move your mouse to the upper right corner of the screen, and click Search.

  2. In the Search box, type regedit, and then click the Regedit application.

  3. In the left pane, expand down to the following registry entry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Server\RemoteAccess\DisabledAddIns

  4. Right-click DisabledAddIns, point to New, and then click DWORD Value.

  5. For the new value, type 497796c6-9cc7-43be-aa26-4e6b5695370d, which is the identifier for the remote media streaming add-in, and then press Enter.

  6. Right click the value, and then click Modify.

  7. Type 1 for the value data, and then click OK.

  8. Repeat step 4-7, create three more DWORD Value: c818cb56-1bd7-41ef-aeb2-6472f76eca41, 72225521-428d-4b35-b975-2879b7147486, 53d9b5d7-357d-479c-bfd9-96c8b2af3b2c, which separately identifies Video, Photo, Music add-ins, and modify their values to be 1.

Set the media library name

To use a class in the Windows Server Solutions SDK to set the name of the media library, set the name of the media library, by using the SetMediaLibraryName method of the MediaStreamingManager class in the Microsoft.WindowsServerSolutions.MediaStreaming namespace. The following example shows how to set the name of the media library:

MediaStreamingManager mediaStreamingManager = new MediaStreamingManager();
string mediaLibraryName = Guid.NewGuid().ToString("B"); 
mediaStreamingManager.SetMediaLibraryName(mediaLibraryName);

For more information, see Windows Server Solutions SDK.

Programmatically enable or disable media streaming

To use a class in the Windows Server Solutions SDK to programmatically enable or disable media streaming, use the SetMediaStreamingEnabled method of the MediaStreamingManager class in the Microsoft.WindowsServerSolutions.MediaStreaming namespace. The following code example shows how to enable media streaming:

MediaStreamingManager mediaStreamingManager = new MediaStreamingManager();
mediaStreamingManager.SetMediaStreamingEnabled(true);

The following code example shows how to disable media streaming:

MediaStreamingManager mediaStreamingManager = new MediaStreamingManager();
mediaStreamingManager.SetMediaStreamingEnabled(false);

Preparing the Image for Deployment - Windows Server Essentials

Testing the Customer Experience - Windows Server Essentials

Send comments about this topic to Microsoft