Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 2: Obtain the AppUserModelID of the Wireless Display App

Windows makes it hard to launch the Wireless Display app using conventional methods, instead we need to do it using it’s AppUserModelID.

Follow these steps:

  1. Open PowerShell

  2. Execute the following command to list apps related to wireless display:

    Code Block
    Get-StartApps | Where-Object { $_.Name -like "*Wireless*" -or $_.Name -like "*Display*" -or $_.Name -like "*Connect*" }

  3. Note the AppID from the output, which should resemble:

    Code Block
    languagenone
    Name AppID ---- ----- Wireless Display Microsoft.WirelessDisplay.Connect_cw5n1h2txyewy!App

    In this example, the AppID is Microsoft.WirelessDisplay.Connect_cw5n1h2txyewy!App.

...

Code Block
@echo off 
start explorer.exe shell:appsFolder\Microsoft.PPIProjection_cw5n1h2txyewy!Microsoft.PPIProjection 
exit

Step 4: Create a Batch File to Close the App via Igloo Core Engine

Code Block
@echo off 
taskkill /f /fi "WINDOWTITLE eq Wireless Display*"
exit

Step 5: Layer Configuration

  1. Open the Wireless Display

  2. Create an AppView Layer and Capture the Wireless Display App

  3. Configure the ‘On Add Batch’ and ‘On Remove Batch’ file using the batch files generated in steps 3 and 4.

  4. Save the Session