Link to home
Create AccountLog in
Avatar of roy_batty
roy_battyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

correct remote server time using psexec or similar

I have a server which I am unable to RDP to as I get an error about the time on the server being incorrect.

I am trying to use psexec to run "net time /set" on th remote server.

I run "psexec \\servername cmd"

followed by "net time /set"

I get an access denied. How to I specify a username and password in psexec.
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of roy_batty

ASKER

Thanks for the advice