When powering on a machine after changing to a new host, you are immediately presented with a dialog box saying:
"You must restart your computer to apply these changes"
If the following applies to you, you need to edit the OS layer to record the specific SCSI controller information for your system.
When Windows detects a new piece of hardware (like a CPU, motherboard or SCSI controller), the first time you login after the change, you will see a popup that says "You must restart your computer to apply these changes". That's normal Windows functionality.
In a Unidesk environment, we go to some length to keep that from happening. We record the CPU and motherboard (ACPI_HAL) device information faithfully during creation. However, the SCSI controllers are not always present at desktop creation. We add them as needed to support the number of layers assigned to a desktop. The 13th layer assigned to a desktop will become the first target on the second controller, so a desktop created with 12 or fewer layers will only be created with one SCSI controller. When you add the 13th layer later, we add a second controller. To prevent Windows from prompting for a restart, we try to pre-populate the registry with what we think the SCSI controllers are going to look like when Windows starts.
The first thing you must do when you get that prompt is capture C:\Windows\inf\setupapi.dev.log. Jump to the bottom of the file, search backwards for the word "reboot", and see what the failing devices are.
If they look like disks being detected, then it's a SCSI controller issue.
>>> [Device Install (Hardware initiated) - scsi\disk&ven_vmware&prod_virtual_disk\5&174a0eaf&0&000100] >>> Section start 2014/01/15 14:38:58.312 ... ! dvi: Query-removal during install of 'SCSI\DISK&VEN_VMWARE&PROD_VIRTUAL_DISK\5&174A0EAF&0&000100' was vetoed by 'STORAGE\Volume\{8599b8f8-7e1c-11e3-acaf-806e6f6e6963}#0000000000000200' (veto type 6: PNP_VetoDevice). ! dvi: Device required reboot: Query remove failed (install) 0x17: CR_REMOVE_VETOED.
When Unidesk pre-populates the controller information, we have to predict a number of values collectively called the magic number. We often are correct, but there are circumstances where we consistently are wrong. For those, we need to just record, in the OS layer or an application layer, the controller information that VMware will use, and we will use that for all desktops.
You must be at Unidesk 2.6 or later.
You can configure the SCSI controllers in either an OS revision or a application layer. The producer is the same for both as the changes involve the install machine that is being used for the update. For the purpose of these instructions we will talk about making a new OS revision since that will be the most common use case.
You are now ready to deploy the revision to the desktops. The registry will be pre-populated with the magic number information collected from the Install Machine, rather than with Unidesk's best guess.