Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Redirect a Streaming Session from the Web Browser to the AppStream 2.0 Client

Focus mode
Redirect a Streaming Session from the Web Browser to the AppStream 2.0 Client - Amazon AppStream 2.0

You can configure AppStream 2.0 to redirect a streaming session from a web browser to the AppStream 2.0 client. That way, when your users sign in to AppStream 2.0 and start a streaming session in their web browser, their session is redirected to the AppStream 2.0 client. To do so, perform these steps.

  1. Use the AppStream 2.0 CreateStreamingURL API action to generate a streaming URL.

  2. Add the following prefix for the custom AppStream 2.0 client handler to the streaming URL: amazonappstream:

    Together, the prefix and streaming URL are formatted as follows:

    amazonappstream:base64encoded(streamingURL)

    Note

    When encoding the URL, make sure that the encoding is in UTF-8.

    Powershell sample to encode: [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("Streaming/IdpURL"))

  3. When users are redirected to the streaming URL, their browser detects that the link must be opened by the AppStream 2.0 client.

  4. Users are prompted to choose whether they want to start the streaming session by using the AppStream 2.0 client.

  5. After the prompt, either of the following occurs:

    • If the AppStream 2.0 client is installed, the user can choose to continue the streaming session by using the AppStream 2.0 client.

    • If the AppStream 2.0 client is not installed, the browser behavior varies as follows:

      • Chrome — No message is displayed.

      • Firefox — A message states that the user needs a new app to open Amazon AppStream.

      • Microsoft Edge — No message is displayed.

      • Internet Explorer — A message notifies the user that the AppStream 2.0 client is not installed.

        In this case, users can select the Download AppStream Client link to download the client. After they download the client, they can install it, and refresh their browser to start the streaming session by using the client.

Create a Windows desktop shortcut using the default browser

To create a Windows desktop shortcut using the default browser to launch the client, use the following sample Powershell script.

$StringToEncode = 'your URL string' $encodedUrl = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($StringToEncode)) $shortcutContent = " [{000214A0-0000-0000-C000-000000000046}] Prop3=19,0 [InternetShortcut] IDList= URL=amazonappstream:$encodedUrl IconIndex=0 HotKey=0 IconFile=$env:USERPROFILE\AppData\Local\AppStreamClient\appstreamclient.exe " Set-Content -Path "$env:USERPROFILE\Desktop\AppStream 2.0 Client Launcher.url" -Value $shortcutContent
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.