RemoteApp – Auto Configure and Setup Shortcuts

RemoteApp Auto-Configure on Logon for Domain Joined Computers

Tired of having to train users to configure RemoteApp? Tired of doing it for them? Use the following script to automatically deploy RemoteApp on Windows 7 and Windows 10.

 

Note: This procedure expects your users to be using a domain logon that the credentials match the RemoteApp server. If local creds are different from Domain Credentials, you may want to remove the “WorkspaceSilentSetup” argument later.

 

WSX File Prep

Take the following code in Notepad, replace bold with your RemoteApp server, and save to a filename “SetupRemoteApp.wsx”. Place this file in your NETLOGON directory (e.g. \\domain.local\NETLGOON)

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<workspace name="Work Resources" xmlns="http://schemas.microsoft.com/ts/2008/09/tswcx" xmlns:xs="http://www.w3.org/2001/XMLSchema">

 <defaultFeed url="https:/remote.company.com/RDWeb/Feed/webfeed.aspx" />

</workspace>

 

 

GPO Deploy Script

Create a GPO to install a shortcut in the Startup Folder. After a single login of any domain user, all future domain user’s who log in to that computer will have the .WSX automatically execute, setting up their RemoteApp config.

User Configuration > Preferences > Windows Setttings > Shortcuts

Name: Setup RemoteApp

Action:Replace

Target Type: File System Object:

Location: All Users Startup (%allusersprofile%\Microsoft\Windows\Start Menu\Programs\StartUp)

Target Path:C:\Windows\System32\rundll32.exe

Arguments:tsworkspace,WorkspaceSilentSetup \\domain.local\NETLOGON\SetupRemoteApp.wsx

Icon Index: Pick one, I like 12, a computer chip 🙂

Common Tab > Remove this item when it is no longer applied: CHECK

 

GPO Shortcut to Work Resources Script

Create another shortcut, this one really is a shortcut — to the Work Resources folder that contains all of that user’s programs. You can put both in if you want, the shortcut will only apply if the directory exists.

 

Windows 7 Path: %appdata%\Microsoft\Windows\Start Menu\Programs\RemoteApp and Desktop Connections\Work Resources

Windows 10 Path:%appdata%\Microsoft\Windows\Start Menu\Programs\Work Resources (RADC)

 

User Configuration > Preferences > Windows Setttings > Shortcuts

Name: Remote Apps

Action:Replace

Target Type: File System Object

Location: All Users Desktop

Target Path:%appdata%\Microsoft\Windows\Start Menu\Programs\Work Resources (RADC)

Icon Index: Pick one, I like 3, a standard folder

Common Tab > Remove this item when it is no longer applied: CHECK

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *