To capture an application package which is more than the default size, you must create a larger capture template disk. Follow the procedure in this topic to increase the size of the capture template disk.
By default, the size of a capture template disk is 20 GB.
-
Log into the base VM where App Volumes agent is installed.
-
Navigate to the %svagent%\templates folder and copy the wemcapture.vhd template.
-
Log in to a VM where App Volumes agent is not installed and place the copied wemcapture.vhd template at a desired location.
-
Go to Disk Management > Action and select Create VHD.
-
To specify the virtual hard disk location, click Browse, go to a desired location, enter a file name, and click Save.
-
Select the required virtual hard disk size.
NOTE: The virtual hard disk size must be more than 20 GB. -
Select the virtual hard disk format as VHD.
-
Select the Virtual hard disk type as Dynamically expanding.
-
Right-click the newly created Disk and select Initialize Disk.
-
Select the partition style as MBR and click Ok.
-
Right-click the Unallocated space on the Disk and select New Simple Volume.
-
Follow the prompts as per the New Simple Volume wizard: assign a drive letter, select the File system as NTFS, enter the rest of the information as per your requirement, and complete the steps in the wizard.
-
Attach wemcapture.vhd which was copied to this VM in an earlier step and assign a drive letter.
To assign a drive letter, in the Disk Management Window, right-click the wemcapture.vhd and select Change Drive Letter and Paths. -
Ensure that the system files are not hidden.
-
Navigate to Appearance and Personalization > File Explorer Options and click Show hidden files and folders.
-
In the File Explorer Options window, ensure that these checkboxes are cleared (not selected):
-
Hide empty drives in the computer folder
-
Hide extensions for known file types
-
Hide protected operating system files (recommended)
-
-
-
Copy all files and folders including system files from the attached wemcapture.vhd to the volume created for the new disk.
-
To specify that the volume of the newly created disk does not receive a drive letter by default, use the
diskpartcommand and theNODEFAULTDRIVELETTERattribute.-
Open a command prompt and type
diskpart. -
At the
DISKPARTprompt, typelist volumeand select Enter.Make note of the volume number of the drive which must not receive a drive letter by default.
-
At the
DISKPARTprompt, typeselect volume volume_number, and select Enter.Make sure to specify the volume number in the command.
-
At the
DISKPARTprompt, use the following command:attributes volume set NODEFAULTDRIVELETTER
-
-
In the Disk Management window, right-click the volume and select Change Drive Letter and Paths.
-
Click Remove and Ok.
-
Right-click the disk associated with this volume, select Detach VHD, and click OK.
-
Navigate to the virtual hard disk location and rename the file to wemcapture.vhd,
-
Copy this file and go to the base VM where App Volumes agent is installed.
-
On the base VM, at the %svagent%\templates folder, replace the the existing wemcapture.vhd file with the file created in the previous steps.
-
Publish the image.
What To Do Next
You can use the updated image for capturing applications which are more than 20 GB.
To capture applications, see Capture an App Volumes Application Package Using Horizon Cloud.
Questa pagina è stata utile?