• No results found

Windows Server 2008 R2 Remote Desktop Services

N/A
N/A
Protected

Academic year: 2021

Share "Windows Server 2008 R2 Remote Desktop Services"

Copied!
9
0
0

Loading.... (view fulltext now)

Full text

(1)

Microsoft

Windows Server

2008

R2

Remote

Desktop

Services

Resource Kit

Christa Anderson and

Kristin

L.

Griffin

(2)

Contents

Acknowledgments

xv

Introduction xvii

Chapter

1

Introducing

Remote

Desktop

Services

1

WhereDidRDS ComeFrom? 2 CitrixMultiWin 2

Windows NT, Terminal Server Edition 2

Windows2000 Server 3

WindowsServer2003 3 Windows Server 2008 4 WindowsServer2008 R2 and RDS 4

The

Evolving

Remote ClientAccess

Experience

6

WhatCan You Do withRDS? 7

Improved Security

forRemoteUsers 8

Provisioning

NewUsers

Rapidly

9

Enabling

RemoteWork 9

Bringing

Windowsto

PC-Unfriendly

Environments 10

Business

Continuity

and Disaster

Recovery

11

Supporting

Green

Computing

11

Improved

Command-Line

Support

12 RDS forWindows Server2008R2: NewFeatures 12 The

Changing

Characterof RD Session Host

Usage

13 New RDS

Technology

inWindowsServer 2008 R2 19 RDS Roles inWindowsServer 2008 R2 24 HowOtherServices

Support

RDS 32

TheClientConnection 33

Hosting

VMs 34

Authenticating

ServerswithCertificates 34

Enabling

WANAccessand

Displaying

Remote Resources 34

Updating

Userand

Computer Settings

35

Functionality

for RDS

Scripters

and

Developers

35

Summary

35

Additional Resources

36

What doyouthink of this

book?

We wantto hear from

you!

Microsoft is interestedinhearingyourfeedbacksowe can

continually

improveour

booksandlearningresourcesforyou. Toparticipateinabriefonlinesurvey,pleasevisit:

microsoft.com/learning/booksurvey

(3)

Chapter

2

Key

Architectural

Concepts

for Remote

Desktop

Services

39

Know Your

Application Delivery System

40 RD Session Host Servers 40 RD Virtualization Host Servers 40 Relevant Windows Server 2008 R2 Internals 41 Windows Server 2008 R2 Is 64-Bit

Only

41

How DoesanRD Session Host Server Dole Out Processor

Cycles?

43

HowDo RD Session Host Servers Use

Memory

More

Efficiently?

45

How Does Disk Affect

Application Delivery?

56 How DoesVirtualization Affect Resource

Usage?

59

Determining System Requirements

for RDSession HostServers 66

Designing

aLive Test 69

Executing

theTests 70

Using

theRDLoad Simulation Tool 77 An Alternative toFull

Testing:

Extrapolation

91 Other

Sizing

Questions 95

Supporting

Client Use Profiles 99

Client Hardware: PCorThin Client? 99

What's the Best License Model? 100 What

Applications

Can I RunonanRD Session Host Server? 101

What Version of Remote

Desktop

Connection Do I Need? 109 What Role Services Do I Needto

Support My

Business? 114

Summary

114

Additional Resources 115

Chapter

3

Deploying

a

Single

Remote

Desktop

Session Host Server 117

How RD Session Host ServersWork 117

Services Supporting RDSession Host 117

Creating

and

Supporting

aSession 119

Installing

anRD Session Host Server 134

Installing

anRD Session Host ServerUsing theAdministrative

Tools Interface 134

Installing

anRD Session Host Server from the Command Line 142

Essential RD Session Host

Configuration

144

Allocating

Processor Time 145

Enabling

Plug

and

Play

Redirection with the

Desktop Experience

150

Adjusting

Server

Settings

with Remote

Desktop Configuration

150

Installing Applications

on an RD Session Host Server 164

Which

Applications

Will Work? 165

Storing Application-Specific

Data 168

Avoiding Overwriting

User ProfileData 170

Populating

the Shadow Key 171

(4)

Summary

174 Additional Resources 174

Chapter

4

Deploying

a

Single

Remote

Desktop

Visualization

Host

Server 175

WhatlsVDI? 175

How MicrosoftVDIWorks 178 TheCentral RoleoftheRD ConnectionBroker 179

Discovering

aVM 181

Brokering

aConnection 182

Orchestrating

aVM 184

Connecting

toaVMPool 185

Connecting

toaDisconnectedSession 186

Rolling

BackaVM 186

Connecting

toaPersonal

Desktop

187

Installing

Supporting

Rolesfor VDI 188

Installing

theRDVisualizationHost 190

Installing

RD Virilization Host Role Service via WindowsPowerShell 192

Installing

RD Connection Broker 193

Configuring

RD Web Access 195

Configuring

the RD Connection Broker Server 197

Setting Up

VMs 203

Creating

Pools 209

Assigning

Personal

Desktops

212

Configuring

Personal and Pooled VM

Properties

216

Using RemoteApp

for

Hyper-V

for

Application

Compatibility

218

Configuring RemoteApp

on

Hyper-V

220

Can YouUse

RemoteApp

for

Hyper-V

WithoutRDS? 222

Summary 224

Additional Resources 224

Chapter

5

Managing

User Data

ina

Remote

Desktop

Services

Deployment

225

How Profiles Work 226

Types

of Profiles 227

How Profiles Are Created 228 Profile Contents External tothe

Registry

233

Storing

Profiles 239

Providing

aConsistent Environment 241

Design Guidelinesfor User Profiles 242 Balance

Flexibility

and Lockdown 243

Use FolderRedirection 244

Compartmentalize

When

Necessary

244

Prevent Usersfrom

Losing

Filesonthe

Desktop

245

Upload

Profile

Registry Settings

in the

Background

246

(5)

Speed Up Logons 246

Deploying

Roaming Profiles with Remote

Desktop

Services 248

Creating

a New

Roaming

Profile 248

ConvertinganExisting Local Profiletoa

Roaming

Profile 254

Customizing

a Default Profile 255

Using Group Policy

to

Manage Roaming

Profiles 257

Using Group Policy

to Definethe

Roaming

Profile Share 267

Speeding Up Logons

268

Centralizing

PersonalDatawith Folder Redirection 275

Sharing

Personal Folders Between Local and Remote Environments 278

Sharing

Folders Between Windows Server 2003 and Windows Server 2008

R2

Roaming

Profiles 279

Setting

Standards with

Mandatory

Profiles 281

Converting Existing Roaming

Profilesto

Mandatory

Profiles 283

Creating

a

Single Mandatory

Profile 284

Creating

aSafe

Read-Only Desktop

286

Decrease

Logon

Times with Local

Mandatory

Profiles 286 Profile and Folder Redirection

Troubleshooting Tips

287

Summary 288

AdditionalResources 289

CHAPTER 6

Customizing

the User

Experience

291

How

Remoting

Works 291

WhatDefinesthe Remote ClientExperience? 293 The FoundationofRDP: VirtualChannelsand PDUs 296 Basic

Graphics Remoting

299

Advanced

Graphics Remoting

305

Moving

the Client

Experience

tothe Remote Session 307 Which Client Devices Can You Addtothe Remote Session? 307 Pros and Cons of

Redirecting

Resources 313 Device and File

System

Redirection 314

Playing

Audio 326

How the RDC Version Affects the User

Experience—or

Doesn't 330

Printing

with RDP 334

Printing

toa

Directly

Connected Printer 335

Printing

viaRedirected Printers 337

Printing

from Remote

Desktop

Services 344

WhenYou Cannot Use RDEasy Print 350

Controlling

Printer Redirection 354

Troubleshooting Printing

Issues 358

Summary 359

AdditionalResources 360

Chapter

7

Molding

and

Securing

the

User Environment 363

Locking

Down the Server 364

(6)

Restricting

Device andResource Redirection 365

Preventing

Usersfrom

Reconfiguring

the Server 367

Preventing

Access tothe

Registry

368

Closing

Back DoorsonRD Session Host Servers 369

Controlling

Libraries 375

Preventing

Users from

Running

Unwanted

Applications

376

Using

SoftwareRestriction Policies 378

Using

AppLocker

381

Creating

a

Read-Only

Start Menu 391

Keeping

the RD Session Host Server Available 393

Allowing

or

Denying

Accesstothe RDSession Host Server 393

Limiting

theNumber of RD Session Host ServerConnections 393

Setting

Session Time Limits 394

Taking

Remote Control of User Sessions 394

Summary

398

AdditionalResources 398

Chapter

8

Securing

Remote

Desktop

Protocol

Connections

401

Core

Security Technologies

402

Transport Layer Security

402

Credential

Security

ServiceProvider 405

Using

RDP

Encryption

409

Understanding Encryption Settings

409

Choosing

Encryption Settings

410

Authenticating

Server

Identity (Server Authentication)

410

Establishing

aKerberos Farm

Identity

411

'

Creating

Test Certificates foraServer Farm 411

Authenticating

Client

Identity

withNetwork LevelAuthentication(NLA) 415

Speeding Logons

with

Single Sign-on

. 416

Configuring

the

Security Settings

ontheRDSession Host Server 417

Configuring

Connection

Security Using

RD Session Host

Configuration

417

Configuring

Connection

Security Using Group

Policy

419

Summary

420

Additional Resources 421

Chapter

9

Multi-Server

Deployments

423

Key Concepts

forMulti-Server

Deployments

423

RD Session Host Farms 424

RemoteApp

Internals 424

Server-Side

Components

426 Client-Side

Components

427

RemoteApp Programs

and

Multiple

Monitors 428

Creating

and

Deploying

aFarm 431

(7)

Distributing

Initial FarmConnections

432

Connection

Brokering

inaFarmScenario 433 RDS FarmConnection

Brokering

in Action 434

Deploying

RDSessionHostFarms 439

PermitRD Session Host ServerstoJoin RDConnection Broker 440

JoinRD Session Host Serverstoa Farm 447

Publishing

and

Assigning

Applications

Using RemoteApp Manager

454

Adding

Applications

to theAllowList 455

Configuring

Global

RemoteApp Deployment

Settings

457

Editing RemoteApp

Properties

464

Maintaining

AllowList

Consistency

Acrossthe Farm 469

Configuring

Timeoutsfor

RemoteApp

Sessions

471

Signing

Already-Created

RDP Files 472

Setting Signature

Policies

474

Distributing RemoteApp

Programs

475

Distributing

RDP Files

475

Distributing

MSI Files

476

Delivering RemoteApp

Programs

and VMs

Through

RD Web Access

478

RD WebAccess Sources

478

Installing

theRD WebAccessRoleService 481

Configuring

RD Web Access 482

Customizing

RD WebAccess 488

Troubleshooting

RDWebAccess Permissions 496

Using

the RDWebAccess Website

497

Using RemoteApp

And

Desktop

Connections 502

Summary

505

AdditionalResources

506

Chapter

10

Making

Remote

Desktop

Services Available

from

the Internet

507

How RD

Gateway

Works

507

Understanding

RD

Gateway

AuthorizationPolicies

509 RD

Gateway Requirements

510

Installing

RD

Gateway

512

Installing

RD

Gateway

Using WindowsPowerShell

515

Creating

and

Maintaining

RD

Gateway

Authorization Policies 515

Creating

anRDCAP 516

Creating

an RDRAP 519

Modifying

an

Existing

Authorization

Policy

521

Configuring

RD

Gateway

Options 521

Tuning

RD

Gateway Properties

522

Using

RD

Gateway

Computer

Groups

toEnable

Access toaServer Farm 530

Bypassing

RD

Gateway

forInternal Connections

533

Using Group Policy

to ControlRD

Gateway

Authentication

Settings

533

Monitoring

and

Managing

Active RD

Gateway

Connections 534

(8)

Creating

aRedundantRD

Gateway Configuration

537

Using

NLB toLoad-BalanceRD

Gateway

Servers 537

Preventing Split

SSL ConnectionsonRD

Gateway

542

Maintaining

Identical

Settings

AcrossanRD

Gateway

Farm 543

Using

NAP with RD

Gateway

554

Troubleshooting

DeclinedConnections 573

Placing

RDWebAccess and RD

Gateway

576

RDWeb Access for ExternalAccess 576

RD

Gateway

Inside thePrivateNetwork 578 RD

Gateway

in thePerimeterNetwork 579 RD

Gateway

in the Internal Network and

Bridged

581

Summary

586

AdditionalResources 586

Chapter

11

Managing

Remote

Desktop

Sessions

589

Introducing

RD Session Host

Management

Tools 590 The Remote

Desktop

Services

Manager

591 Command-LineTools 595

Connecting Remotely

to Servers for Administrative

Purposes

598

Managing

RDSessionHost ServersfromWindows 7 599

Organizing

ServersandVMsin theRemote

Desktop

Services

Manager

600

Monitoring

and

Terminating

Processes 602

Monitoring

Application

Use 603

Terminating Applications

604

Monitoring

and

Ending

User Sessions 605

Switching

Between Sessions 606

Closing Orphaned

Sessions 608

Providing Help

with Remote Control 610

Enabling

Remote Control via

Group Policy

612

Enabling

Remote Control via RD Session Host

Configuration

614

Shadowing

aUser Session 615

Troubleshooting

Session

Shadowing

617

Preparing

for Server Maintenance 619

Disabling

New

Logons

619

Sending Messages

toUsers 621

Shutting

Downand

Restarting

RDSession HostServers 624

Applying

RDS

Management

Tools 631

Differentiating

RemoteApp Sessions from Full

Desktop

Sessions 631

Auditing Application

Usage 633

Auditing

User Logons 639

Closing Unresponsive Applications

640

Summary 641

Additional Resources 642

(9)

Chapter

12

Licensing

Remote

Desktop

Services

643

The RDS

Licensing

Model 644

RDS

Licensing

644

VDI

Licensing

646

License

Tracking

andEnforcement 648

HowRD License ServersAssignRDSCALs 648

Setting Upthe RDS

Licensing

Infrastructure 651

Installing

RD License Server 652

RDLicense ServerConnection Methods 653

Activating

the License Server 653

Background:

How RDS CALs AreTiedto an RD License Server 657

Adding

LicenseServers to AD DS 660

Installing

RDS CALs 660

Configuring

RD Session Host Servers to Use RD License Servers 662

Configuring

RD License Servers toAllow Communication From

RDSessionHost Servers 663

Migrating

RDSCALs fromOne License Server toAnother 663

Rebuilding

the RDLicenseServer Database 665

Backing Up

anRDLicense Serverand

Creating

Redundancy

665

Managing

and

Reporting

License

Usage

667

Revoking

RDS CALs 670

RestrictingAccess to RDS CALs 671

Preventing

License

Upgrades

673

Using

the

Licensing

Diagnosis

Tool 673

Summary

675

Additional Resources 675

Index 677

books andlearningresources foryou.Toparticipateinabrief onlinesurvey,

please

visit: What do you

think of

this book? Wewant to hear from

you!

Microsoft is interested inhearingyour feedbackso we can

continually

improveour

books andlearningresources foryou.Toparticipateinabrief onlinesurvey,

please

microsoft.com/learning/booksurvey

References

Related documents

By default, the RD Web Access Web site enables you to point to a single Remote Desktop Session Host (RD Session Host) server or to a single RD Session Host server farm to populate

The network contains a Remote Desktop Session Host Server that runs Windows Server 2008 R2, and client computers that run Windows 7.. All computers are members of

To do this, go to Windows Server Manager > Roles > Remote Desktop Services > RD Session Host Configuration: “Host Name” and Double click on Remote Desktop Licensing

Remote Desktop uses Windows RDP (Remote Desktop Protocol) and can only be used to access Host PCs running Windows Server 2003/2008, XP Professional,

Select this option if you expect fewer than 64,000 concurrent connections per Remote Desktop Session Host server. With this option, the system applies SNAT Auto Map, doesn’t require

Users connect through the BIG-IP LTM to an RD Session Host server farm using the Remote Desktop Protocol (RDP), with an RD Connection Broker server managing persistence.. The BIG-IP

Users connect through the BIG-IP LTM to an RD Session Host server farm using the Remote Desktop Protocol (RDP), with an RD Connection Broker server managing persistence.. The

If the Remote Desktop Session Host servers do not use the BIG-IP system as their default gateway, SNAT is configured on the BIG-IP virtual server and you must select the