|
Help me.. pls I got error when I start to run Kix script..
Error is.. Can't sync clock with PDC..
I don't know why.. My Server is Windows 2000 Server and Client is Windows 2000 Pro.
PLogon.bat is store in User Profile.. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ECHO off IF "%OS%" == "Windows_NT" goto NT_OS CALL \\bstl_svr1\netlogon\kix32 PLogon9x.kix EXIT :NT_OS call \\bstl_svr1\netlogon\kix32 \\bstl_svr1\netlogon\PLogonNT.kix EXIT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
PLogon9x.kix (for windows 9x) ********************************************** ? "Setting Win9x variables...please, wait." ; SHELL "winset.exe USERNAME=''" SHELL "winset.exe USERNAME=@USERID" ; SHELL "Winset.exe ADDRESS=@ADDRESS" ; SHELL "Winset.exe COMPUTER=@WKSTA" ; SHELL "Winset.exe DOMAIN=@DOMAIN" ; SHELL "Winset.exe COMMENT=@COMMENT" ; SHELL "Winset.exe FULLNAME=@FULLNAME" ; SHELL "Winset.exe HOMEDIR=@HOMEDIR" ; SHELL "Winset.exe HOMESHR=@HOMESHR" ; SHELL "Winset.exe LSERVER=@LSERVER" ; SHELL "Winset.exe PRIV=@PRIV" ? "Done."
? "Map Network drive (User)..." SHELL "net use * \\bstl_svr3\@USERID$ /no"
IF Ingroup ("MK11") = 1 shell "net use * \\bstl_svr3\DocMK11$ /no" shell "net use * \\bstl_svr3\ShareDoc /no" shell "\\bstl_svr1\ofcscan\autopcc.exe" ENDIF exit **********************************************
PLogonNT.kix (for Windows NT,xp, 2000) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& shell "net use * \\bstl_svr3\%username%$ /Persistent:no"
IF Ingroup ("MK11") = 1 shell "net use * \\bstl_svr3\DocMK11$ /Persistent:no" shell "\\bstl_svr1\ofcscan\autopcc.exe" ENDIF &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
I got error when user logon to domain and run scrip PLogon.bat at first time.. Error is Server can't sync clock with PDC...
If I wait a few minute.. and run Plogon.bat again, It works.. What happend?
My Server service: Kxrpc is started, Windows Time is started.
Help me please... Pech
|