This topic explains how to prepare an OS Image for the Unidesk environment.
This topic explains how to prepare an OS Image for Session Hosts in the Unidesk environment.
Notes:
Apply all Windows Updates to the image so that it is at the most current Microsoft patch level and complete any reboot processes that Windows Updates may require.
In the c:\Windows\Setup\Scripts folder, run Unidesk setup_x64.exe.
The installation prompts for the location of the Management Appliance IP address and the location of the unattend.xml file (the default location is c:\windows\panther).
Note: Do not run the UnattendBuilder included with the tools.
NGen is the Microsoft "Native Image Generator". It is part of the .NET system, and basically re-compiles .NET byte code into native images and constructs the registry entries to manage them. Windows will decide when to run NGen, based on what is being installed and what Windows detects in the configuration. When NGen is running, you must let it complete. An interrupted NGen operation can leave you with non-functioning .NET assemblies or other problems in the .NET system.
Normally, NGen is a background operation and will pause if there is foreground activity. Bringing the task into the foreground can help the task to complete as quickly as possible.
Open a command prompt as Administrator.
Go to the Microsoft .NET Framework directory for the version currently in use:
cd C:\Windows\Microsoft.NET\FrameworkNN\vX.X.XXXXX
Enter the NGen command to execute the queued items:
ngen update /force
This brings the NGen task to the foreground in the command prompt, and lists the assemblies being compiled.
Ensure that all NGen processes have run to completion. Optionally, you can now shut down the OS Image VM.
Once you have completed these steps, you are ready to create a Unidesk Operating System Layer.