Access Keys:
Skip to content (Access Key - 0)

Instructions for Generalizing VM for deployment

Do not install any software or modify the configuration of the VM during this stage unless instructed to.

Note: If you see a reference to "Right-clicking" and you don't have a right mouse button, use "Control-Click" or "two finger click" instead.

  1. Make a Copy of the VM while it is shut down.  If you make any steps after this point, it provides you a place you can come back to try again or fix.
  2. Power On the VM
  3. Empty Recycle Bin
  4. Run any system or AV updates you wish (if you update anything, be sure to restart at this point before proceeding to the next step)
  5. In SysPrep Window (Launch sysprep.exe in C:\Windows\System32\sysprep if not running)
    Note: If you are using an account other than the default Administrator account, you will need to do a few extra steps to clean up the account. This usually occurs when you are re-generalizing a machine with SysPrep.
    1. re-enable the default Administrator account
    2. login to the Administrator account
    3. delete the extra user accounts
    4. delete the extra users profiles and folders C:\Users - you may need to Take Ownership to delete all the files and folders.
    5. launch SysPrep
    1. Check Generalize box
    2. Change Shutdown Option to Shutdown
    3. Confirm System Cleanup Action is Enter System Out-of-Box Experience (OOBE)
    4. Click OK
  6. After VM Shuts down, Edit the VM Options in VMware Fusion or Workstation removing any shared folders, but leaving it set to Always Enabled.
  7. Close the VM tab (to remove the lock).
  8. Cleanup the .vmwarevm folder 
    1. Remove all .log files
    2. Remove any file not ending in .vmx or .vmdk
    3. Remove the caches folder
  9. Rename the .vmx file Windows 7 x32 - Student Sp2012.vmx (or wahtever is appropriate)
  10. Edit Windows 7 x32 - Admin SP2012.vmx with a text editor
    1. Swap "sharing" lines with the following to enable mirroring on Macs
      hgfs.mapRootShare = "FALSE"
      sharedFolder.maxNum = "1"
      sharedFolder0.present = "FALSE"

      They may not be contiguous

      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" = "desktop"
      hgfs.redirectShellFolder0.enabled = "TRUE" = "documents"
      hgfs.redirectShellFolder1.enabled = "TRUE"
  11. Remove the following 4 lines or similar:
    ethernet0.addressType = "generated"
    uuid.location = "56 4d f3 46 36 fa 21 e6-68 1c 1a af 3b ef 79 9e"
    uuid.bios = "56 4d f3 46 36 fa 21 e6-68 1c 1a af 3b ef 79 9e"
    ethernet0.generatedAddress = "00:0c:29:ef:79:9e"
  12. Save .vmx file.
  13. Copy vmx_enable_sharing.vbs script to the same folder as the vmx for Windows users to be able to enable mirroring (student only).
  14. Zip Up files using 7zip.

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

August 01, 2016

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
vmware vmware Delete
c-virtualization c-virtualization Delete
generalizing-vm generalizing-vm Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki