How do I initiate a time sync command to a remote computer?

I am a domain admin. When I use psexec to trigger the command to a remote computer via IP or hostname, I get the following error shown in the screenshot. Am I initiating the proper psexec command? The remote systems that I am targeting are Windows XP.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sudeep SharmaTechnical DesignerCommented:
try w32tm.exe instead and see if that runs the command.

joukiejoukAuthor Commented:

same result when trying your method using psexec command.
Sudeep SharmaTechnical DesignerCommented:
are you able to open the cmd.exe on the remote system?

psexec \\remotesystem cmd.exe


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
joukiejoukAuthor Commented:
That command worked! I am remotely connected to that machine. However, can you tell me if I am running the time sync command properly by looking at the screenshot?

I would check your remote system.  I'm not certain about WinXP.  I verified the command works just fine to a remote Win7 system.
PsExec.exe \\computer w32tm /resync

Open in new window

Have you verified that you can run the command locally on that machine?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.