In Windows 10, I went to services and enabled “Windows Time” service w32time
to be automatic, that solved it for me.
My issue occured because I have a dual boot with Linux and for some reason Windows’s clock is always off after I boot in Linux.
Related Contents:
- How do I get current date/time on the Windows command line in a suitable format for usage in a file/folder name?
- Format date and time in a Windows batch script
- How can you find and replace text in a file using the Windows command-line environment?
- Create folder with batch but only if it doesn’t already exist
- How to get the path of the batch script in Windows?
- What does %~d0 mean in a Windows batch file?
- How to set commands output as a variable in a batch file [duplicate]
- Windows shell command to get the full path to the current directory?
- Stop and Start a service via batch or cmd file?
- How to do something to each file in a directory with a batch script
- How do you loop through each line in a text file using a windows batch file?
- Echo a blank (empty) line to the console from a Windows batch file [duplicate]
- Using parameters in batch files at Windows command line
- How does the Windows Command Interpreter (CMD.EXE) parse scripts?
- What does “@” mean in Windows batch scripts
- Delete all files and folders in a directory
- Windows batch: sleep [duplicate]
- How to execute more than one maven command in bat file?
- windows batch SET inside IF not working
- How to copy a directory structure but only include certain files (using windows batch files)
- Batch files : How to leave the console window open
- How can I debug a .BAT script?
- Get Date in YYYYMMDD format in windows batch file [duplicate]
- How to delete scheduled task from command line without confirmation? (schtasks delete)
- Is it safe to write batch files with Unix line endings?
- don’t show batch file command when execute it?
- Store output of Windows command in batch file
- How can I edit local security policy from a batch file?
- how to empty recyclebin through command prompt?
- What is equivalent to Linux mkdir -p in Windows?
- What is the easiest way to reset ERRORLEVEL to zero?
- Opening Chrome From Command Line
- How to echo “2” (no quotes) to a file, from a batch script?
- How to check if a directory exists in %PATH%
- Echo string to .txt file with multiple lines – with Windows Batch file
- batch file for loop with spaces in dir name
- Can Windows’ built-in ZIP compression be scripted?
- Global NPM package installed but command not found
- How do I create a shortcut via command-line in Windows?
- batch script to set a variable with the current path location
- What does %* mean in a batch file?
- Remove quotes from named environment variables in Windows scripts
- How to append a date in batch files
- How do you strip quotes out of an ECHO’ed string in a Windows batch file?
- File/folder chooser dialog from a Windows batch script
- Escaping parentheses within parentheses for batch file
- Windows Batch Script: Redirect ALL output to a file
- How to persistently set a variable in Windows 7 from a batch file?
- Get error code from within a batch file
- Get filename in batch for loop