SHARE
Facebook X Pinterest WhatsApp

Script for Remote Synchronization of Workstation’s Time with PDC

Here’s a small batch file from Karanjit Sidhu that allows the administrator to remotely synchronize a workstation’s time with the PDC (as the defualt domain user doesn’t have the right to sync the time of the PC). By default, SMS requires its client to have a time sync of inside of 300 seconds to work […]

Sep 26, 2003
Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Here’s a small batch file from Karanjit Sidhu that allows the administrator to remotely synchronize a workstation’s time with the PDC (as the defualt domain user doesn’t have the right to sync the time of the PC). By default, SMS requires its client to have a time sync of inside of 300 seconds to work efficiently with it.

To sync the workstation time with the PDC, the admin will need to copy or download the small batch file FixTime.bat from below. Also, he or she will need the utility PsExec.exe from Sysinternals.com (direct download link for PSExec.exe). The admin will also require a temp Domain Admin account which can be disabled when not in use.

Download the FixTime.bat file.

SMS Scripts list.


The contents of the batch file are as follows:


===FixTime.bat===

@echo off
If .%1==. goto syntax
:syntax
echo.
echo.
echo  % Invaild Argument %
echo.
echo.
echo  Syntax :
echo  Fixtime MachineName
echo.
echo.
goto end

rem
rem Please replace  with username of a Domain Admin
Account.
rem
rem Please replace  with password of the same account
rem

psexec %1 - u  -p -d c:winntsystem32net time
/domain: /set /y
goto end

:end
==========================
Disclaimer: We hope that the information in these pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, fitness for a particular purpose, title or non-infringement, and none of the third-party products or information mentioned in the work are authored, recommended, supported or guaranteed by me. We shall not be liable for any damages you may sustain by using this information, whether direct, indirect, special, incidental or consequential, even if it has been advised of the possibility of such damages. 

RELATED NEWS AND ANALYSIS


Ethics and Artificial Intelligence: Driving Greater Equality
FEATURE |  By James Maguire,
December 16, 2020



AI vs. Machine Learning vs. Deep Learning
FEATURE |  By Cynthia Harvey,
December 11, 2020



Huawei's AI Update: Things Are Moving Faster Than We Think
FEATURE |  By Rob Enderle,
December 04, 2020



Keeping Machine Learning Algorithms Honest in theEthics-FirstEra
ARTIFICIAL INTELLIGENCE |  By Guest Author,
November 18, 2020



Key Trends in Chatbots and RPA
FEATURE |  By Guest Author,
November 10, 2020



Top 10 AIOps Companies
FEATURE |  By Samuel Greengard,
November 05, 2020



What is Text Analysis?
ARTIFICIAL INTELLIGENCE |  By Guest Author,
November 02, 2020



How Intel's Work With Autonomous Cars Could Redefine General Purpose AI
ARTIFICIAL INTELLIGENCE |  By Rob Enderle,
October 29, 2020



Dell Technologies World:  Weaving Together Human And Machine Interaction For AI And Robotics
ARTIFICIAL INTELLIGENCE |  By Rob Enderle,
October 23, 2020



The Super Moderator, or How IBM Project Debater Could Save Social Media
FEATURE |  By Rob Enderle,
October 16, 2020



Top 10 Chatbot Platforms
FEATURE |  By Cynthia Harvey,
October 07, 2020



Finding a Career Path in AI
ARTIFICIAL INTELLIGENCE |  By Guest Author,
October 05, 2020



CIOs Discuss the Promise of AI and Data Science
FEATURE |  By Guest Author,
September 25, 2020



Microsoft Is Building An AI Product That Could Predict The Future
FEATURE |  By Rob Enderle,
September 25, 2020



Top 10 Machine Learning Companies 2021
FEATURE |  By Cynthia Harvey,
September 22, 2020



NVIDIA and ARM: Massively Changing The AI Landscape
ARTIFICIAL INTELLIGENCE |  By Rob Enderle,
September 18, 2020



Continuous Intelligence: Expert Discussion [Video and Podcast]
ARTIFICIAL INTELLIGENCE |  By James Maguire,
September 14, 2020



Artificial Intelligence: Governance and Ethics [Video]
ARTIFICIAL INTELLIGENCE |  By James Maguire,
September 13, 2020



IBM Watson At The US Open: Showcasing The Power Of A Mature Enterprise-Class AI
FEATURE |  By Rob Enderle,
September 11, 2020



Artificial Intelligence: Perception vs. Reality
FEATURE |  By James Maguire,
September 09, 2020




   
  SEE ALL  
  APPLICATIONS ARTICLES
   







Recommended for you...

What Is Data Modeling?
Amadie Hart
Oct 28, 2025
How Network Detection & Response (NDR) Works
Sarah Hunt
Oct 1, 2025
Common Data Visualization Examples: Transform Numbers into Narratives
Liz Ticong
Sep 24, 2025
8 Best Data Analytics Tools: Gain Data-Driven Advantage
Datamation Logo

Datamation is the leading industry resource for B2B data professionals and technology buyers. Datamation's focus is on providing insight into the latest trends and innovation in AI, data security, big data, and more, along with in-depth product recommendations and comparisons. More than 1.7M users gain insight and guidance from Datamation every year.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.