O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting Started with Windows VDI

Book Description

Create, maintain, and secure scalable and resilient virtual desktops with Windows 8.1 and Windows Server 2012 R2

In Detail

This easy-to-follow introduction guide brings together all of the knowledge required to build a successful Virtual Desktop project that is secure, scalable, and highly available.

Through the course of this book, you will quickly progress from your first VDI lab environment to setting up a production-ready infrastructure that is robust, secure, and easy to manage. Going further, you will learn how to tune and maintain VDI once it is in production. Providing access for remote workers via any supported device and use of certificates is another important aspect covered in the book. If users depend on VDI, then it must be more resilient; you will learn that this can be done by addressing each of the roles of the VDI infrastructure.

You will also understand the wider aspects of Windows Server and the associated tools required for a complete production solution, such as Hyper-V, certificates, and Active Directory, making this book a one-stop reference guide for a complete project.

What You Will Learn

  • Explore the various server roles and features that provide Microsoft's VDI solution
  • Virtualize desktops and the other infrastructure servers required for VDI using server virtualization in Windows Server Hyper-V
  • Build high availability clusters for VDI with techniques such as failover clustering and load balancing
  • Provide secure VDI to remote users over the Internet
  • Use Microsoft's Deployment Toolkit and Windows Server Update Services to automate the creation and maintenance of virtual desktops
  • Carry out performance tuning and monitoring
  • Understand the complexities of VDI licensing irrespective of the VDI solution you have opted for
  • Deploy PowerShell to automate all of the above techniques

Table of Contents

  1. Getting Started with Windows VDI
    1. Table of Contents
    2. Getting Started with Windows VDI
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
        3. Instant updates on new Packt books
    7. Preface
      1. Exploring VDI
      2. PowerShell
        1. A quick introduction to PowerShell
      3. What this book covers
      4. What you need for this book
      5. Who this book is for
      6. Conventions
      7. Reader feedback
      8. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Putting the V in VDI – An Introduction to Virtualization in Hyper-V
      1. Server virtualization and Hyper-V
      2. Virtual Hard Disks
      3. Installing and configuring Hyper-V
      4. Configuring Hyper-V
      5. Creating a simple virtual machine
        1. Checkpoints
      6. Managing Windows Server and Hyper-V
        1. Hyper-V Server and Server Core
        2. Getting started with server management
        3. Creating the RDS-DC VM
        4. Configuring the new VM as a DC
        5. Adding users and groups
        6. Joining the physical host to the domain
        7. Managing multiple servers in Server Manager
        8. Desired State Configuration
      7. Summary
    9. 2. Designing a Virtual Desktop Infrastructure
      1. Remote Desktop Services and VDI
        1. Advantages of remote desktops
      2. VDI versus Session Virtualization
      3. Remote applications in RDS
      4. VDI roles
        1. Remote Desktop Virtualization Host
        2. Remote Desktop Connection Broker
        3. Remote Desktop Web Access Server
        4. Remote Desktop Gateway
        5. Remote Desktop licensing server
        6. Remote Desktop Session Host
      5. Types of VDI collections
      6. Getting started with VDI
        1. Creating the virtual desktop template
        2. Setting up and configuring the RDS roles
        3. Creating a Pooled Collection
      7. Creating an RD Session Collection
      8. Summary
    10. 3. Putting the D in VDI – Creating a Desktop Template
      1. Desktop deployment for VDI
      2. Microsoft deployment tools
      3. Installing MDT
      4. Working with answer files
      5. Building a new Virtual Desktop Template with MDT
        1. Creating a task sequence to deploy the captured OS to the reference computer
        2. Updating the deployment share
        3. Creating the reference computer
        4. Running the deployment wizard
      6. Automating MDT
      7. Deploying applications with MDT
      8. Configuring collection properties
      9. Group Policy and the virtual desktop
        1. Group Policy with Session Virtualization
        2. Application control
      10. Summary
    11. 4. Putting the R in Remote Desktop
      1. Introducing the Remote Desktop Gateway
      2. Certificates
        1. Creating a self-signed certificate
      3. Getting started with the Remote Desktop Gateway
      4. Active Directory authentication
        1. Opening additional ports on the firewall
        2. Relying on a forest trust relationship
        3. Using a read-only domain controller
      5. Creating an RODC
      6. Creating the perimeter network
        1. Configuring the virtual switches
        2. Configuring Routing and Remote Access
        3. Completing the gateway design
      7. Locking down the perimeter network
        1. Active Directory
        2. The remote desktop
      8. Remote access without using the gateway
      9. Summary
    12. 5. High Availability
      1. Why high availability matters for VDI
      2. Designing HA for VDI
      3. HA for the RD Broker role
        1. Creating an RD Broker Farm
      4. HA for the RD Web Access and RD Gateway roles
        1. Setting up NLB
      5. HA and Hyper-V
      6. HA for virtual desktop collections
        1. HA for session collections
        2. HA for VDI collections
      7. Summary
    13. 6. Scale and Performance
      1. Understanding scale and performance
        1. Testing RDS
      2. Hyper-V
      3. RDS role servers
        1. RD Broker
        2. Tuning the RD Gateway and RD Web Access roles
      4. Session Collections
        1. Testing Session Collections
      5. Pooled and Personal Collections
        1. Virtual Desktop Template optimization
          1. Dynamic memory
          2. Processor
          3. Networking
        2. VM storage
        3. Tuning Windows 8 for VDI
        4. Capacity planning for VDI collections
      6. Client settings
      7. Desktop as a Service
      8. Summary
    14. 7. Maintenance and Monitoring
      1. Maintenance
        1. Windows Server Update Services
          1. Installing and configuring WSUS
        2. Maintaining the RDS servers and hosts
        3. Virtual desktops
          1. Recreating pooled virtual desktops
      2. Monitoring
        1. Managing and shadowing users' sessions
      3. The Remote Desktop Diagnostic tool
      4. Microsoft System Center
        1. Configuration Manager
        2. Operations Manager
        3. Orchestrator
        4. Virtual Machine Manager
        5. System Center Advisor
      5. Summary
    15. 8. Managing User Profiles and Data
      1. Background and options
      2. User Profile Disks
        1. Using the built-in tools in Windows for managing the users' settings
        2. Enabling Roaming Profiles
          1. Creating the Security Group
          2. Creating the file share
          3. Using Active Directory to enable Roaming Profiles
        3. Super-mandatory profiles
        4. Configuring Folder Redirection and Offline Files
      3. User Environment Virtualization
        1. Installing UE-V
          1. Setting up the file shares for UE-V
          2. Deploying the UE-V agent
        2. Using Group Policy to manage UE-V
        3. Adding and creating UE-V settings location templates
      4. Summary
    16. 9. Virtual Applications
      1. RD RemoteApp
        1. Publishing RemoteApps from a session host
        2. Publishing RemoteApps from a Pooled Collection
      2. Application virtualization
        1. App-V architecture and components
          1. App-V packages
        2. Installing the App-V infrastructure
          1. Installing the App-V client to virtual desktops
          2. Installing the App-V Client to session hosts
        3. Configuring App-V
          1. Creating an App-V sequence
          2. Deploying a package
          3. UE-V and App-V
          4. App-V and System Center Configuration Manager
      3. Summary
    17. 10. Licensing and the Future of VDI
      1. Windows Server
        1. Remote desktop licensing
        2. License activation for Windows
      2. Windows 8.1
      3. Other software
        1. MDOP
        2. SQL Server
        3. Office 2013 and Office 365
        4. Third-party VDI solutions
      4. The future of VDI – Desktop as a Service
      5. Summary
    18. Index