![]() After it has copied the 2 files it will start creating a new shortcut on the public (all users) desktop folder with the name RemoteApp. ![]() Looking at the script, it will first create a new folder in the program files (x86) and it will copy the 2 files (RDP and ICO) to this folder. $Shortcut = $WshShell.CreateShortcut($path) $iconlocation = "c:\program files (x86)\rdp\rdp.ico" $targetpath = "c:\program files (x86)\rdp\remoteapp.rdp" $path = "C:\Users\Public\Desktop\RemoteApp.url" $null = $WshShell = New-Object -comObject WScript.Shell If (-not (Test-Path "C:\Users\Public\Desktop\RemoteApp.url")) \remoteapp.rdp "c:\program files (x86)\rdp\remoteapp.rdp" \rdp.ico "c:\program files (x86)\rdp\rdp.ico"Ĭopy. Now we have the basics in place… let’s create a simple PowerShell script and give it the name: installremoteapp.ps1 md "c:\program files (x86)\rdp"Ĭopy. And if you want to make the shortcut look a little bit nicer make sure you have the ICO from the remote app and place it in the same folder Now create a new folder and place that RDP file in it and rename it to remoteapp.rdp. When clicking/opening the remote app it will also download that file to your device…. When chrome is installed browse to your RDWeb page like Please make sure you have Installed chrome… (yeah I know… not Edge this time) Now for the third and last option we have. Download the RDP and deploy it with an Win32 App The RemoteApps are also added to your start menu 3. Now let’s fire up the PowerShell script and watch what happens ![]() (of course, this can be done with a nice PowerShell script) If it ain’t working at the first attempt try to add the RDWeb page to your local intranet site and make sure you have enabled “ Automatic logon with current user name and password” Please make sure to test if you can download the webfeed.aspx. ![]() Now let’s test it on an AADJ joined device. So please use your own valid RDWeb when you want to test out the script! Please note: the example, I am using: isn’t going to work as it has no valid certificate! Start-Process -FilePath rundll32.exe -ArgumentList 'tsworkspace,WorkspaceSilentSetup',$($WCX).ToString() -Wait -NoNewWindow $XML | Out-File -FilePath $FullPath -Encoding utf8 -Force | Out-Null New-Item $Directory -Type Directory -Force | Out-Null The PowerShell script itself (Needs to be user-targeted and NOT to be run as system!) $url = "" You will need to be in the same domain as the RDWeb to work…īut looking at the information we have about SSO with AADJ devices in our on-premise environment I guess this would be no problem! PowerShell must be enabled for your users ☹Ģ. The second option we have is to use a PowerShell script and deploy it to our devices in Intune. Now go install this Windows 10, version 21H1 Build 19043.1200 also known as KB5005101!! UPDATE 04-09-2021įantastic news! Finally, 1400 settings which were only available to the insider preview in the past are now available and ready to be implemented! So open Intune create a new settings catalog and search for “ Remoteapp and desktop connections”īut this policy will only work when your devices have the Windows Insider build… and I guess deploying the insider build to all your production devices could be a little bit too much. The only thing to configure this is by creating a settings catalog profile.
0 Comments
Leave a Reply. |