How to run Connect app from PowerShell

Tom Otero 1 Reputation point

I'm attempting to run Connect app from PowerShell so I can run it from a script. From what I've found Connect app is calling "C:\Windows\SystemApps\Microsoft.PPIProjection_cw5n1h2txyewy\Receiver.exe". When I attempt to run this executable in an admin PowerShell terminal I receive the following error in the Event Viewer:

Faulting application name: Receiver.exe, version: 10.0.22000.120, time stamp: 0xf100a17a  
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.22000.978, time stamp: 0x82655b66  
Exception code: 0xc0000409  
Fault offset: 0x00000000002ee1f6  
Faulting process id: 0x9544  
Faulting application start time: 0x01d8d6ab13cec91f  
Faulting application path: C:\Windows\SystemApps\Microsoft.PPIProjection_cw5n1h2txyewy\Receiver.exe  
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll  

Is there a recommended way of running Connect app from PowerShell?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,398 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. risolis 8,701 Reputation points

    Hello @Tom Otero

    Thank you for posting on this community space.

    I wonder if you are referring to the following case scenario down below:,the%20flow%20and%20run%20it.

    If you feel I am mistaken please correct me or do not hesitate to let me know

    Have a good one!


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

  2. Limitless Technology 39,426 Reputation points

    Hello there,

    This might be a permission issue. Make sure the account from which the script is executed has all permission to access the full path to the executables in your case the Connect app.

    You can start any application by specifying the full path to its executable: C:\Program Files xxx . exe. You can optionally use Start-Process with the EXE if you want to capture a reference to the executable to gain more control over it from Powershell.


    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments