Preserve TimeZone of VM after sysprep

%3CLINGO-SUB%20id%3D%22lingo-sub-1576075%22%20slang%3D%22en-US%22%3EPreserve%20TimeZone%20of%20VM%20after%20sysprep%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1576075%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20customized%20the%20Win%2010%20Ent%20multi-session%20marketplace%20image%20and%20updated%20its%20regional%20settings%20along%20with%20the%20time%20zone%20and%20have%20'syspreped'%20it.%26nbsp%3B%3C%2FP%3E%3CP%3EReferred%20the%20documentation%20here%20to%20do%20the%20same%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Flanguage-packs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Flanguage-packs%3C%2FA%3E%26nbsp%3Band%20it%20worked%20fine.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%2C%20after%20provisioning%20the%20session%20host%20VMS%20from%20the%20captured%20golden%20image%2C%20it%20appears%20that%20the%20session%20host%20instances%20have%20the%20time%20zone%20set%20back%20to%20UTC%20by%20default%20and%20so%20we%20think%20that%20the%20sysprep%20is%20not%20preserving%20the%20time%20zone%20information.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20recommendation%20to%20handle%20the%20customization%20and%20make%20it%20as%20a%20part%20of%20syspreped%20image%20so%20that%20all%20session%20hosts%20will%20have%20correct%20time%20zone%20settings%20applied%20on%20them%20automatically%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20know%20that%20there%20could%20be%20solutions%20to%20get%20it%20updated%20again%20either%20via%20some%20script%20or%20powershell%20that%20would%20need%20to%20be%20executed%20either%20while%20provisioning%20session%20hosts%20(through%20PS)%20or%20after%20creation%20of%20them%2C%20but%20looking%20forward%20for%20a%20solution%20that%20works%20the%20best%20and%20takes%20care%20of%20setting%20the%20correct%20time%20zone%20with%20the%20image%20without%20any%20hassle.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hello, 

We have customized the Win 10 Ent multi-session marketplace image and updated its regional settings along with the time zone and have 'syspreped' it. 

Referred the documentation here to do the same - https://docs.microsoft.com/en-us/azure/virtual-desktop/language-packs and it worked fine. 

 

Now, after provisioning the session host VMS from the captured golden image, it appears that the session host instances have the time zone set back to UTC by default and so we think that the sysprep is not preserving the time zone information. 

 

Any recommendation to handle the customization and make it as a part of syspreped image so that all session hosts will have correct time zone settings applied on them automatically?

 

We know that there could be solutions to get it updated again either via some script or powershell that would need to be executed either while provisioning session hosts (through PS) or after creation of them, but looking forward for a solution that works the best and takes care of setting the correct time zone with the image without any hassle. 

0 Replies