A company has a server running Windows Server 2008 R2, with Windows Deployment Services (WDS), the Microsoft Deployment Toolkit (MDT), and the Windows Automated Installation Kit (WAIK) set up. The company also has client computers running Windows 7 Enterprise.
You need to remove some files from a virtual hard disk on a client computer.
What should you do first?
Correct Answer: L
Explanation/Reference:
Explanation:
DiskPart.exe and managing Virtual Hard Disks (VHDs) in Windows 7
In Windows 7, new commands have been added in DiskPart to allow for the creation and management of Virtual Hard Disks (.vhd files). The DiskPart VHD management commands have been provided below in 2 sections - commonly used commands with examples and other commands. It is assumed in each of the examples that DiskPart.exe has already been launched in an elevated command prompt.
Creating a VHD
The example below creates a 20GB dynamically expanding VHD called "test.vhd" and places it in the root of the C: drive. Note that the type parameter is optional and the default type is fixed. create vdisk file=c:
\test.vhd maximum=20000 type=expandable
Attaching a VHD
The following example shows how to select and attach the VHD. It also provides steps for partitioning, formatting and assigning a drive letter to the attached VHD.
select vdisk file=c:\test.vhd
attach vdisk
create partition primary
format fs=ntfs label="Test VHD" quick
assign letter=v
Detaching the VHD
To detach (i.e. unmount) the VHD, use the following example:
select vdiskfile=c:\test.vhd
detach vdisk