Posts Tagged ‘RDS’

RDS Powershell new-rdremoteapp syntax to publish app on Server 2012

June 13th, 2013

Powershell Command to fully publish app. The -VirtualFilePath is not well documented and if not set will result in not being able to configure the app through the GUI.

new-rdremoteapp -Alias "{appname no spaces}" -DisplayName "{friendly display name}" -FilePath "{full file path example: D:\Program Files (x86)\JDEdwards\B7\system\Bin32\oexplore.exe}" -VirtualFilePath "{full file path example: D:\Program Files (x86)\JDEdwards\B7\system\Bin32\oexplore.exe}" -ShowInWebAccess 1 -collectionname {your collection name} -ConnectionBroker {}

Tags: ,
Posted in Uncategorized | Comments (0)

RDS Remove Domain requirement from RDWeb login page

May 3rd, 2013

After installing Remote Desktop Web Services, one of the first things that I wanted to do was remove the requirement to put the domain name in. I am in a single domain environment and do not have a need for users to have to qualify their domain. I found the following fairly simple fix:

– Find the file renderscripts.js which for me was located in: C:\Windows\Web\RDWeb\Pages\renderscripts.js

– Find the function onLoginFormSubmit()

– Find the lines:

if ( objForm != null )
strDomainUserName = objForm.elements("DomainUserName").value;

– Copy/Paste the following code after the lines above:

// add default domain...
if ( strDomainUserName.indexOf("\\") == -1 )
strDomainUserName = "YOUR_DOMAIN_NAME\\" + strDomainUserName;
objForm.elements("DomainUserName").value = strDomainUserName;

– Save the File.


Tags: ,
Posted in Uncategorized | Comments (0)