????? ????? ????? "????? ???????? ?? ???? ???????

?????? ????????? ?????? ?????????
???? ???????: 194065 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

????? ??? ?????? ?????? ??? ??????? ??????? ?? "????? ??????? ?? Microsoft:

153140????? ????? ????? ??????? ????? ???????
????? ????? ????????? ????? ???????? ??? ????? ??????? ?? ????? ??? ??? ???? ??????? ??? ????? ??? ???? ???? ?????? ???????? (PDC) ?? "???? ???????" ???? ?????? ??? ??????? ???? ??????? ??? ?????? EVERY ????? ?? ????? ???????? ??????? ???? ??? ????.

??? ???? ??? ????? ???? ??? ??? ????? ?????? NETDOM ? NETSVC REG ?? Windows NT Server 4.0 Resource Kit ???? ???????? ?????? ???? ?????? ??? ?? ????? ???????? ??????? ??? ???? ??????? ? ????? ???? ????? ??????? (LLS) ??? ??????? LLS ???????? ? ??? ????? ?????? ? ????? ?????? ????? ???????? LLS ?????? ?????. ?? ???? ????? ??? ???? ????? ????? ????? ??????? ?? ??? ??????.

??????? ????

????? ??? ???? ???? ??? ????? ??? ??? ??????? ???????. ??? ????? ???? ??????? ???????? ?????. ??? ????? ??????? ??????? ?????? ????? Restart.bat ?? ???? ???????.

?????? ?????? ????? ??? ??????? ??????? ???????? ??????? ?? Windows NT Server 4.0 Resource Kit:

  • Netdom.exe
  • Netsvc.exe
  • Reg.exe
???? ??? ????? ???????:

  1. ????? ???????? ????? ????? "???? ????? ???????" ?? ???? ???????.
  2. Restart.bat ?????? NETDOM ?????? ??????? ?????? ???? ????? ??? ????? ?? ???? PDCs BDC ? ???????? ??????? ?? ??????.
  3. ???????? ??? ??? ??????? ???? ?? ??????? ? Restart.bat ?????? ??????? ???????:

    1. ???? ??? ????? ???? LLS ??? ???? ???????? ?? ??????.
    2. ??? ?? ??????? LLS ??? ????? ????? ?????? (Cpl.cfg Llsuser.lls ? Llsmap.lls).
    3. ????? ????? ???? LLS ??? ???? ???????? ?? ??????.
    4. ?? ?????? LLS ????? ???????? ?? ?????? ????? ????? ??? ?? ????.
  4. ??? ????? ???????? LLS ??? ? ??? ????? ??? ???? ?????? Llsrtime.bat ? ?????? ????? ???? ???????? ??? ????????? ?????????? ????? ???????? LLS ??? ??? ????? ?? ???? 24 ????.

?? ????? ?????

Restart.Bat

 echo off
 cls
 if (%1)==() goto NoParams
 echo Creating list of domain controllers, please wait.
 netdom bdc | find "Found PDC " > pdc.txt
 netdom /noverbose bdc > netdom.txt
 netdom /noverbose member > netmember.txt

 rem Stop LLS on all Servers....
 Echo Stopping License Logging Service on all servers.  Please wait.
 for /F "tokens=3" %%a in (pdc.txt) do call stop.bat %%a %1
 for /F "tokens=1" %%a in (netdom.txt) do call stop.bat %%a %1
 for /F "tokens=1" %%a in (netmember.txt) do call stop.bat %%a %1
 Echo Done stopping services.
 Echo.

 rem Delete LLS files on all servers
 Echo Deleting LLS configuration files on all domain controllers. Please
  wait.
 for /F "tokens=3" %%a in (pdc.txt) do call dellls.bat %%a
 for /F "tokens=1" %%a in (netdom.txt) do call dellls.bat %%a
 for /F "tokens=1" %%a in (netmember.txt) do call dellls.bat %%a
 Echo Done deleting LLS files.
 Echo.

 rem Start LLS on all servers
 Echo Starting LLS Service on all servers.  Please wait.
 for /F "tokens=3" %%a in (pdc.txt) do call start.bat %%a %1
 for /F "tokens=1" %%a in (netdom.txt) do call start.bat %%a %1
 for /F "tokens=1" %%a in (netmember.txt) do call start.bat %%a %1
 Echo Done starting services.
 Echo.

 Echo Resetting replication time on all servers.  Please wait.
 for /F "tokens=3" %%a in (pdc.txt) do call sett.bat %%a %1
 for /F "tokens=1" %%a in (netdom.txt) do call sett.bat %%a %1
 for /F "tokens=1" %%a in (netmember.txt) do call sett.bat %%a %1
 Echo Done stopping services.
 Echo.
 goto bottom

 echo ---------
 echo - Done! -
 echo ---------
 goto bottom
 :NoParams
 echo usage: RESTART "Service Name"
 echo.
 echo. i.e.- RESTART "License Logging Service"
 echo.
 :bottom
				

Restart2.Bat

 echo Stopping %2 on %1
 netsvc %2 %1 /stop
 netsvc %2 %1 /start
				

Start.Bat

 echo Starting %2 on %1
 netsvc %2 %1 /start
				

Stop.Bat

 echo Stopping %2 on %1
 netsvc %2 %1 /stop
				

Dellls.Bat

 Echo Now deleting files on %1.

 if exist %1\admin$\system32\cpl.cfg del
     %1\admin$\system32\cpl.cfg
 if exist %1\admin$\system32\lls\llsuser.lls del
     %1\admin$\system32\lls\llsuser.lls
 if exist %1\admin$\system32\lls\llsmap.lls del
     %1\admin$\system32\lls\llsmap.lls
				

(??? ??????? ?????? ??????? ??? ??? ????)

Sett.Bat

 echo Now setting LLS replication time on %1

 reg update HKLM\SYSTEM\CurrentControlSet\ 
     Services\LicenseService\Parameters\ReplicationTime=300 %1
				

Llsrtime.Bat

 rem reset replication period for LLS
 Echo Stopping LLS Service on all domain controllers.  Please wait.
 for /F "tokens=3" %%a in (pdc.txt) do call setb.bat %%a %1
 for /F "tokens=1" %%a in (netdom.txt) do call setb.bat %%a %1
 for /F "tokens=1" %%a in (netmember.txt) do call setb.bat %%a %1
 Echo Done stopping services.
 Echo.
				

Setb.Bat

 echo Now setting LLS replication time on %1

 reg update HKLM\SYSTEM\CurrentControlSet\ 
     Services\LicenseService\Parameters\ReplicationTime=86400 %1
				

???????

???? ???????: 194065 - ????? ??? ??????: 09/????/1427 - ??????: 1.1
????? ???
  • Microsoft Windows NT Server 4.0 Standard Edition
????? ??????: 
kbmt kbinfo KB194065 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????194065

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com