How To Build A Windows 2008 VMware ESX VM
How To Build A Windows 2008 VMware ESX VM
How To Build A Windows 2008 VMware ESX VM
NOTE – VMware Virtual Center 2.5 Update 4 or vCenter 4 is required to use Guest Customizations with Windows 2008.
http://www.vmware.com/support/vi3/doc/vi3_vc25u4_rel_notes.html#whatsnew
For Windows 2008 R2 set the Template VM OS to Windows 2008 instead of Windows 2008 R2. After a new VM is
deployed from the template and guest customization as finished you can set the OS back to Windows 2008 R2.
3. Attach the Windows 2008 ISO to the CD/DVD drive and set it to connect at power on.
4. On the VM Edit Settings window go to the Options tab and in the General section uncheck the Enable logging check box.
5. Go to the Boot Options section and check the box to force going into the BIOS on next boot.
6. Power on the VM and when the setup screen appears go to Advanced, I/O Device Configuration.
8. Go to the Boot menu and set the CD-ROM first in the boot order.
9. Save, exit and install Windows 2008, during the install choose either Standard or Enterprise.
11. Close the “Initial Configuration Tasks” window, after the VMware Tools have been installed we will configure the server.
13. Disconnect the Windows 2008 ISO and set the device type to Client Device.
17. After reboot from the VMware Tools install configure the time zone.
18. Configure Networking. Uninstall these networking components. It is best to remove any components not needed to free up resources.
a. QoS Packet Scheduler – Not needed unless you are doing QoS at the Windows layer instead of the L2/L3 switch layer.
19. Leave the IP address set to DHCP unless DHCP isn’t available on the network.
21. Download and install updates. Turn on Windows Updates to download and notify before install.
22. Check for updates and install the latest critical and recommended updates. If the updates fail to download restart and try again.
23. Enable Remote Desktop
26. Check the box to “Do not show this window at logon” and click Close.
27. When the Server Manager window opens check the box to “Do not show me this console at logon” and close Server Manager.
36. Disable the system screen saver, this is the screen saver that starts when no user is logged into the system. Go to start run and type
regedit. Browse to this registry path “HKEY_USERS\.DEFAULT\Control Panel\Desktop” and delete the SCRNSAVE.EXE name.
37. Go to Sounds, when prompted choose No.
39. Click on Change desktop Icons and uncheck the boxes below.
40. Go to Settings Control Panel. Go to View and choose Status Bar and Details
41. Go to Tools, Folder Options, View tab and check/uncheck these boxes.
46. Go to Internet Explorer properties and set the home page to blank.
50. Go to the cmd prompt and type powercfg.exe -h off to disable hibernation. This command also deletes the hiberfile.sys from C:\
51. Delete the page file and reboot. This is so the C drive can be fully defragmented.
52. After reboot login and delete the pagefile.sys from the C: drive. Defragment the C: drive (Optional)
53. Go to Control Panel, Power options and set the Power Plan to High performance.
54. Click the change plan settings and set both options to Never.
56. Create a new temporary user named ptemp and add the user to the local administrators group.
59. Select Administrator and choose Copy To… Type C:\Users\Default and change Permitted to use to Authenticated Users.
NOTE – FOR WINDOWS 2008 R2 FOLLOW THESE INSTRUCTIONS FOR COPYING THE USER PROFILE. –
http://jeremywaldrop.wordpress.com/2009/09/18/how-to-copy-profiles-in-windows-2008-r2-and-windows-7/
60. Logout and login as Administrator, delete the ptemp user profile and user account.
61. Go to C:\Users\Default and delete the old NTUSER.DAT{ files.
65. Create a Windows 2008 Customization Specification for Windows 2008. You do not need to worry about the sysprep files. In Vista and
Windows 2008 sysprep is in C:\Windows\System32\sysprep. When the guest OS type is set to Vista VMware VC knows that the sysprep files
are already on the OS.
66. When a new VM gets deployed from this template choose your Windows 2008 specification.
67. On first boot up the VM will boot up to a login screen, do not login the VM will reboot automatically after a minute. On the next boot up
you should see this screen appear.
68. And this screen. This process may take a few minutes, so be patient.
69. The VM will automatically reboot again. Login and shutdown the VM.
Here is the article that lays it out step by step. I copied this into word in case the
webpage goes down.
http://jeremywaldrop.wordpress.com/2008/10/28/how-to-build-a-windows-2008-
vmware-esx-vm-template/