Most robust, as it respects Shell links and special folder redirection.
Create (or Update for persistent refresh) how to add app to desktop windows 11
# Find AUMID Get-StartApps | Where-Object $_.Name -like "*MyApp*" $shortcut.TargetPath = "shell:AppsFolder\Microsoft.WindowsCalculator_8wekyb3d8bbwe!App" $shortcut.Save() Most robust, as it respects Shell links and
When added programmatically, Windows may add an Zone.Identifier alternate data stream (ADS). To suppress SmartScreen warnings: copies existing LNK verbatim.
Starting with build 22000, packaged apps launched via desktop shortcut use the new Undocked Taskbar integration; the shortcut invokes ApplicationFrameHost.exe as broker. 5. Method 4: RemoteApps (RDS / Azure Virtual Desktop) For enterprise VDI environments, RemoteApps are published via .rdp files or MSRDC (Microsoft Remote Desktop Client) .
copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MyApp.lnk" "%USERPROFILE%\Desktop\" Limitation: Cannot modify arguments or icon index; copies existing LNK verbatim.