Get My Podcast On iTunes!
Badges

vexpert_logo_100x57

gestaltitbadge

follow-me-twitter

Subscribe to me on FriendFeed

Comments / DISQUS
Feedjit.com

Optimized for VDI XP Virtual Machine Template Checklist

This checklist is intended to optimize a Windows XP VM for VDI deployments and keep it as small as possible.
The configuration steps were taken from the VMWorld 2007 lab “Using VMware Virtual Desktop Infrastructure for Hosted Computing”. The Appendix of the lab materials .pdf was copied to create this table and most of the steps are copied as they appear in that document.

It is recommended that a VM that has been optimized by performing the steps in this checklist be used as a template or gold image for all other XP VMs.


To view this complete table in this post your desktop resolution will have to be at least 1280 x [any]. Otherwise you can download it as a .pdf

Optimized XP VM for VDI Template Checklist

  Configuration Notes Complete?
1. Build a Windows XP Professional VM You should connect to this VM via VC Console because some options won?t be available through a terminal Services (RDP) session.  
2. Virtual Machine Systems changes: Ensure that floppy drive (if present) is not connected at startup  
    Ensure that cd-rom drive (if present) is not connected at startup  
3. Windows XP Changes: Ensure SP2 + applicable updates are applied  
4. Install VM Tools Sync time from host  
    Disable Windows time update  
5. If you want to enable 24 bit color you need to modify a local machine policy. By default Windows XP sends 16 bit color over Terminal Services.  
    local computer policy editor, go to Local Computer Policy  
    Computer Configuration /Administrative Templates / Windows Components / Terminal Services  
    Then click on the Limit maximum color depth policy. Enable, set to 24 bit, and click on OK.  
    Restart your RDP session and you will be able to use 24 bit color  
6. Disable COM1 & COM2 Right-click My Computer -> Select Manage  
    Device Manager  
7. Turn off all theme enhancements Right-click My Computer -> Select Properties  
    Choose the Advanced Tab  
    Under Performance Section Choose Settings  
    Choose Adjust for Best Performance  
    Optionally choose settings like font smoothing if desired  
8. Disable all screensavers except Blank password protected Copy the scrnsvr.scr over the top of all the others (because windows has a habit of bringing them back if you delete them). Once you do this, you should enable the only screensaver that will show up which is the Blank/Password Protected.  
9. Delete all background wallpapers Why waste RAM or disk space on wallpapers that will be covered by an application Anyway  
10. Ensure full hardware acceleration Control Panel -> Display -> Settings Tab -> Advanced Button  
    Troubleshooting Tab -> Set acceleration to full (that way by default, but check to make sure it hasn?t changed in some latest Microsoft Update)  
11. Remove Windows Update folders Delete all the hidden update folders (this uses a lot of space and no one is going to uninstall any of those updates). Leave the one that looks like $hf_mig$.  
12. Disable Indexing Services  
    Uncheck the Indexing services  
    Disable it on the C: drive also ? in My Computer right click the C: drive and select Properties.  
    Uncheck the Allow indexing service ?. Box at the bottom of the General tab  
13. Disable Paging of the executive HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management  
    DisablePagingExecutive=dword:00000001  
14. Create and publish a GPO for folder redirection to the users? storage space on the SAN for the following: Application Data  
    My Documents (and all sub-class special folders)  
    My Desktop  
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;232692  
15. Optimize the Paging File Right-click My Computer -> Select Properties  
    Choose the Advanced Tab  
    Under Performance Section Choose Settings  
    Click Change. Select the Custom Size option and set the Initial Size and Maximum Size to 512 MB or the exact size of the configured RAM (whichever is greater).  
16. Turn off unnecessary sounds (ie Startup and Shutdown wav?s) Control Panel, double-click Sounds and Audio Devices and move to the sounds tab  
    Disable unnecessary sounds (mail notification and warnings are probably the only ones you need)  
17. Defragment Prefetch (faster booting) From DOS Prompt type defrag c: -b  
    Do NOT clean out the Prefetch directory however  
    It is a bad idea to periodically clean out that folder as some tech sites suggest. For one thing, XP will just re-create that data anyways; secondly, it trims the files anyways if there?s ever more than 128 of them so that it doesn?t needlessly consume space. So not only is deleting the directory totally unnecessary, but you?re also putting a temporary dent in your PC?s performance.  
18. Remove or minimize System restore points Right-click My Computer, select Properties and go to the System Restore tab.  
19. Remove blinking ICONS from the systrey Remove the display of icons like the NIC that blink  
    Alternatively you can hide all ICONS by Modifying HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer.  
    In the right-hand pane create a new DWORD value called NoTrayItemsDisplay and set its value to 1.  
20. Get Rid of Microsoft Messenger Edit C:WINDOWSINFSYSOC.INF file  
    installed on your XP system, but their entries are hidden from and Add/Remove dialog  
    Remove the hide from the lines of the programs you wish to remove  
    Msmsgs=msgrocm.dll,OcEntry,msmgs.inf,hide,7  
    Save the file  
    Go to Control Panel Add/Remove Programs  
    Uncheck it and click Next  
21. Turn off Disk Performance Counters In Windows XP Performance Monitor disk counters for physical disks are turned on by default  
    Stop it by running: DISKPERF ?N  
22. Disable any unwanted services Autoruns from www.sysinternals.com is good for this  
23. Run Disk Cleanup Double Click My Computer  
    Right Click C:, properties  
24. Run Disk Defrag Double Click My Computer  
    Right Click C:, properties  
25. Run PageDefrag from sysinternals One of the limitations of the Windows NT/2000 defragmentation interface is that it is not possible to defragment files that are open for exclusive access. Thus, standard defragmentation programs can neither show you how fragmented your paging files or Registry hives are, nor defragment them. Paging and Registry file fragmentation can be  
    one of the leading causes of performance degradation related to file fragmentation in a system. PageDefrag uses advanced techniques to provide you what commercial defragmenters cannot: the ability for you to see how fragmented your paging files and Registry hives  
    are, and to defragment them. In addition, it defragments event log files and Windows 2000/XP hibernation files (where system memory is saved when you hibernate a laptop).  
    PageDefrag works on Windows NT 4.0, Windows 2000, Windows XP, and Server 2003.  
    Download from www.microsoft.com/technet/sysinternals/FileAndDisk/PageDefrag.mspx  
26. Save your work to this point as a new template Create a base install template without applications and then in Step 28 you will create a template with applications installed  
27. Install Necessary Software Antivirus, Office, applications, etc.  
28. Repeat steps 23 -26 Save new template with installed applications.  
    If you have different applications for different departments then create templates for each department as needed.  



Related Posts

View Comments to “Optimized for VDI XP Virtual Machine Template Checklist”

Leave a Reply

blog comments powered by Disqus
Support VM /ETC
Support VMETC.com

Support VMETC.com

Free Business and Tech Magazines and eBooks
@rbrambley tweets
VMTN Roundtable Podcasts
Subscribe



Add to Google Reader or Homepage
Subscribe in NewsGator Online
Add to netvibes
Add to Plusmo