using runas to set time on wan - TechRepublic
General discussion
April 16, 2001 at 09:33 AM
tomtechjo

using runas to set time on wan

by tomtechjo . Updated 25 years ago

Situation: Server_1\Domain_1 and Server_2\Domain_2 have set up identical logon id and password for test taking on W2K workstations. Also another account with administrative rights to change system time on the workstations was set up on both servers.

The logon script on Server_2\Domain_2 is as follows:
*****************
echo on
NET USE p: \\Server_1\APPS
runas /user:domain_2\time “net time \\Server_1 /set /y”
pause
:END
exit
*****************

No error messages appear, but the time on the workstation does not change.

This discussion is locked

All Comments