Change the timezone of a Nano server
Set the timezone of your Nano Server deployment.
John Savill
December 30, 2015
1 Min Read
Q. How can I change the timezone of a Nano server?
Dept - Windows Server 2016
A. The timezone could be set by changing the unattend.xml file in the Nano server VHD that is create before the VM is started and adding the desired timezone to the oobeSystem section just before , for example adding:
Central Standard Time
Which would make it:
asdfasdfAA== false Central Standard Time
I automate this in FAQ http://windowsitpro.com/windows-server-2016/customize-nano-server-deployment-during-creation.Another approach is once the VM is running, providing remote management is enabled, use tzutil to set the desired timezone. Below I connect to my Nano server VM then change the timezone.
PS D:NanoTP4> Enter-PSSession -ComputerName NanoVM[NanoVM]: PS C:UsersAdministratorDocuments> [NanoVM]: PS C:UsersAdministratorDocuments> tzutil /gPacific Standard Time[NanoVM]: PS C:UsersAdministratorDocuments> tzutil /s "Central Standard Time"[NanoVM]: PS C:UsersAdministratorDocuments> tzutil /gCentral Standard Time[NanoVM]: PS C:UsersAdministratorDocuments> exit
I can now see my new timezone.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like