知識庫

How to install Remote Desktop Services


This article is designed to address installing the Remote Desktop Services (RDS) role on a server running Windows Server Core.





Perform the following steps to install the RDS role on a server running Windows Server Core.

1. Type Start PowerShell in the Command Prompt window to start Windows PowerShell.

2. Type Install-WindowsFeature Remote-Desktop-Services and press Enter to install the RDS role.

Additional Information:

This information applies to Windows Server 2012 and Windows Server 2012 R2.

The following RDS role services can be installed using Windows PowerShell.

  • Remote Desktop Connection Broker
  • Remote Desktop Gateway
  • Remote Desktop Licensing
  • Remote Desktop Session Host
  • Remote Desktop Virtualization Host
  • Remote Desktop Web Access

The following Windows PowerShell cmdlets are available for managing the RDS role on a server running Windows Server Core.

Add-RDServer - Adds a server to a remote desktop deployment.
Add-RDSessionHost - Adds one or more Remote Desktop Session Host (RD Session Host) servers to a session collection.
Add-RDVirtualDesktopToCollection - Adds one or more virtual desktops to an existing virtual desktop collection.
Disable-RDVirtualDesktopADMachineAccountReuse - Prevents the Remote Desktop Connection Broker (RD Connection Broker) server from reusing existing Active Directory (AD) computer accounts when creating new virtual machines from a template in a managed virtual desktop collection.
Disconnect-RDUser - Disconnects a specified user from a session running on the remote server.
Enable-RDVirtualDesktopADMachineAccountReuse - Configures the RD Connection Broker server to reuse existing AD computer accounts for pooled virtual desktops created from a template in a managed collection.
Export-RDPersonalVirtualDesktopAssignment - Saves the current associations between users and personal virtual personal desktops to a delimited text file.
Get-RDAvailableApp - Gets a list of applications that can be published from the collection specified in the Collection Name parameter.
Get-RDCertificate - Gets the certificate associated with a RDS role.
Get-RDConnectionBrokerHighAvailability Retrieves the high availability settings for the RD Connection Broker server.
Get-RDDeploymentGatewayConfiguration Gets configuration settings for the Remote Desktop Gateway (RD Gateway) for the remote desktop deployment.
Get-RDFileTypeAssociation Displays the file extensions associated with a given RemoteApp program.
Get-RDLicenseConfiguration Gets the current settings for the RD Licensing server and licensing mode of the remote desktop deployment.
Get-RDPersonalVirtualDesktopAssignment Gets a list of personal virtual desktops and associated user accounts.
Get-RDPersonalVirtualDesktopPatchSchedule Gets patch schedule details for the specified personal virtual desktop.
Get-RDRemoteApp Gets a list of RemoteApp programs for a given collection or for the remote desktop deployment.
Get-RDRemoteDesktop Gets a list of published remote desktops in the collection.
Get-RDServer Gets a list of servers in a remote desktop deployment.
Get-RDSessionCollection Gets a list of session collections in the remote desktop deployment.
Get-RDSessionCollectionConfiguration Gets configuration details for the specified session collection.
Get-RDSessionHost Gets a list of RD Session Host servers in a session collection.
Get-RDUserSession Gets a list of all user sessions in a collection, or in the remote desktop deployment.
Get-RDVirtualDesktop Gets a list of virtual desktops in the remote desktop deployment.
Get-RDVirtualDesktopCollection Gets a list of existing virtual desktops in a remote desktop deployment.
Get-RDVirtualDesktopCollectionConfiguration Gets configuration details for the specified virtual desktop collection.
Get-RDVirtualDesktopCollectionJobStatus Gets status information for the job run most recently on the specified virtual desktop collection.
Get-RDVirtualDesktopConcurrency Gets the number of virtual desktops that can be created in parallel on the specified Remote Desktop Virtualization Host (RD Virtualization Host) servers.
Get-RDVirtualDesktopIdleCount - Gets the number of idle virtual desktops on hosts.
Get-RDVirtualDesktopTemplateExportPath Gets the export path setting of the virtual desktop template used for the virtual machine based desktop deployment.
Get-RDWorkspace Gets the workspace name for a remote desktop deployment.
Grant-RDOUAccess Grants access to the Remote Desktop RD Connection Broker server for one or more organizational units (OUs) in a given domain of the Active Directory Domain Services (AD DS) server.
Import-RDPersonalVirtualDesktopAssignment Creates associations between user accounts and personal virtual desktops by importing the settings specified in a delimited text file.
Invoke-RDUserLogoff Ends the specified session, closing all running applications.
Move-RDVirtualDesktop Moves a virtual desktop to a new RD Virtualization Host server.
New-RDCertificate Creates a new certificate for a Remote Desktop Services role.
New-RDPersonalVirtualDesktopPatchSchedule Creates a new patch schedule for a personal virtual desktop.
New-RDRemoteApp Publishes a RemoteApp program to the remote desktop deployment.
New-RDSessionCollection Creates a new session collection from the specified RD Session Host servers.
New-RDSessionDeployment Installs the required role services for a Virtual Desktop Infrastructure (VDI) to create a Remote Desktop Services session-based desktop deployment.
New-RDVirtualDesktopCollection Creates a new virtual desktop collection.
New-RDVirtualDesktopDeployment Installs required role services for Virtual Desktop Infrastructure (VDI) to create a virtual machine-based desktop deployment.
Remove-RDPersonalVirtualDesktopAssignment Removes the association between a personal virtual desktop and a user.
Remove-RDPersonalVirtualDesktopPatchSchedule Deletes an existing patch schedule from the specified personal virtual desktop.
Remove-RDRemoteApp Removes a RemoteApp program from a remote desktop deployment.
Remove-RDServer Removes the specified server from a remote desktop deployment.
Remove-RDSessionCollection Removes a session collection from the remote desktop deployment.
Remove-RDSessionHost Removes one or more RD Session Host servers from a session collection.
Remove-RDVirtualDesktopCollection Deletes the specified virtual desktop collection from a remote desktop deployment.
Remove-RDVirtualDesktopFromCollection Removes a virtual desktop from the specified virtual desktop collection.
Send-RDUserMessage Sends a system message to the specified user session.
Set-RDActiveManagementServer Sets the active RD Connection Broker server, or management server, in a remote desktop deployment.
Set-RDCertificate Specifies configuration details of a certificate for use with a Remote Desktop Services role.
Set-RDClientAccessName - Sets a DNS name that clients use to connect to a Remote Desktop deployment.
Set-RDConnectionBrokerHighAvailability Specifies high availability settings for the RD Connection Broker server.
Set-RDDatabaseConnectionString Configures the database connection string to the SQL Server database that you have set up for high availability.
Set-RDDeploymentGatewayConfiguration Specifies settings for the Remote Desktop Gateway (RD Gateway) server for the remote desktop deployment.
Set-RDFileTypeAssociation Modifies the file type association of a RemoteApp program in the remote desktop deployment.
Set-RDLicenseConfiguration Specifies settings for the Remote Desktop Licensing (RD Licensing) server and licensing mode of the remote desktop deployment.
Set-RDPersonalVirtualDesktopAssignment Creates an association between a personal virtual desktop and a user account.
Set-RDPersonalVirtualDesktopPatchSchedule Configures patch schedule settings for a personal virtual desktop with an existing patch schedule.
Set-RDRemoteApp Specifies configuration details for a RemoteApp program running in the remote desktop deployment.
Set-RDRemoteDesktop Publishes a remote desktop to the specified collection.
Set-RDSessionCollectionConfiguration Specifies configuration options for an existing session collection.
Set-RDSessionHost Configures one or more RD Session Host servers in a session collection.
Set-RDVirtualDesktopCollectionConfiguration Specifies configuration details for an existing virtual desktop collection.
Set-RDVirtualDesktopConcurrency Specifies the number of virtual desktops that can be created in parallel on the specified RD Virtualization Host servers.
Set-RDVirtualDesktopIdleCount - Sets the maximum number of idle virtual desktops on host servers.
Set-RDVirtualDesktopTemplateExportPath Configures the path to use when exporting the virtual desktop templates for the virtual machine-based desktop deployment.
Set-RDWorkspace Assigns a workspace name for a remote desktop deployment.
Stop-RDVirtualDesktopCollectionJob Forcibly ends a job that is currently running, or is scheduled to run, on the specified virtual desktop collection.
Test-RDOUAccess Verifies that the RD Connection Broker server has access to the Active Directory Domain Services (AD DS) organizational unit (OU).
Test-RDVirtualDesktopADMachineAccountReuse Detects whether the RD Connection Broker server is configured to reuse existing Active Directory (AD) computer accounts when creating new virtual machines from a template in a managed virtual desktop collection.
Update-RDVirtualDesktopCollection Associates an existing virtual desktop collection with a new virtual desktop template.


Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

文章 ID: HOW10129

上次修改日期: 08/28/2014 03:36 PM


為本文評分

準確
實用
易懂
這篇文章對您有用嗎?
傳送意見反應
評語中不得包含下列特殊字元:<>()\
很抱歉,我們的意見回饋系統目前關閉中。請稍後再試。

感謝您的寶貴意見。