Restricting virtual machines in VMware Workstation
search cancel

Restricting virtual machines in VMware Workstation

book

Article ID: 335067

calendar_today

Updated On:

Products

VMware Desktop Hypervisor

Issue/Introduction

This article provides steps to add restrictions to a virtual machine running on VMware Workstation 10.x and later

Environment

VMware Workstation 10.x (Windows)
VMware Workstation 11.x (for Linux)
VMware Workstation Pro 14.x (for Linux)
VMware Workstation Pro 14.x (for Windows)
VMware Workstation 10.x (Linux)
VMware Workstation Pro 15.x (Windows)
VMware Workstation 11.x (for Windows)

Resolution



VMware has enhanced the capabilities of Encrypted Virtual Machines to include the ability to expire the virtual machine on a certain date and time. This feature enables an administrator to create virtual machine that can be shared with other users that will run until the given date and time.
 
This feature establishes a secure connection to a time server at VMware or a server of your choice to validate the current date and time, which prevents users from rolling back the clock on their host machine to avoid expiration. VMware has also added the ability to set the synchronization frequency to control the load on the network and a lease period to allow users to run expiring virtual machines while offline.
 
To add restrictions to a virtual machine:
  1. Power off the virtual machine.
  2. Click VM > Settings for the virtual machine.
  3. Click the Options tab.
  4. Click Access Control.
  5. Click Encrypt.
  6. Enter a password when prompted.

    Note: The password is required to use the virtual machine. Provide it to the end user of the virtual machine.
     
  7. Click Encrypt. The encryption process starts. The time taken to encrypt depends on the size of the virtual machine.
  8. When the encryption process is complete, the Enable restrictions option is activated.
  9. Click Enable restrictions.
  10. Set the Restrictions password.

    Note: This password is required to make restriction changes to the virtual machine. This password should be documented with the administrator and not made available to the end user.
     
  11. Select Require the user to change the encryption password if you want the end user to change the password when the virtual machine is moved or copied.
  12. Select Allow USB devices to be connected to this virtual machine if you want the end user to connect USB devices present on the host machine.
  13. Select Expire the virtual machine after and set a date and time for the expiration.

    Note: This advanced option allows you to:
     
    • Change the message that displays when the virtual machine has expired.
    • Add a message that displays when the virtual machine is about to expire. You can change the time when the message displayed. The default is 10 days before expiration.
    • Change the Restrictions Management Server. The default server is a VMware time server. You can change this to any server that supports HTTPS protocol.
    • Change the server contact frequency to verify the time. The default is 30 minutes.
    • Change the maximum time the virtual machine can be used offline without any contact to the Restrictions Management Server.
       
  14. Click OK.