Forum Discussion
Michael Jensen
Oct 08, 2018Brass Contributor
Deploy a Shortcut for RDS using Company Portal
Hi, Is it possible to deploy a shortcut to a remote desktop connection using Company portal to machines enrolled in MDM?
- Jan 20, 2019
Hi Micheal,
you can easily create a shortcut with a PowerShell script. This can be deployed as a script native with Intune or wrapped in a .intunewin package and deployed as app containing just the simple PowerShell script. I did an example while deploying BGInfo, something like this:
$Shell = New-Object -ComObject ("WScript.Shell") $ShortCut = $Shell.CreateShortcut("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\BGInfo.lnk") $ShortCut.TargetPath="`"C:\Program Files\BGInfo\Bginfo64.exe`"" $ShortCut.Arguments="`"C:\Program Files\BGInfo\custom.bgi`" /timer:0 /silent /nolicprompt" $ShortCut.IconLocation = "Bginfo64.exe, 0"; $ShortCut.Save()compare my blog post install.ps1 here: https://oliverkieselbach.com/2018/12/15/deploying-win32-app-bginfo-with-intune/
For a deeper understanding of .intunewin and app deployment with Intune look here: https://oliverkieselbach.com/2018/10/02/part-3-deep-dive-microsoft-intune-management-extension-win32-apps/
best,
Oliver
Oct 11, 2018
Hi Michael, You could point them to a RDS website by using the app type
"Web link". This would give you a Company Portal link to your RDS
website. This can even be shown as features app on the main page. But a
way to publish a real shortcut which then opens the RDP connection
directly is not available. best, Oliver
Michael Jensen
Oct 11, 2018Brass Contributor
Hi Oliver.
Sounds Cool. I will look into the Weblink approach.
Thanks:)
Sounds Cool. I will look into the Weblink approach.
Thanks:)