Dual Boot Linux and Windows Clock issue

Dual Boot Linux and Windows Clock issue

  • Hi there and welcome to PC Help Forum (PCHF), a more effective way to get the Tech Support you need!
    We have Experts in all areas of Tech, including Malware Removal, Crash Fixing and BSOD's , Microsoft Windows, Computer DIY and PC Hardware, Networking, Gaming, Tablets and iPads, General and Specific Software Support and so much more.

    Why not Click Here To Sign Up and start enjoying great FREE Tech Support.

    This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up
Fix the clock showing incorrect time for Windows and Linux Dual Boot

If you have a computer where a Linux OS is dual-booted with Windows, you will notice that, sometimes you reboot from Linux to Window, the clock time is displaying incorrectly in Windows. Even some Linux systems may show the incorrect time if you are returning from Windows. This Linux behavior can easily be changed though, so just login to your Linux system.

NOTE: This is just one way to correct this and works with Ubuntu up to version 14.04.5 and Mint up to version 17.3. Other Linux distros store the information in other locations you will need to refer to their help sections.

You need to edit the file rcS located in the /etc/default/ directory and set UTC=no. You can do this by using any text editor or use following method if you have gedit installed.

Open Terminal (press Ctrl+Alt+T for quick access) and type the following command and hit Enter.

NOTE: You can also copy and paste the commands in to the Terminal.

This will create a back up of the file we will be editing. This way should you need to revert back to the original file you can.

sudo cp /etc/default/rcS /etc/default/rcS_backup

Type your password when it asks and hit Enter.

NOTE: Remember when you type your password it will not show anything.

This will give you root access.

sudo su root

Type your password when it asks and hit Enter.

Now type the following command and hit Enter to open /etc/default/rcS file with gedit text editor.

gedit /etc/default/rcS
getit rcS.png

NOTE: Yes the “S” is capitalized in “rcS”

This will open the rcS file in gedit. Notice “UTC” is set to “yes” there.


Replace “UTC=yes”with “UTC=no” and click Save on the toolbar.


Close both gedit and Terminal. You are done.

NOTE: You may need to change the time in the BIOS one last time prior to booting into Windows.
First release
Last update
5.00 star(s) 1 ratings

Share this resource