Batch file to current date and time

Dear expert.

Can you help me to batch file to change system date and time to current?

Best regards,

Hello! I am an Independent Advisor, I would love to help you out!

This set of commands should resync time to be current date and time.



net start w32time
w32tm /resync


You can input that in a notepad then save it as a .bat file, then it should run. You will need to run it with administrator privileges.

8 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated May 7, 2024 Views 3,992 Applies to: