다음을 통해 공유


SharePoint 2010 : How to Configure Remote Desktop Services

What is Remote Desktop Services?

Remote Desktop Services, formerly Terminal Services, is a server role in Windows Server® 2008 R2 that provides technologies that enable users to access Windows-based programs that are installed on a Remote Desktop Session Host (RD Session Host) server, or to access the full Windows desktop. With Remote Desktop Services, users can access an RD Session Host server from within a corporate network or from the Internet.

Remote Desktop Services lets you efficiently deploy and maintain software in an enterprise environment. You can easily deploy programs from a central location. Because you install the programs on the RD Session Host server and not on the client computer, programs are easier to upgrade and to maintain.

When a user accesses a program on an RD Session Host server, the program runs on the server. Each user sees only their individual session. The session is managed transparently by the server operating system and is independent of any other client session. Additionally, you can configure Remote Desktop Services to use Hyper-V™ to either assign virtual machines to users or have Remote Desktop Services dynamically assign an available virtual machine to a user upon connection.

For more information about Remote Desktop Services, see the Remote Desktop Services page on the Windows Server 2008 R2 TechCenter (http://go.microsoft.com/fwlink/?LinkId=138055).

http://www.gknzcfc.net/style/rds0.png

Why use Remote Desktop Services?

If you deploy a program on an RD Session Host server instead of on each device, there are many benefits. These include the following:

  • Application deployment: You can quickly deploy Windows-based programs to computing devices across an enterprise. Remote Desktop Services is especially useful when you have programs that are frequently updated, infrequently used, or difficult to manage.
  • Application consolidation: Programs are installed and run from an RD Session Host server, eliminating the need for updating programs on client computers. This also reduces the amount of network bandwidth that is required to access programs.
  • Remote access: Users can access programs that are running on an RD Session Host server from devices such as home computers, kiosks, low-powered hardware, and operating systems other than Windows.
  • Branch office access: Remote Desktop Services provides better program performance for branch office workers who need access to centralized data stores. Data-intensive programs sometimes do not have client/server protocols that are optimized for low-speed connections. Programs of this kind frequently perform better over a Remote Desktop Services connection than over a typical wide area network.

Integration of Remote Desktop Services with SharePoint Server 2010

Integration of these 2 technologies opens up great avenues for consolidation. The Remote Desktop Web Access server role can be taken over by the already present SharePoint Server 2010 in the environment. This provides the possibility such as:

  • Single Website: As the SharePoint website is already present; this can be leveraged to publish the RemoteApps that are hosted on the Remote Desktop Session Host server. This reduces the URLs that the end user has to remember to access company data and applications.
  • Customization: The SharePoint Website, unlike the Remote Desktop Web Access default web portal, can be customized as per company needs. This gives the company freedom to brand, color code, provide additional links or shortcuts as required.
  • Accessing content through RemoteApps: If the content in SharePoint needs a particular RemoteApp to run, you can make a connection to the RemoteApp and then open the doc in it. This gives you the capability of accessing this data over the internet as well, without having to worry about security.

 

Logn on the Host server and go to Server Manager -> Roles -> Add Roles.

This will take you to the Add Roles Wizard. Please Select Remote Desktop Services .

http://www.gknzcfc.net/style/rds1.png

 

Select then Remote Desktop Session Host and click Next

http://www.gknzcfc.net/style/rds2.png

 

Just click Next

http://www.gknzcfc.net/style/rds3.png

 

Select Require Network Level Authentication. Click Next.

http://www.gknzcfc.net/style/rds4.png

 

Select the appropriate licensing scheme. Click Next. In my case "Configure Later"

http://www.gknzcfc.net/style/rds5.png

 

Select the appropriate users you want to give access to the Remote Desktop Service Host server. Click Next.

In my case I added the administrators and the Domain Users

http://www.gknzcfc.net/style/rds6.png

 

Select any of the features that you want to include in the Desktop Experience. Click Next.

For test, I will chose any of these.

http://www.gknzcfc.net/style/rds7.png

 

Click install and reboot server.

http://www.gknzcfc.net/style/rds8.png

 

Afther rebooting Server, again on Remote Desktop Services, add a new Service Role, Remote Desktop Web Access

http://www.gknzcfc.net/style/rds9.png

 

click Next, note that my server name is srv-app-01

http://www.gknzcfc.net/style/rds10.png

On the SharePoint Server ( srv-app-01 ) go to the webapplication that you want to use, and edit the Web.Config

Go to %SystemDrive%:\inetpub\wwwroot\VirtualDirectories\

http://www.gknzcfc.net/style/rds11.png

 

In the <SafeControls> section, add the following line under the other SafeControl Assembly entries (as a single line):

<SafeControl Assembly="TSPortalWebPart, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.TerminalServices.Publishing.Portal" TypeName="*" Safe="True" AllowRemoteDesigner="True" />

http://www.gknzcfc.net/style/rds12.png

 

Open an elevated command prompt. To do this, click Start, right-click Command Prompt, and then click Run as administrator:

 

· Type mkdir "%SystemDrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\TSPortalWebPart\6.1.0.0__31bf3856ad364e35\images" and then press ENTER.
· Type mkdir "%SystemDrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\TSPortalWebPart\6.1.0.0__31bf3856ad364e35\rdp" and then press ENTER.
· Type cacls "%SystemDrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\TSPortalWebPart\6.1.0.0__31bf3856ad364e35\images” /T /E /P NetworkService:F and then press ENTER.
· Type cacls "%SystemDrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\TSPortalWebPart\6.1.0.0__31bf3856ad364e35\rdp” /T /E /P NetworkService:F and then press ENTER.

 

http://wikistrea.fr/images/8/82/Cmd.jpg

 

 

Go then to your SharePoint site and in the upper-right corner, on the Site Actions tab, click Site Settings.

Under Galleries, click Web Parts.

http://www.gknzcfc.net/style/rds13.png

Add ne New Element ..

http://www.gknzcfc.net/style/rds14.png

 

Select the Webpart Microsoft.TerminalServices.Publishing.Portal.TSPortalWebPart and click then on Populate Gallery

http://www.gknzcfc.net/style/rds15.png

http://www.gknzcfc.net/style/rds16.png

 

Edit then your Page and add, the new WebPart TSPortalWebpart

http://www.gknzcfc.net/style/rds17.png

 

Now, we are going to test it.

When I open my RemoteApp Manager, and connect to srv-sql-01, you can see that I have one Remote Application "calc.exe"

http://www.gknzcfc.net/style/rds18.png

 

On your SharePoint Page modify it, to have a link to Calc.exe

http://www.gknzcfc.net/style/rds19.png

 

When you click on it, it will open a warning screen.

Watch good, it tries to connect to SRV-SQL-01 and I am on SRV-APP-01

http://www.gknzcfc.net/style/rds20.png

 

Provide your Credentials

http://www.gknzcfc.net/style/rds21.png

 

And the calculator of SRV-SQL-01 opens now on the SharePoint Server ..

http://www.gknzcfc.net/style/rds22.png

Resources

http://www.microsoft.com/en-us/server-cloud/windows-server/remote-desktop-services.aspx
http://technet.microsoft.com/en-us/windowsserver/ee236407
http://blogs.technet.com/b/ptsblog/archive/2012/03/30/integrating-remote-desktop-services-with-sharepoint-server-2010.aspx