VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses

2,294 views

Published on

Today’s talk about VDI centers around deploying hundreds or thousands of desktops. But sometimes you just want access for a few people and a few applications. Or, you just can’t afford big-budget solutions. Have you tried Microsoft Hyper-V and RDS? Combining these two tools, a sufficiently-powerful server, and the information in this session, you’ll quickly build a single-server VDI solution for just those small needs. Join RDS MVP Greg Shields for a look at the very small in VDI. He’ll show you how to get started on the most micro of budgets, and send you home with the exact click-by-click to begin hosting your own virtual desktops.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,294
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
45
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses

  1. 1. VDI-in-a-Box!Microsoft Desktop Virtualization for Smaller Scenarios and Businesses<br />Greg Shields<br />Senior Partner & Principal Technologist<br />www.ConcentratedTech.com<br />
  2. 2. IT’s Mission Statement,Compliments of…Well…Me.<br />“It is the core mission of IT to create, manage, and ensure the secured access to business applications and data.”<br /> Greg Shields,<br /> TechNet Magazine,<br /> February, 2010<br />
  3. 3. Fulfilling that Mission<br />We IT Pros troubleshoot desktops.We IT Pros fix printers.We IT Pros install software.We IT Pros keep the network running.<br />But above all else, our job is to create and manage that secured access to our business’ applications and data.<br />Without it, our business cannot operate.<br />Without it, we have no job.<br />
  4. 4. DISCUSS: How Do We Do That?<br />What mechanisms are available today to deliver applications and data to users?<br />
  5. 5. IT 2.0:Delivering Applications and Data<br />What mechanisms are available today to deliver applications and data to users?<br />Local desktops & laptops<br />File servers and shares<br />App-V<br />Remote Desktop Services<br />Virtualized RDS<br />RemoteApp for Hyper-V<br />XP Mode / MED-V / Client Virtualization <br />VDI, Pooled Virtual Desktops<br />VDI, Personal Virtual Desktops<br />Increasing Complexity<br />Increasing Management Burden<br />Increasing Overhead Cost<br />
  6. 6. Lightweight to HEAVYweight Spectrum<br />Local desktops & laptops<br />File servers and shares<br />Remote Desktop Services<br />App-V<br />Virtualized RDS<br />RemoteApp for Hyper-V<br />XP Mode / MED-V / Client Virtualization <br />VDI, Pooled Virtual Desktops<br />VDI, Personal Virtual Desktops<br />Lightweight<br />HEAVYweight<br />
  7. 7. Putting the pieces together<br />Architecting a VDI Infrastructure<br />
  8. 8.
  9. 9.
  10. 10.
  11. 11.
  12. 12.
  13. 13.
  14. 14.
  15. 15.
  16. 16.
  17. 17. SOLUTION: Right-size Application Delivery to User Needs<br />IT’s 2.0 approach concerns itself as much with how the app is delivered as the app itself.<br />Direct Installation<br />Streamed Installation<br />RDS session hosting<br />VDI<br />VDI can be an excellent solution forapps that don’t work atop XP/2008!<br />
  18. 18. SOLUTION: Right-size Application Delivery to User Needs<br />For small scenarios and needs, VDI-in-a-Box aggregates Microsoft’s VDI functions onto a single server.<br />With RemoteApp for Hyper-V, users needn’t know they’re on a hosted desktop.<br />RDS<br />Conn. Broker<br />Hyper-V<br />Web Access<br />
  19. 19. Building a VDI-in-a-box<br />Extended Demo<br />
  20. 20. Step 1: Install Components<br />Install RDS Role Services to Server<br />RD Session Host<br />RD Virtualization Host (adds Hyper-V)<br />RD Connection Broker<br />RD Web Access (adds IIS)<br />RD Licensing*<br />
  21. 21. Step 2: Generate & Install Certs<br />Remote Desktop Connection Manager<br />Virtual Desktops: Resources & Configuration<br />Digital Signature<br />Sign with Digital Certificate<br />This will install a self-signed certificate.<br />The usual caveats about using self-signed certificates apply here.<br />
  22. 22. Step 3: Spoof the Trust on this Cert<br />Use Group Policy<br />Computer Configuration | Policies | Admin Templates | Windows Components | RDS | Remote Desktop Connection Client<br />Specify SHA1 thumbprints of certificates representing trusted .rdp publishers.<br />Enter the certificate thumbprint.<br />Doing this forces RDS to trust your self-signed certificate.<br />
  23. 23. Step 4: Create and ConfigureVirtual Machines<br />Install Windows 7 or Windows XP machines.<br />Install Integration Services (if necessary).<br />Enable Remote Desktop.<br />Configure the Remote Desktop Users Group.<br />Enable Remote RPC for RDS<br />HKLMSystemCurrentControlSetControlTerminalServer; AllowRemoteRPC = 1<br />Enable Firewall Exceptions<br />Remote Desktop Services<br />Remote Service Management<br />
  24. 24. Step 4½: Create and ConfigureVirtual Machines<br />Add RDP Protocol Permissions.<br />wmic/node:localhost RDPERMISSIONS whereTerminalName="RDP-Tcp" CALL AddAccount "contosordvh-srv$",1<br />wmic/node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='contosordvh-srv$'" CALL ModifyPermissions 0,1<br />wmic/node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='contosordvh-srv$'" CALL ModifyPermissions 2,1<br />wmic/node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='contosordvh-srv$'" CALL ModifyPermissions 9,1<br />net stop termservice<br />net start termservice<br />
  25. 25. Step 4¾: Create and ConfigureVirtual Machines<br />Add the RD Virtualization Host’s Computer Account to the VM’s Administrator’s Group.<br />Reboot.<br />Enable Snapshot Rollback.<br />Right-click the VM and choose Snapshot.<br />Rename the Snapshot to “RDV_Rollback”.<br />
  26. 26. Step 5: Configure RD Web Access<br />Add the Server’s computer account to the local TS Web Access Computers group.<br />Configure RD Web Access to Point toRD Connection Broker.<br />
  27. 27. Step 5: Configure the Desktop Pool<br />Back in RD Connection Manager, start the Configure Virtual Desktops wizard.<br />Add the server as an RD Virtualization Host.<br />Add the server as an RD Session Host.<br />Clear the Assign personal virtual desktop box.<br />Create a Virtual Desktop Pool.<br />Add the virtual desktops you just created.<br />Supply Display Name and Pool ID.<br />
  28. 28. Step 6: Start Your Virtual Desktop!<br />Navigate to https://server/rdweb.<br />Double-click on the Desktop Pool you just created.<br />Voila!<br />
  29. 29. Desktops to RemoteApps<br />Yet, there are problems with deploying desktops.<br />Double-desktops to manage.<br />Double-desktops to secure and update.<br />Retaining an old OS past its lifetime.<br />Deploying a HEAVYweight solution to fix a lightweight problem.<br />
  30. 30. Desktops to RemoteApps<br />Yet, there are problems with deploying desktops.<br />Double-desktops to manage.<br />Double-desktops to secure and update.<br />Retaining an old OS past its lifetime.<br />Deploying a HEAVYweight solution to fix a lightweight problem.<br />In the end, you just have a few applications that need a different delivery mechanism.<br />BETTER SOLUTION: RemoteApp for Hyper-V!<br />
  31. 31. RemoteApp for Hyper-V<br />Yet, there are problems with deploying desktops.<br />Double-desktops to manage.<br />Double-desktops to secure and update.<br />Retaining an old OS past its lifetime.<br />Deploying a HEAVYweight solution to fix a lightweight problem.<br />
  32. 32. VDI: How Users Connect<br />With traditional VDI, users connect to a provisioned desktop that resides in a pool.<br />
  33. 33. RAFH-V: How Users Connect<br />With RemoteApp for Hyper-V, users instead connect seamlessly to an application on a pooled desktop.<br />
  34. 34. RAFH-V: Provisioning Applications<br />Using RemoteApp for Hyper-V, problem applications can be delivered to users directly.<br />Hosted atop a pooled desktop.<br />Maintains the VDI architecture, installs problem applications away from user desktops.<br />Remotable across any network connection supported by RDP.<br />User experience improved greatly by SP1.<br />
  35. 35. RAFH-V: Provisioning Applications<br />Using RemoteApp for Hyper-V, problem applications can be delivered to users directly.<br />Hosted atop a pooled desktop.<br />Maintains the VDI architecture, installs problem applications away from user desktops.<br />Remotable across any network connection supported by RDP.<br />User experience improved greatly by SP1.<br />One major limitation: No support (currently) for RD Gateway or RemoteApp and Desktop Connection.<br />I am currently researching why this limitation exists.<br />
  36. 36. Remoteapp for Hyper-V<br />Extended Demo<br />
  37. 37. Step 7: RemoteAppfor Hyper-V<br />Open the Remote Desktop Client.<br />Create a new connection, as if it were a direct connection.<br />Save the RDP file and manually add…<br />Remoteappapplicationmode:i:1<br />Alternate shell:s:rdpinit.exe<br />RemoteApplicationName:s:{appName}<br />RemoteApplicationProgram:s:{appProgram}<br />DisableAppCapsCheck:i:1<br />Prompt for Credentials on Client:i:1<br />Loadbalanceinfo:s:tsv://vmresource.1.{poolID}<br />
  38. 38. Step 7: RemoteAppfor Hyper-V<br />Finally provision RDP file to users.<br />Group Policy Preferences<br />Systems Management Solution<br />
  39. 39. Lightweight to HEAVYweight Spectrum<br />Local desktops & laptops<br />File servers and shares<br />Remote Desktop Services<br />App-V<br />Virtualized RDS<br />RemoteApp for Hyper-V<br />XP Mode / MED-V / Client Virtualization <br />VDI, Pooled Virtual Desktops<br />VDI, Personal Virtual Desktops<br />Lightweight<br />HEAVYweight<br />
  40. 40. Your Feedback is Important<br />Please fill out a session evaluation form drop it off at the conference registration desk.<br />Thank you!<br />

×