Launch UWP 'system' app (cloud experience host)

DeeG 1 Reputation point
2020-09-17T18:19:09.523+00:00

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 for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RicardusLeo 16 Reputation points
    2023-01-30T11:16:59.8233333+00:00

    Hi,

    Please open a CMD prompt and give the following commands a try:

    Full Screen:

    ms-cxh-full://nthaad
    

    Windowed:

    ms-cxh://nthaad
    

    Hope it helps!

    Best regards,

    Richard

    2 people found this answer helpful.
    0 comments No comments

  2. Anonymous
    2020-09-21T05:58:36.987+00:00

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.