List of valid "guest_os_type" values for vSphere builder?

Hi, no matter what I put for this value, our templates show up in vSphere as “Other (32-bit).”
I’ve even taking to trying to edit the VMX directly during our builds. Nothing works.

For Windows 2016 I’ve tried:
windows9srv-64
windows
Windows2016_64
etc, etc

If anyone has any advice on how I can get the Guest OS to populate correctly in vSphere, I would really, really appreciate it.

I am having this exact same issue. Any leads?

Nope. Cannot find a solution for Windows 2016. 2012R2 accepts the value “windows8srv-64” and works fine. I downloaded the vmx file from a good, working 2016 machine and… it says the same thing under “guestOS.” I don’t know how that’s even possible.

Maybe this could help (vsphere 6.x):

> [VMware.Vim.VirtualMachineGuestOsIdentifier].GetEnumValues()                                                                                                                                                          
dosGuest                                                                                                                                                                                                                              
win31Guest                                                                                                                                                                                                                            
win95Guest                                                                                                                                                                                                                            
win98Guest                                                                                                                                                                                                                            
winMeGuest                                                                                                                                                                                                                            
winNTGuest                                                                                                                                                                                                                            
win2000ProGuest                                                                                                                                                                                                                       
win2000ServGuest                                                                                                                                                                                                                      
win2000AdvServGuest                                                                                                                                                                                                                   
winXPHomeGuest                                                                                                                                                                                                                        
winXPProGuest                                                                                                                                                                                                                         
winXPPro64Guest                                                                                                                                                                                                                       
winNetWebGuest                                                                                                                                                                                                                        
winNetStandardGuest                                                                                                                                                                                                                   
winNetEnterpriseGuest                                                                                                                                                                                                                 
winNetDatacenterGuest                                                                                                                                                                                                                 
winNetBusinessGuest                                                                                                                                                                                                                   
winNetStandard64Guest                                                                                                                                                                                                                 
winNetEnterprise64Guest                                                                                                                                                                                                               
winLonghornGuest                                                                                                                                                                                                                      
winLonghorn64Guest                                                                                                                                                                                                                    
winNetDatacenter64Guest                                                                                                                                                                                                               
winVistaGuest                                                                                                                                                                                                                         
winVista64Guest                                                                                                                                                                                                                       
windows7Guest                                                                                                                                                                                                                         
windows7_64Guest                                                                                                                                                                                                                      
windows7Server64Guest                                                                                                                                                                                                                 
windows8Guest                                                                                                                                                                                                                         
windows8_64Guest                                                                                                                                                                                                                      
windows8Server64Guest                                                                                                                                                                                                                 
windows9Guest                                                                                                                                                                                                                         
windows9_64Guest                                                                                                                                                                                                                      
windows9Server64Guest                                                                                                                                                                                                                 
windowsHyperVGuest

Edit: maybe this will help: https://github.com/taliesins/packer-baseboxes/blob/master/vmware-windows-2016-serverstandard-amd64.json

Greetings! I downloaded packer 1.5.1. The following line worked for my Windows Server 2k16 deployment today and I finally got past a storage driver issue!

“guest_os_type”: “windows9srv-64”,

Make sure you have the latest version and give that a whirl!

1 Like

This still shows up as “Other (32-bit)” when pushed out to vSphere.

Looking at the vmx for the machine packer uploaded to vsphere I see "guestOS = “other” despite specifying what you mentioned above.

It was a hardware version issue. The default doesn’t work with 2016.

Did you figure out a work around?

Set the version string explicitly instead of using the Packer default. The default value is “9” which is a hardware version not compatible with 2016, you need to use 10+. I couldn’t manually change it in the vSphere UI either, which is how I figured it out.