PvS Master Device – Preparation

Last Modified: Aug 15, 2017 @ 7:20 am

Navigation

ūüí° = Recently Updated

General Preparation

Citrix¬†CTX131611 –¬†Known Hardware Related Provisioning Services Issues

  1. Build the VDA like normal.
  2. Update VMware Tools.
  3. Join the machine to the domain.
  4. Citrix CTX128058 Recommended Operating System Patches for Provisioned Windows Targets contains a list of recommended hotfixes for Windows 2008 R2 and Windows 7. Or just install the Convenience Rollup.
  5. Chrome РCTX212545 PVS 7.6 CU1: Write cache getting filled up automatically recommends disabling Google Chrome automatic updates.

Pagefile

Ensure the pagefile is smaller than the cache disk. For example, if you allocate 20 GB of RAM to your Remote Desktop Session Host, and if the cache disk is only 15 GB, then Windows will have a default pagefile size of 20 GB and Provisioning Services will be unable to move it to the cache disk. This causes Provisioning Services to cache to server instead of caching to your local cache disk (or RAM).

The cache disk size for a session host is typically 15-20 GB. The cache disk size for a virtual desktop is typically 5 GB.

  1. Open System. In 2012 R2 and newer, you can right-click the Start button, and click System.
  2. For older versions of Windows, you can click Start, right-click the Computer icon, and click Properties. Or find System in the Control Panel.
  3. Click Advanced system settings.
  4. On the Advanced tab, click the top Settings button.
  5. On the Advanced tab, click Change.
  6. Either turn off the pagefile or set the pagefile to be smaller than the cache disk. Don‚Äôt leave it set to System managed size. Don’t forget to click the Set button.¬†Click OK several times.

VMware ESXi/vSphere

VMXNET3

E1000 is not supported – For VMware virtual machine, make sure the NIC is VMXNET3. E1000 is not supported and will affect performance.

PCI.sys hotfix – If your Target Device is Windows 7 or Windows Server 2008 R2 with VMXNET3 NIC, install Microsoft hotfix http://support.microsoft.com/kb/2550978. If you forget to install it then the Provisioning Services Target Device Software will remind you. This hotfix is included in the Convenience Rollup.

After the hotfix is installed, view hidden adapters in Device Manager and delete any lingering (ghost) VMXNET3 NICs.

  1. At the command prompt, type the following lines, pressing ENTER after each line
    set devmgr_show_nonpresent_devices=1
    start devmgmt.msc
    
  2. Open the View menu, and click Show hidden devices.
  3. Expand Network adapters, and look for ghost NICs (grayed out). If you see any, remove them.

SATA Controller

Provisioning Services does not support the SATA Controller that became available in hardware Version 10. Change the CD/DVD Drive to IDE instead of SATA.

Then remove the SATA Controller.

NTP

Ensure that the ESXi hosts have NTP enabled.

DHCP

After creating the vDisk, follow the instructions at http://www.jariangibson.com/provisioning-services-6-black-screen-issue/ to clear any DHCP address in the vDisk.

Slow Boot Times

Provisioning Services (PVS) Target Devices in VMware ESX boot slow intermittently after upgrading the ESX hosts from 5.0 to 5.1.

Citrix CTX139498 Provisioning Services Target Devices Boot Slow in ESX 5.x: Use the following command to disable the NetQueue feature on the ESX hosts:

esxcli system settings kernel set -s netNetqueueEnabled -v FALSE

Hyper-V

  1. Generation 2 support is available in Provisioning Services 7.8 and newer.
  2. If Generation 1, each Hyper-V Provisioning Services Target Device must have a Legacy network adapter. Legacy NIC supports Network Boot, while the Synthetic NIC does not.
  3. Give the Legacy Network Adapter a Static MAC address. If you leave it set to all zeros then VMM will generate one once the VM is deployed.
  4. When you reopen the virtual machine properties there will be a Static MAC address.
  5. Set the Action to take when the virtualization server stops to Turn off virtual machine. This prevents Hyper-V from creating a BIN file for each virtual machine.
  6. To set a VLAN, either create a Logical Network and Network Site.
  7. Or use Hyper-V Manager to set the VLAN on each virtual machine NIC.

Antivirus Best Practices

Citrix’s Recommended Antivirus Exclusions

Citrix Blog Post Citrix Recommended Antivirus Exclusions: the goal here is to provide you with a consolidated list of recommended antivirus exclusions for your Citrix virtualization environment focused on the key processes, folders, and files that we have seen cause issues in the field:

  • Set real-time scanning to scan local drives only and not network drives
  • Disable scan on boot
  • Remove any unnecessary antivirus related entries from the Run key
  • Exclude the pagefile(s) from being scanned
  • Exclude Windows event logs from being scanned
  • Exclude IIS log files from being scanned

See the Blog Post for exclusions for each Citrix component/product including: StoreFront, VDA, Controller, and Provisioning Services. The Blog Post also has links to additional KB articles on antivirus.

Symantec Endpoint Protection

http://blogs.citrix.com/2012/06/04/how-to-prepare-a-citrix-provisioning-services-target-device-for-symantec-endpoint-protection/.

Sophos 

Sophos Anti-Virus for Windows 2000+: incorporating current versions in a disk image, including for use with cloned virtual machines: This procedure will make sure that the produced target/cloned computers:

  • Get their distinct identity with Enterprise Console, under which they can be subsequently managed.
  • Have the desired version of Sophos Anti-Virus already installed and configured on the created image.

Kaspersky

CTX217997 BSOD Error: “STOP 0x0000007E CVhdMp.sys with Kaspersky antivirus: install Kaspersky Light Agent using the¬†/pINSTALLONPVS=1 switch.

Boot ISO

You can create a Provisioning Services boot ISO for your Target Devices. This is an alternative to PXE.

  1. On the Provisioning Services server, run Provisioning Services Boot Device Manager.
  2. In the Specify the Login Server page, add the IP addresses of up to four Provisioning Services servers. Click Next.
  3. In the Set Options page, check the box next to Verbose Mode, and click Next.
  4. In the Burn the Boot Device page, do not click Burn. If you do then you will have a very bad day. Instead, look in the Boot Device section, and change it to Citrix ISO Image Recorder. Then you can click Burn.
  5. Save the iso and upload it to a datastore or VMM library.
  6. You can now configure your Target Devices to boot from this ISO file.

Disable Network Offload

Set the following registry key on the Target Device:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters\
    • DisableTaskOffload (DWORD) =¬†1

Also see Ingmar Verheij Citrix PVS: Optimize endpoint with PowerShell: The script applies a number of best practices to optimize the performance of the PVS endpoint.

Target Device Software 7.15 Installation

Do the following on the master VDA you intend to convert to a vDisk. Try not to install this while connected using RDP or ICA since the installer will disconnect the NIC.

  1. Your Target Device might have ghost NICs. This is very likely to occur when using VMXNet3. Follow http://support.citrix.com/article/CTX133188 to view hidden devices and remove ghost NICs.
  2. Go to the downloaded Provisioning Service 7.15,¬†and run PVS_Device_x64.exe.¬† ūüí°
  3. If you are running XenApp/XenDesktop 7.6 LTSR, then you’ll want Provisioning Services 7.6.5¬†instead of Provisioning Services 7.15. The install instructions are essentially the same.
  4. In the Welcome to the Installation Wizard for Citrix Provisioning Services Target Device x64 page, click Next.
  5. In the License Agreement page, select I accept, and click Next.
  6. In the Customer Information page, click Next.
  7. In the Destination Folder page, click Next.
  8. In the Ready to Install the Program page, click Install.
  9. In the Installation Wizard Completed page click Finish.
  10. The Imaging Wizard launches. First review the following tweaks. Then proceed to converting the Master Image to a vDisk.

Target Device Software Tweaks

Prevent Drive for Write Cache

From Carl Fallis at Move writecache file to arbitary drive at Citrix Discussions: the driver that determines which partition to place the local cache searches for a file named: {9E9023A4-7674-41be-8D71-B6C9158313EF}.VDESK.VOL.GUID in the root directory. If the file is found it will not place the write cache on that disk.

Excessive Retries

If VMware vSphere, make sure the NIC is VMXNET3.

From Carl Fallis at Citrix Discussions¬†and¬†CTX200952 High Amount of Retries Shown when Using Private Mode or Maintenance Version in PVS 7.6: Creating an image with 4 vCPU takes hours. With 2 vCPU’s, it’s completed in a few minutes.

The workaround for excessive retries in PVS 7.6 is to add the following registry key in the target device to reduce the number of threads used:

  • HKLM\SYSTEM\CurrentControlSystem\Services\Bnistack\Parameters
    • IosRequestThreads (DWORD) = try 2 and if the retries persist try 1

This has to be added while in private mode and you must reboot for this is take effect.

Computer Name

From Citrix Discussions: what happens is if the name cannot be retrieved from the bootstrap then the name defaults to the mac address.¬† You can force the target to ask again for the target’s machine name by setting the following registry key in the registry.

  • HKLM\System\CurrentControlSet\services\bnistack\Parameters¬† (you may have to create the Parameters key if it is not already created)
    • EnableGetComputerName¬†(DWORD) = 1¬† (default is 0 or disabled)

Even if you are not getting the Mac address for the target name and getting something different I would use this key to enable the extra processing on the target to get the targets name. You are correct, this should be turned on by default.  I will get it changed in the next release.

From http://discussions.citrix.com/topic/349911-pvs-71-device-name-in-pvs-console-in-uppercase-booted-vm-is-lowercase/#entry1806121: So by default we set all names to lower case, I have no idea why, it is historical for some unexplained reason.  If you want the name to be left alone use the following registry key:

From the target machine, open the registry Editor and browse to the following key while in Private mode or on a maintenance device:

  • HKLM\System\CurrentControlSet\Services\Bnistack\Parameters (Create a new key called ‘Parameters’ if doesn’t already exist)
    • TcpipHostnameNoConversion¬†(DWORD) = 1

Cache Disk Initialization Timeout

From http://discussions.citrix.com/topic/347399-pvs-61-caching-on-server-instead-of-a-client-hard-drive and Citrix Knowledgebase article РWrite Cache Set to Provisioning Services Target Device Falls Back to Server: we have seen that it may take longer for the drives to initialize and by increasing the time and the number of retries the local hard drive can be accessed.  You can increase this by using the following registry keys:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\bnistack\parameters
    • WcHDInitRetryNumber¬†(DWORD) = 50-200 default is 150 I would set this to 200
    • WcHDInitRetryIntervalMs¬†(DWORD) = 50-500 default 100 number of ms to wait between retries, I would bump this one up to 300-500

Target Device Time Zone

CTX200188 Citrix Provisioning Services 6.1.21 and Citrix Provisioning Service 7.1.3 Target Time Zone Changes: the target devices request the time zone information from the Citrix Provisioning Services Server at boot time and set the time zone to the connected Citrix Provisioning Services server. If the time zone has a successful process, they execute the following command:
w32tm /resync /nowait

To disable the target device from using the time zone of the Citrix Provisioning Services server, set the following registry key in the vDisk image. The values must be modified in the registry of the master image to take effect during boot time.

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Bndevice\Parameters
    • DisableTimeZone (DWORD) =¬†1

Hide Provisioning Services Icon

From http://danielruiz.org/2013/11/11/xenapp-6-5-full-desktop-hide-pvs-system-tray/:

From Jack Cobben Hide Virtual Disk Tray Icon: Add the reg value below:

  • HKLM\Software\Citrix\ProvisioningServices\StatusTray
    • ShowIcon (DWORD) = 0

This however will disable to all users, even Admins. Solution: Apply the HKCU key below based on Group membership (Group Policy Preferences > Item Level Targeting):

  • HKEY_CURRENT_USER\SOFTWARE\Citrix\ProvisioningServices\StatusTray
    • ShowIcon (DWORD)¬†=¬†0

Once that is in place the icon will go away.

Related Pages

88 thoughts on “PvS Master Device – Preparation”

  1. Hello Carl:

    For ram cache with overflow to disk, do you recommend putting page file on default C drive with static settings , I have lots of memory in the host or would you rather prefer page file in D drive which is carved from SAN

    1. On C: drive with size fixed to be smaller than cache disk. Provisioning Services will move the pagefile to the cache disk automatically.

  2. Hi Carl. We have been asked to provide different service models for our VDI images; XenDesktop 7.13 with Windows 7 SP1.

    2vCPU
    3vCPU
    4vCPU

    We know we need to boot the image in private mode or use versioning for the new hardware. Do you know if we could simply boot the image on the 4 vCPU image and that would not detect new hardware for the 3 and 2 vCPU systems? We know the opposite (booting the 2 vCPU system on 3/4 vCPU results in new hardware detection)

    Trying to streamline the image management process

  3. Hi Carl,
    When in PVS7.8 target device and vdisk version is in maintenance mode , then RDP console is nott working for Target device, Its’s user logon gets disabled and only we can take console from vmware.
    Is there any fix for this?

      1. My first thought is to try PvS 7.15, but that would require you to upgrade the PvS Servers first. You should be keeping them upgraded anyways, since you’re on Current Release.

        What OS are your targets? Does it work if you reverse image and remove the Target Device software? Need to isolate where the problem is.

        When did the problem start happening? After a Windows patch?

  4. Hello Carl,

    After installing PVS target Device software ( 7.15) on Windows 2016 server, I am not able to RDP the server. I have check the registry entries, RDP settings, telnet and everything seems to be correct.

    1. VDA would block non-administrators from connecting using RDP, but target device software shouldn’t have any affect. I assume the machine is still on the network (can ping it)?

      1. Hello Carl,

        Thanks for your response. The machine is on network, I am able to ping it, I am able to telnet on 3389. The user is administrator on the machine. Interesting thing is , If I stream the image, and launch Citrix session, I am able to connect to it. I forgot to mention earlier that I ran Optimize endpoint script by Ingmar Verheij.

    1. Depends on when you convert to a vDisk.

      I don’t think there’s any dependency between the two, since VDA doesn’t affect the NIC.

  5. Hello Carl,

    I have a PVS 7.15 farm with two PVS servers running on Windows Server 2012 R2. I have a Hyper-V 2016 cluster and have created a vDisk from a Windows Server 2016 master image. I created a Gen-2 target device by following instructions from https://support.citrix.com/article/CTX216823.

    I am using BDM iso to boot the Gen-2 target devices.

    No matter whether I enable Hyper-V secure boot with correct MicrosoftUEFICertificateAuthority secure boot template or I disable secure boot, the target device does not boot, instead the process stops at the the early booting phase. This process used to work without issues in a previous Hyper-V 2012 R2 cluster with 2012 R2 vDisks. Any ideas?

  6. Hello Carl,

    I have PVS 7.15 farm and Hyper-V 2016 and running the Imaging Wizard on a Windows Server 2016 master image. Since I dont have any DHCP in place, PXE boot is not an option, so I am using BDM boot where I provide the PVS/DNS and master image IP addresses statically in the BDM iso. When booting the master image from DVD drive howerver (with boot iso attached) I always get the “Imaging Wizard did not restart” error. This did not occur in 2012 R2 master images with PVS 7.14. There are not hidden NICs in my master image.

    Any ideas?

    1. Turns out the problem lied with master image VM secure boot being enabled in Hyper-V. As per Citrix, this should be supported with Hyper-V 2016, in this practical scenario however it seems it is still not supported.

  7. Carl,

    Very informative site. Use your site for most of the configurations and Citrix related stuff. Have a query regd my current environment.

    Environment Info:
    1) XenApp 6.5
    2) PVS 7.8

    We have published a Desktop for end users which is supported by 40 servers in the backend. These 40 servers are streamed through PVS. Write Cache is set to Local Hard Disk. We find that very often the Write Cache disk gets full. We have allocated 50 GB. Initially we thought that this was due to the number of versions for the disk and this was merged. But we still keep getting the Write Cache full alerts. Any further configuration changes that we need to make to have this optimized. Also we have made sure the AV logs are not redirected to this cache.

    1. Is it vdiskcache file that’s consuming the space?

      You’ll probably have to run procmon or similar to see what’s being written to the disk. Configure the Filter with Category = Write.

      1. Yes Carl. Its the vDisk file that is consuming the space. Noticed that the file is growing exponentially. Let me try with Procmon and revert with the details. Thank you for your quick response.

        1. Nathan, Carl,

          I too am seeing this behaviour. My vdiskdif file is filling the drive and causing my sessionhost to hang and go into unregistered state. I have an open case with Citrix but honestly, it has been a waste of my time. My support engineer is guessing. No logs, no tools, just a guess. ūüôĀ

          Please let me know what you find.
          Regards
          Ryan

          PS Carl, your site is my go to for all configuration questions. Thank you for spending the time to spread your knowledge

          1. Hi Nathan / Ryan,

            I had the same issue in my infra . Cache disk will fill rapidly all of sudden and server will go for BSOD. After a rewind of basic checks, I found out that is because of low % of Paging file. Once I corrected those values, servers are happily running with same amount of cache disk for more than 40 days and keep counting.

  8. Hi Carl, I Was wondering if you would be able to advise me on the following. I have read the above and was looking at the HyperV config. We use HyperV with Failover Clustering and SCVMM 2012 R2 (for all). We can deploy the VDI’s to it. But often when booting (we use the Bootiso) it just hangs on the Starting Windows (7 64 bit). When it does work it takes about 45 seconds to finally show the Windows Colors, but when it doesnt it just hangs there for ever and never works. After a few reboots it finally works. I have noticed very little network traffic on the DDS server during the boot when it doesnt work, and when it does, only about 20-30 mbit max.

    Do you have any recommendations?

  9. Regarding PVS antivirus settings for XenApp hosted shared desktop targets in standard mode with 15gb RAM cache that never spills over to vdiskdif.vhdx. With recommended exclusions in place and all writes remaining in RAM cache, aren’t we just scanning a read-only disk? By policy, we need to run antivirus on the targets, but I began to wonder whether it really serves any purpose. Any thoughts appreciated.

    1. Antivirus is usually a security or regulatory requirement, even if antivirus serves no purpose other than consuming hardware resources. ūüôā

    2. Hi Carl, This does not seems to work on Citrix 7.13

      HKLM\Software\Citrix\ProvisioningServices\StatusTray

      ‚ÄúShowIcon‚ÄĚ (DWORD) = 0

      Have you tried this on Citrix 7.13. I need to hide status tray from the gold image itself so it is not visible to any users. I dont want to create it in HKEY_CURRENT_USER. Just for test when I created entry in HKEY_CURRENT_USER it works. I need help set it up in HKLM key

  10. Hi Carl, I have a VDI Desktop 16gb ram – 2 cpu – 10GB wbc which 512mb write cache in pvs – I notice control up shows that the write cach disc D: is getting used up quickly, should Increase it to 512mb to 1024mb?

    Is it also worth running a defrag?

        1. So the .vdiskcache file is 10 GB?

          I’ve seen security software cause files to be modified and added to the cache.

          1. Hi Carl

            All Antivirus has been excluded for pagefile etc

            I am looking at one machine and have seen the vdiskdif.vhdx to be almost 9GB

            Mine is the same exact config except mine is PvD desktop but the wbc is 4096kb

      1. Page file on C: set to none and D: set to 256

        Whats an ideal setup for a non-persistent or persistent vdi windows 7? We use heavy market data apps so they running with 2 cpu and 16gb.

  11. Hi Carl,

    With master images, are you allowed to copy them again and re-join it to AD via PVS? We do this to save time creating a brand new image, but will I need to run any sysprep? Or does it not matter…. I read on citrix – if using PVS do not sysprep image but as this is a copied image should this still be fine?

    So to create a brand new image, I copy a vhd to new store, import it and join to AD, then run xendesktop wizard to do the rest…. I hope this is fine?

  12. Very useful, as usual. Question: in the past, I used to install hypervisor tools, then PVS Target Device and only after I would install VDA. By the steps above, I understand now you can install PVS Target Device as the last part? Is this something related to the changes that don’t require disconnection of network card in order to update target device or nothing related?

    1. Does VDA affect the NIC? Target Device software should be installed after all other NIC affecting software.

  13. Great articles, Carl. I have run into a problem as I get the “Failed to Convert! error after attempting to convert the vDisk. I believe I have things set up OK and have tried this twice, same result. All good up until this. Does this clue help to explain what I’m missing?

    Here is part of the log:
    Gathering Volume Shadow Copy Writer metadata…
    Ensuring shadow storage association…
    Getting shadow storage associations…
    Found 0 shadow storage associations for volume \\?\Volume{8e6a3e7e-0000-0000-0000-100000000000}\.
    Adding shadow storage association…
    Adding volume \\?\Volume{8e6a3e7e-0000-0000-0000-100000000000}\ to snapshot…
    Ensuring shadow storage association…
    Getting shadow storage associations…
    Found 0 shadow storage associations for volume \\?\Volume{8e6a3e7e-0000-0000-0000-501f00000000}\.
    Adding shadow storage association…
    Adding volume \\?\Volume{8e6a3e7e-0000-0000-0000-501f00000000}\ to snapshot…
    Preparing for backup…
    Gathering writer status…
    Committing shadow copies…
    Gathering writer status…
    Failed to read registry value \??\Volume{000169b1-0000-0000-0000-501f00000000} from SYSTEM\MountedDevices. The system cannot find the file specified. (0x00000002)

    Thanks,
    Bill

  14. Hi Carl

    Since we already have the required DHCP Options configured for another System, I opted using “boot ISO”. However I am not getting through “Download tsbbdm.bin x.x.x.x _ failed.

    I have all required ports opened on the PVS and I only have a single Server.

    Anywhere else I should check?

    Thanks

      1. Thanks Thouhgt I already had it opened, but unfortunately it wasn’t.

        I am now getting “Login request time out”. I’ve checked “bootstrap” configuration, the time out are set to 5000 and 30000 respectively.

  15. Terrific site.

    I have multiple Citrix Device Collections that have different workloads. I have images that have 4GB, 6GB and 10GB cache RAM. Not sure if I have undersized\oversized the cache RAM.

    Is there a way to determine the correct size of the cache RAM for “cache in device RAM with overflow on hard disk”?

    Is there a way to determine how much of the vm’s RAM is utilized by the PVS cache RAM (if it doesn’t overflow to disk)?

  16. I am confused about “cache” and pagefile… I am setting up 7.8 I have an a server with 32 gigs of ram, no C: drive and a 15 gig D: drive where I hardcode an 8 gig pagefile and the event logs. On the console, I have option, cache in device ram with overflow on hard disk.. The default is 64 MEGs….I have it set to 512 meg. I am not sure the amount to put in there.? Sorry for the dumb question, but this cache is different than the pagefile? I got confused reading the beginning of this. And I have been trying to find an explanation on this. When I turn it on, It shows in VMconsole, host mem 5 gig.. guest mem% 75 to 95 %… Then it starts slowly dropping That is with no users logged in just starting it up and letting it sit there.. If I log a user in, the guestmem % goes up a minute then drops… The other day I watched it drop to 0 percent after 10 minutes with 1 user logged in. Generally our handbuilt virtual Citrix servers with a full load of people working on them say 15 to 25%. I am worried about that thing hopping up to 95 percent and staying there for 10 minutes… Any help? PVS server has 16 GIGs of ram on it. Right now with 1 user logged in doing nothing 15 minutes after boot it is sitting at 3 % and host memory jumped to 7 gig adding the user but I opened a couple of apps.

    1. Windows cache and PvS cache are different. When a machine makes changes to the files, PvS needs to write those changes somewhere. With PvS memory cache, it writes the changes to memory. If PvS memory cache is full, it writes them to disk.

      Windows has both memory for apps, and memory caching for files. Memory for apps overflows to the pagefile. Memory caching for files will use whatever memory is not being used by applications.

    1. If pagefile is on C:, then PvS automatically moves to the write cache disk. If pagefile is on a different disk, then PvS should leave it on that disk.

  17. Hi Carl

    Thanks for the details.

    Can we have PVS server in ESX 5.5 where as all streamed worker servers(750 in total, 600 W2K3, 100 W2k8 R2, 50 W2K12 R2) on HyperV 2012 R2? Currently we are streaming worker servers with HyperV legacy NIC. Will there be any problem with Cross platform infrastructure?

    1. I’m not aware of any restriction on that configuration. There’s no real connection to the hypervisor other than the drivers inside the vDisks and the hypervisor connection when creating more VMs. The PvS servers themselves have no awareness of the hypervisor they run on. The only consideration is PXE if they are on separate networks.

  18. Hi Carl,

    I am unable to image a new Win7 generation 1 VM as I getting. imaging wizard did not restart error after i changed the VM boot to Network post 1st reboot. Getting event ID 7026 The following boot start or network driver failed to load: bnistack. VM is virtualized on Hyper-V and using SCVMM 2012 to create VMs.

    Any Help ?

  19. Carl any recommendations on SCCM and 2012R2 for the master and worker servers? 2008 seems to work fine, been having issues with 2012.

  20. Dear Carl, Xendesktop Wizard creates vms with automatic mac addresses (instead of manual) on vsphere, do you think this is a problem, lets say i migrate the vdis to another esx-host and the mac changes!?

    1. Mac won’t change unless you move it to another VCenter. Hyperv has the MAC change problem but I almost never see it on vSphere.

  21. Finishing up a deployment and just noticed that the on XA server, which is 2012 R2 has a notification that maintenance is running.

    Did a little research and seems like this is an automatic task that runs, but in this type of environment is it really necessary to have that enabled? I would think not, and doesn’t seem like it will break anything if disabled.

    Wanted to see what your opinion was on this?

    1. There are various optimization guides you’re welcome to follow. However, I’ve heard that many of them only make minor improvements to performance or density.

  22. Hi,

    Our vDisk is using standard mode and caches on device’s Hard Disk. Where should I be setting the pagefile for best performance?

  23. Hi Carl, I’m just about to do my first 7.6 deployment, so have been doping some prep reading etc. One thing that stands out to me is there is no mention of the “Prepare Server For Imaging or Provisioning” process that you had to launch from the Roles Manager in XA 6.5.

    Is this now taken care of by the Imaging Wizard?

        1. I’m not aware of any document. When installing the VDA, there’s the option to create a master image. When you use PvS or MCS to clone the image, the components handle registration automatically.

  24. Hi Carl, thanks for all the very helpful info. Why do you recommend the vda Installation directly in the vdisk after PVS Target?

    Thanks a lot.

    1. I’m not sure it matters. Sometimes I fully build a VDA machine and only later convert it to PvS. Other times I convert to PvS as soon as possible. There’s no specific install order for TD Software vs VDA.

  25. Carl,
    What is your preferred option PXE boot or ISO? ISO obviously boots up quicker than PXE. I’m interested to know what your thoughts are on the two options.

    Thanks.

    1. If everything’s on one VLAN then PXE is easier. If not, then need ISO or BDM. The XenDesktop Setup Wizard configures BDM for you.

      1. Carl,
        Thanks for the info and this article. Do you know if one might perform better or if Citrix recommends one over the other?

        1. I’m not aware of any performance difference. Once the boostrap is loaded they should be the same.

          The simplicity of PXE is generally recommended since it defeats VMware’s accusations of Citrix’s complexity. But it’s not always practical.

  26. Carl,

    Excellent Documentation. One thing I added was a Powershell script to mine if you desire to leave al of your machines powered up:

    Set-BrokerDesktopGroup “Desktop Group Name” -PeakBufferSizePercent 100
    Set-BrokerDesktopGroup “Desktop Group Name” -OffPeakBufferSizePercent 100

  27. Carl,

    Excellent guide. Any workaround for the Windows 7 Target Device installation and VMXNet3 error ?The referenced KB2550978 has been outdated/replaced with new updates. Removing the VMXNet3 and adding E1000 does not solve the problem as well.

  28. VERY helpful site, thanks!

    Small remark, hiding the PVS icon on a user level should be done with following registry key:
    Hive HKEY_CURRENT_USER
    Key path SOFTWARE\Citrix\ProvisioningServices\StatusTray
    Value name ShowIcon
    Value type REG_DWORD
    Value data 0x0 (0)

Leave a Reply