Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, September 1, 2009 8:47 PM
Hello, I have try to change time/timezone of 2008 R2 standard Virtual Machine's, but no result. After restart/shutdown time is the same as my host system.
I have also disable the timesync option under the Hyper-v integration services virtualmachine setup, and inside the VM (no timesync with internet). After restart/shutdown same result :S
What should I do to change the windows time in virtual machines?
Maybe need to change Hyper-v bios time, but how can I accomplish that? Is there any bios setup key?
All replies (10)
Thursday, September 3, 2009 7:18 AM ✅Answered
Hi,
Yes, what you are talking about is a normal behavior in Hyper-V, the guest VM on Hyper-V host will synchronize with the Hyper-V host machine even if you disable the time synchronization option in VM’s settings. However, you can perform the following suggestion:
Scheduling a task for system startup inside the guest seems to work:
Created a file called settime.cmd containing:
Date 10/25/2005
Time 12:00:00
Create the scheduled task to run at system startup as the system account at the command line:
schtasks /create /tn "SetTime" /tr c:\settime.cmd /sc onstart /ru system
If the SYSTEM account doesn’t work on Windows 2008 then just create a local admin account.
Best Regards,
Vincent Hu
Wednesday, September 2, 2009 3:19 AM | 1 vote
Hello,
You are correct that you first need to disable the timesync option under the virtual machine services. Is the virtual machine a member of the domain and perhaps gettings its time from there?
Nathan Lasnoski
Wednesday, September 2, 2009 10:29 AM
Hi, first thanks for answer.
No, I have't set any domain yet.
I'm using windows server 2008 R2 standard as host and guest, and both of them are recent clean installations. I have no idea why the guest are in sync with the host, and how I can change that.
Tuesday, September 15, 2009 1:27 PM
First thx for answer my question, this could help to solve my problem but after reading your answer some question come to my mind. If that is normal Hyper-V behavior, what are that "disable time synchronization" setup for?
Thanks in advance.
Tuesday, September 15, 2009 11:33 PM
You would disable time synchronization if you wanted your vm to synchronize with something other than the Hyper-V server. For example, a time server or AD.
Wednesday, September 16, 2009 6:33 AM
Hi,
We have a post discussed the similar issue with yours, you can refer to:
Running expiring demos in Hyper-V
Best Regards,
Vincent Hu
Wednesday, February 17, 2010 3:11 PM
This renders our 2 data center host nodes unusable. I will have to switch to VmWare because I have more and more customers wanting to put their own time zone, so when they reset VPS their time is changed.
We invested so much in Microsoft products and now need to switch to other virtualization technology because of this "glitch".
I dont understand how they do not understand that people will want to have different time zones on their VPS and not "hack" software.
They became paranoid about software protection and made their product unusable.
Wednesday, February 24, 2010 10:52 PM
Before you jump to VMware can I suggest you try Time Machine
Wednesday, March 17, 2010 3:35 AM
This renders our 2 data center host nodes unusable. I will have to switch to VmWare because I have more and more customers wanting to put their own time zone, so when they reset VPS their time is changed.
We invested so much in Microsoft products and now need to switch to other virtualization technology because of this "glitch".
I dont understand how they do not understand that people will want to have different time zones on their VPS and not "hack" software.
They became paranoid about software protection and made their product unusable.
No, I don't think so. If I am not mistaken, I think if you uncheck the Time Synchornization option under the VM settings it will be OK. When you uncheck this option, the time supposedly only gets set once at boot time. Freeing it up for GPO's, Profiles, etc to change the settings.
?
telnet to my old school bbs -
bbs.innercirclebbs.com port 64000
woooo thanks for the plug.
Dane!
Wednesday, March 17, 2010 4:01 AM
If the time of the host is correct then changing the time zone in the guest VM's OS should result in the correct local time in the VM. That is, change the time zone, not the time...the time should be correct already.