...
Setting Up Windows Screen Mirroring
Step 1: Configure Machine to Allow Windows Casting
Follow the instructions for setting up the machine running Igloo Core Engine to allow casting
Screen mirroring and projecting to your PC or wireless display - Microsoft Support
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:
Open PowerShell
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*" }
Note the
AppID
from the output, which should resemble:Code Block language none Name AppID ---- ----- Wireless Display Microsoft.WirelessDisplay.Connect_cw5n1h2txyewy!App
In this example, the
AppID
isMicrosoft.WirelessDisplay.Connect_cw5n1h2txyewy!App
.
Step 3: Create a Batch File to Launch the App via Igloo Core Engine
Use the following commands, replacing {AppID}
with the actual AppID you obtained:
Code Block |
---|
@echo off
start explorer.exe shell:appsFolder\{AppID}
exit |
Example:
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
Open the Wireless Display
Create an AppView Layer and Capture the Wireless Display App
Configure the ‘On Add Batch’ and ‘On Remove Batch’ file using the batch files generated in steps 3 and 4.
Save the Session