question

DeeG-4760 avatar image
0 Votes"
DeeG-4760 asked DeeG-4760 commented

Launch UWP 'system' app (cloud experience host)

I have enabled the GPO to bring up the Windows Hello for Business enrollment at user logon and it works fine.

However we have a lot of remote workers that log on 'offline' then connect to the domain over VPN.

I'm looking for a way to invoke the Whfb enrollment process via a script which I will run post VPN connection. I'm struggling to find a way to launch the UWP app (CloudExperienceHost) that controls the enrollment.

I've found the related protocol (ms-cxh:) but it just launches a blank screen so assum it needs some arguments.

I've seen a few PS scripts that talk about launching from the shell: protocol but I can't get these to work as they are more focused on standard user apps

I should be possible 'in-session' as we get an occasional random toast notification which will kick off the process. Triggering that would be fine as well

windows-server-powershellwindows-10-setupwindows-group-policy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered DeeG-4760 commented

Hi,

See if this works

 start shell:AppsFolder\YourAppFullName!App

You may refer to this link
https://social.technet.microsoft.com/Forums/en-US/20e5814b-5abc-4111-9eab-67f88512da3c/how-to-start-a-universal-windows-app-uwp-from-powershell-in-windows-10?forum=win10itprogeneral

Best Regards,
Ian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi.

Unfortunately no. As CxH is a system app (c:\windows\systemapps) shell:appsfolder won't work

0 Votes 0 ·