RDWeb Remote Desktop Tab
- As per another thread in the forums I have hidden the Remote Desktop tab through my IIS config for the RDWeb page. The problem is that when you click the Configuration tab then the Remote Desktop tab reappears. Can I do either of the following :
Hide the Configuration tab from appearing so end users only see the Web Apps they have access to ?
Hide the Remote Desktop tab when clicking the Configuration tab ?
The 1st option would be ideal.
Amit MCSA 2003, VCP, CCA, MCTS:2008 AD
Answers
Amit,
The Configuration tab should only appear for users who are either in the local Administrators group or the "TS Web Access Administrators" group on the RD Web Access server. If your end users are not in either of these groups, then the Configuration tab should not be displayed.
If for some reason your end users are in one of these groups, there is no built-in way to do what you're asking. That said, you can pretty easily modify the web page to add a "ShowConfig" option analogous to the "ShowDesktops" option you're using. In Server 2008 R2 RD Web Access:
1. Open the web.config file that is by default located in %windir%\web\rdweb\pages\Web.config.
2. Look for the entry for the ShowDesktops option.
3. Add a similar entry for the new ShowConfig option.
4. Save & close the Web.config file.
5. Open the Default.aspx file that is by default located in %windir%\web\rdweb\pages\en-us\Default.aspx (substitute your language code for en-us if necessary)
6. Find the HTML code for the Configuration tab. You will see an if statement around its HTML that causes it to only be displayed for administrators.
7. Simply add another clause to this if statement to use your new "ShowConfig" parameter. You can see how the "ShowDesktops" parameter is used just above the if statement for reference.
8. Save & close the Default.aspx file.
You can now control the ShowConfig setting either by editing the Web.config, or through the IIS Manager Application Settings UI.
Hope that helps.
Cheers,
Travis- Marked As Answer byOlga Ivanova-MsftMSFT, ModeratorWednesday, September 30, 2009 6:33 PM
- Proposed As Answer byTravis HoweMSFT, ModeratorWednesday, September 23, 2009 1:45 AM
All Replies
Amit,
The Configuration tab should only appear for users who are either in the local Administrators group or the "TS Web Access Administrators" group on the RD Web Access server. If your end users are not in either of these groups, then the Configuration tab should not be displayed.
If for some reason your end users are in one of these groups, there is no built-in way to do what you're asking. That said, you can pretty easily modify the web page to add a "ShowConfig" option analogous to the "ShowDesktops" option you're using. In Server 2008 R2 RD Web Access:
1. Open the web.config file that is by default located in %windir%\web\rdweb\pages\Web.config.
2. Look for the entry for the ShowDesktops option.
3. Add a similar entry for the new ShowConfig option.
4. Save & close the Web.config file.
5. Open the Default.aspx file that is by default located in %windir%\web\rdweb\pages\en-us\Default.aspx (substitute your language code for en-us if necessary)
6. Find the HTML code for the Configuration tab. You will see an if statement around its HTML that causes it to only be displayed for administrators.
7. Simply add another clause to this if statement to use your new "ShowConfig" parameter. You can see how the "ShowDesktops" parameter is used just above the if statement for reference.
8. Save & close the Default.aspx file.
You can now control the ShowConfig setting either by editing the Web.config, or through the IIS Manager Application Settings UI.
Hope that helps.
Cheers,
Travis- Marked As Answer byOlga Ivanova-MsftMSFT, ModeratorWednesday, September 30, 2009 6:33 PM
- Proposed As Answer byTravis HoweMSFT, ModeratorWednesday, September 23, 2009 1:45 AM
- Hi,
I've checked and my test account is not in either of these groups and yet it can see the Configuration tab. Not sure why. Any ideas ? If not then I will try the workaround suggested.
Amit MCSA 2003, VCP, CCA, MCTS:2008 AD The Configuration tab will also be displayed if the test account is a member of any group that is a member of the groups I mentioned. In other words, nested membership counts. Have you checked from that angle?
As per another thread in the forums I have hidden the Remote Desktop tab through my IIS config for the RDWeb page. The problem is that when you click the Configuration tab then the Remote Desktop tab reappears. Can I do either of the following :
Hide the Configuration tab from appearing so end users only see the Web Apps they have access to ?
Hide the Remote Desktop tab when clicking the Configuration tab ?
The 1st option would be ideal.
Amit MCSA 2003, VCP, CCA, MCTS:2008 AD
Which thread did you use to hide the Remote Desktop tab for the RDWEB page through IIS?
Or, would you mind listing the steps?
- Hi
to hide the Remote Desktop tab for the RDWEB page through IIS, use the following:
http://technet.microsoft.com/en-us/library/cc731465.aspx
Thanks
Lourh