AppLayering 4.x - OS layer creation fails with error "An error occurred. The required file 'OSType.txt' was not found on your OS disk. Please obtain the application layering OS machine tools, run 'Setup_x64.exe' on your OS image"
book
Article ID: CTX232100
calendar_today
Updated On:
Description
While creating the OS layer in AppLayering 4.x we get the error message:
An error occurred. The required file 'OSType.txt' was not found on your OS disk. Please obtain the application layering OS machine tools, run 'Setup_x64.exe' on your OS image, and then try creating the OS layer again. 
Environment
Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.
Resolution
AppLayering only supports MBR and Hyper-V Generation 1 machines. It does not supports GPT and Generation 2 machines.
Capture ELM logs and in camlogfile we could see, if GPT is being used.
2017-11-17 11:43:46,085 INFO Threadpool worker Shell: EXEC: Device Boot Start End Blocks Id System
2017-11-17 11:43:46,085 INFO Threadpool worker Shell: EXEC: /dev/nbd1279p1 1 4294967295 2147483647+ ee GPT
Note: App Layering will only look at the first partition or two, so if we are running setup64.exe and it's saving on a 3rd or 4th partition, it'll never look at that partition by design, so it will never find ostype.txt there.
Problem Cause
GPT and Gen2 VMs are not supported.
Was this article helpful?
thumb_up
Yes
thumb_down
No