title | layout | sidebar | permalink | folder |
---|---|---|---|---|
Working with the Visual Studio 2017 (Winter Update) Virtual Machine |
page |
tfs |
/labs/tfs/started/ |
/labs/tfs/started/ |
The Microsoft® Visual Studio® ALM/DevOps Virtual Machine is a single virtual machine image that contains fully installed and configured copies of the software listed below. This virtual machine requires Hyper-V, and can be used with Windows Server 2008 R2 SP1, Windows 8 (SLAT-capable processor required)/Windows Server 2012, Windows 8.1/Windows Server 2012 R2, Windows Server 2016, or Windows 10. The detailed instructions in this document assume that you are using Windows 10, although the instructions are similar for other operating systems.
The 2017 (Winter Update) virtual machine contains the following pre-configured software:
-
Microsoft Windows Server 2016 Standard Evaluation
-
Microsoft Visual Studio Enterprise 2017 (15.5)
-
Microsoft Visual Studio Team Foundation Server 2018
-
Microsoft Office Professional Plus 2016 (Word, PowerPoint, Excel, Outlook)
-
Microsoft SQL Server 2016 Standard
-
Sample users and data required to support hands-on-lab scripts which accompany this download.
The virtual machine requires online activation if you wish to use it more than 10 days. For this to occur, your VM will need to be connected to a virtual network that has Internet access. We strongly recommend that you only connect this virtual machine to the Internet temporarily and promptly disable Internet access once activation is complete. Please refer to the section “Configure this Virtual Machine with Hyper-V” below for more information.
If you choose to activate your virtual machine, it will begin a 180-day trial of Windows Server 2012 Standard Evaluation. After the 180 days is over you will need to stop using this virtual machine.
It is strongly recommended that you implement a rollback strategy for restoring this virtual machine to a previous point in time. This is helpful in case you make a mistake, or if you want to reset the state of the original sample data contained within this virtual machine. Hyper-V uses a concept called checkpointing. The hands-on-labs which were built for use with this virtual machine were tested using a “clean” state of the virtual machine; therefore it is recommended that you restore to a clean checkpoint before you start each hands-on-lab. See the section titled “Working with Checkpoints” below for more information.
A set of hands-on-lab documents, which also function as demo scripts, are available for download along with this virtual machine. The latest version of these documents can be downloaded from here. These hands-on-labs provide a guided experience for you to learn about the new application lifecycle management capabilities of Visual Studio 2017, as well as application lifecycle management features which have been introduced since Visual Studio 2010.
You will want to provide as much RAM as possible to this virtual machine. A minimum of 8GB is suggested. But you should not allocate all of your physical memory to a virtual machine or you can “starve” your host machine of the RAM it needs to complete other tasks. For example, if you have 16GB of physical memory on your computer then a good allocation for your virtual machine might be 12GB. This can be a process of trial and error.
By default, when you import this virtual machine it will be configured with a certain amount of RAM and number of virtual processors. If you have the necessary hardware, you can increase this allocation after the import step by using the Hyper-V console and accessing the settings for this virtual machine.
If you have more than one hard drive, place the VHD file on a physical drive that is different from your system drive. Use the drive with the faster spindle rate if it is a mechanical drive or use an SSD drive. If you use an external hard drive, faster interfaces such as eSata or Firewire 800 will work better. Be careful with slower laptop drives and USB 1.1 interfaces.
Test | Requirement for Hyper-V Host Machine |
---|---|
Operating System | Microsoft Windows® Server 2008 R2 with the Hyper-V role enabled
Microsoft Windows® Server 2012 with the Hyper-V role enabled Microsoft Windows® 8 with Hyper-V enabled Microsoft Windows® 8.1 with Hyper-V enabled Microsoft Windows® Sever 2012 R2 with Hyper-V enabled Microsoft Windows® 10 with Hyper-V enabled Microsoft Windows® Sever 2016 with Hyper-V enabled |
Drive Formatting | NTFS |
Processor | Intel VT or AMD-V capable, *SLAT-capable CPU required if using Windows 8* |
RAM | 8 GB of free physical RAM (9 GB or more recommended) |
Hard disk space required for install | 80 GB (more if using checkpoints) |
Select the user you want to log in as and the password box will appear. All accounts use the same password: P2ssw0rd (capital letter P, the number two, the letter s, the letter s, the letter w, the number zero, the letter r, and the letter d).
This section lists the tasks that you must perform using a server with the Hyper-V role enabled.
Hyper-V introduces the concept of “checkpoints” which can be used to revert a virtual machine to a previous configuration state. The hands-on-labs which were built for use with this virtual machine were tested for use with a “clean” state of the virtual machine; it is recommended that you restore to a clean checkpoint before you start each hands-on-lab. As delivered, this virtual machine does not include any checkpoints.
Note that having many checkpoints can adversely affect performance. You can delete checkpoints you no longer need and Hyper-V will merge these when the VM is not running.
Tasks | Detailed Steps |
---|---|
1. Create a Checkpoint |
a. Prepare the VM(s) in the state you wish to capture. b. Open or return to the Hyper-V Manager c. Select the VM and click Checkpoint under Actions. d. Wait for the checkpoint captures to complete. e. (optional) Right-click a checkpoint to rename it. |
2. Apply a Checkpoint | a. Open or return to the Hyper-V Manager b.Select the VM, right-click on the checkpoint you wish to use, and choose Apply. You will be prompted to save the current state as a checkpoint. Doing so will retain your current state, skipping will discard it. |
Previous versions of this virtual machine were hard-coded to boot up with a specific demo date that was in the past. This updated version of the virtual machine will match the real-world date and time by default, eliminating many of the headaches associated with being disconnected from the real-world date. Only one lab requires the date to be set specifically to a certain demo date (the Agile Planning and Portfolio Management lab), and instructions for how to do this are provided at the beginning of that lab.
If you have comments or general feedback, please e-mail [email protected].