Last Updated August 31, 2011

  1. Download the latest version of software for Student VM and save those to a folder on your host machine or network share.
    • VLC 1.1.11
    • SecureCRT 6.7.1 32 bit
    • JDK 6 u 27 w/ NetBeans 7.0.1
    • Firefox 6.0
    • Emacs 23.3
    • Adobe Reader 10.x
  1. Download and extract the Base VM produced by SWRT.
  2. Launch the VMX file to Open the VM
    It will go through a series of installation routines in the end you will have the System Preparation Tool 3.14 window open
  3. Map a drive to the folder with the installers (either local host or network share).
  4. Install each application.  Restart as necessary.
    1. Firefox
    2. VLC
    3. SecureCRT/FX
    4. JDK with NetBeans
    5. Emacs - drag folder to Program Files and run emacs-23.3\bin\addpm.exe
    6. Adobe Reader (installation downloads latest at install time)
  5. Change the default background image
    Replace c:\oem\backgrounds\mit-base.bmp with alternate background image
  6. Update Support Information
    1. Run regedit
    2. Update in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation
      Model = Student VM Mon Year
  7. Add shortcut to Introduction to the Student VM http://ist.mit.edu/services/software/vmware/student-image/intro to C:\Users\All Users\Microsoft\Windows\Start Menu\Programs\Startup
  8. Reset Page File - figure out what we should set it to
  9. Setup Pharos Printing using PopUp Client
    1. https://kb.mit.edu/confluence/display/istcontrib/Install+Pharos+client+on+Windows
      Note: only the Pharos Color Printer shows up in the Printers and Devices Control Panel, but both BW & Color are available when you select a printer to print.
  10. Apply Windows & VirusScan Updates
    1. Windows Updates
      1. Run "windows update"
      2. Apply all important updates (these are taken from the MIT WAUS already configured in the Base VM)
      3. Restart if necessary
    2. Virus Scan Enterprise Updates
      1. Right click on the VS shield and click Update Now
        This will apply the latest DATs etc.
  11. Make a Pre-Generalization Backup of the VM
    1. Shutdown using the Start Menu
    2. Close the VM in VMware (to remove the lock file)
    3. Make a copy of the .vmwarevm folder including the vmx and vmdk files. about 13 GB
  12. Now you are ready to begin the Generalization Process

Generalizing the Student VM

  1. Open and Power On the VM you just modified
  2. IMPORTANT Edit the unattend.xml file according to the instructions to rearm for sysprep.
    • Perform the following edits:

      Old Value

      New Value

      <settings pass="oobeSystem" wasPassProcessed="true">

      <settings pass="oobeSystem">

      <Mode>Audit</Mode>

      <Mode>OOBE</Mode>

      <settings pass="generalize" wasPassProcessed="true">

      <settings pass="generalize">

      <SkipRearm>1</SkipRearm>

      <SkipRearm>0</SkipRearm>

  3. In SysPrep window
    1. Check the Generalize Box
    2. Make sure Shutdown Option is set to Shutdown
    3. Make sure System Cleanup Action is set to Enter System Out-of-Box Experience (OOBE)
    4. Click OK and wait
      You will end up with the VM closed in VMware.

Final edits of the VMware configuration and cleanup of folders

  1. Edit the .vmx file
    1. Change the VM Name to "Windows 7 SP1 Student - x32"
    2. Make sure path to vmdk is relative. If you used snapshots at any point, it has probably reverted to an explicit path.
    3. Replace all sharedFolder entries with the following to enable mirror on Macs of Documents and Desktop. You may have to find a few hiding entries that are not together.
      sharedFolder0.present = "TRUE"
      sharedFolder0.enabled = "TRUE"
      sharedFolder0.readAccess = "TRUE"
      sharedFolder0.writeAccess = "TRUE"
      sharedFolder0.hostPath = "~/Desktop"
      sharedFolder0.guestName = "My Desktop"
      sharedFolder0.expiration = "never"
      sharedFolder1.present = "TRUE"
      sharedFolder1.enabled = "TRUE"
      sharedFolder1.readAccess = "TRUE"
      sharedFolder1.writeAccess = "TRUE"
      sharedFolder1.hostPath = "~/Documents"
      sharedFolder1.guestName = "My Documents"
      sharedFolder1.expiration = "never"
      sharedFolder.maxNum = "2"
      hgfs.redirectShellFolder.maxNum = "4"
      sharedFolder0.shareTags = "auto,desktop"
      sharedFolder1.shareTags = "auto,documents"
      hgfs.redirectShellFolder0.name = "desktop"
      hgfs.redirectShellFolder0.enabled = "TRUE"
      hgfs.redirectShellFolder1.name = "documents"
      hgfs.redirectShellFolder1.enabled = "TRUE"
    4. Remove the UUID and Ethernet entries according to Windows 7 Reference VM Setup to remove the VMware ids.
    5. Make sure CDROM is set to Auto
      ide1:0.deviceType = "cdrom-raw"
      ide1:0.fileName = "auto detect"
      ide1:0.present = "TRUE"
      ide1:0.startConnected = "TRUE"
    6. Save and exit the .vmx file.
  2. Delete all files in the .vmwarevm folder except the .vmx and the vmdk folder.
  3. Copy vmx_enable_sharing.vbs into the .vmwarevm folder (this is the script to covert the vmx configuration file on Windows hosts to mirror the Desktop and My Documents.
  4. Zip up the folder using 7-zip

TEST

  • No labels