HOW TO: ????? ??? ????? ???? ???????? ?? ???? ?? ???? ??????? Windows 2000

?????? ????????? ?????? ?????????
???? ???????: 318714 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ???? ????? ??? ????? ????? ????? ???? ?? ???????? ????? ?????? ??? ???? Windows 2000.

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

????? ????? ????? ????? ?????? ????? ?????? ???????? ??? ???????? ???????:
  • ????? ????? ???? ???????? ?? "Active Directory" Users and Computers ?????? ????????.
  • ????? ????? ???? ???????? ???????? ????? net user.

??????? 1: ??????? Active Directory Users and Computers ???? ??????

  1. ??? ????? Active Directory Users and Computers ???? ??????. ?????? ????? ???? ??? ???? ? ???? ??? ???????? ???? ??? ????? ?????? ?? ???? ??? Active Directory Users and Computers.
  2. ?? ???? ???? ??????? ???? ??? ??????? ???? ????? ??? ???? ???????? ???? ?????.
  3. ?? ????? ??????? ???? ??? ?????? ?????? ??? ???? ???????? ?? ???? ??? ?????.
  4. ???? ??? ????? ??????? ?????? ?? ???? ??? ????? ????? ??????.
  5. ??? ???? ??????? ???????? ?? ???? ??? ??? ????? ??????.
  6. ??? ??????? ???? ???? ?????? ???? ???????? ????? ?????? ??? ?????? ?? ???? ??? ????? ?????? ??????? ???.

    ???? ???? ???? ???? ???? ????? ????? ?????? ????? ????? ?????? ??????? ??????. ??? ???? ??????? ??????? ??? ?????? ?? 8 ? ??? 5 PM.
  7. ??? ???????? ?? ????? ????? ????? ?????? ???? ??? ????? ?? ???? ??? ????? ?? ???? ?????? ????? user account.
  8. ?? ?????? ???????? Active Directory Users and Computers.

??????? 2: ??????? ???????? Net ???? ??? ???????

  1. ???? ??? ???? ?? ???? ??? ?????.
  2. ?? ?????? ???? ???? cmd ?? ???? ??? ?????.
  3. ??? net ???????? username ????????/???????: logon_times (??? ???? username ?? ??? ???? ???????? ????? ??? logon_times ?? ?????? ? ??????? ???? ???? ?????? ??????? ??? ??????) ? ?? ???? ENTER.

    ?????? ????????? ??????? ???????? ?? ??????? ??? ??????? / ???????:
    • ???? ????? ????? (??? ???? ??????? ???????) ???? ?? ?? ?????? (??? ???? ??????? M, T, W, Th, F, ?Sa? Su).
    • ???? ?? ???? ????? ?? ????? 12 ???? (1 ? ?? 1P.M.) ?? ??????? 24 ???? (13: 00).
    • ???? ????? ???? ?? ???????? ?? ???? ????? ??????.
    • ???? ???? ???? ?? ?????? ???? ????? ?????? ?????.
    • ??????? ????? (-) ???? ????? ??? ???? ?? ?????? ?? ?????. ??? ???? ??????? ?????? ???? ?? ??????? ??? ?????? ???? ??? m-f ?? monday friday. ????? ???? ??? ?? 8: 00 ? ??? 5: 00 ?, ???? 8: 00 ? - 5: 00 ? ?? ? 8-5 ? ?? 8: 00-17: 00.
    • ???? ????? ?????? ????? ?????? (??? ???? ??????? monday ? 8-5 ?).
    • ???? ??? ????? ?? "????? ??????" ???????? ???????? (??? ???? ??????? monday ? 8-5 ?; tuesday ? 8-4 ?; wednesday ? 8-3 ?).
    • ?? ?????? ???????? ??? ?????? ?? ?????.

?????

???? ??????? ??????? ????? ????? ????? ????? ?????? ????? ?????? ????.
  • ?????? ??????? ???????? ???? ??? ???? ?????? ?????? ??? ?????? ?? 8: 00 ? ??? 5: 00 ? ??????? ??? ?????? ?? ??? ????? ?????? ?? ???? ????? ??????? ENTER:
    net /times:monday bob ???????? - friday ? 8-5 ?
  • ?????? ???? ???? ???????? ????? ?????? ????? ?? 8: 00 ?????? ??? 1: 00 ? ???? ??????? ? ?????? ??? 8: 00 ? ??? 5: 00 ? ?? ??? ???????? ??? ??? ?????? ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    /times:monday bob net user 8: 00 ? - 1: 00 ? ";" tuesday-thursday 8: 00 ? - 5: 00 ? ";" friday 8: 00 ? - 1: 00 ?
  • ????? ????? ?????? ???? ?? ?????? ????? ???????? ????? 24 ????, ???? ????? ?????? ??? ?? ???? ????? ??????? ENTER:
    /times:m bob net user 8: 00-13: 00; t i? 8: 00-17: 00; f 8: 00-13: 00
  • ?????? ???????? ??? ?????? ???????? ????? ?????? ?? ??????? ??? ??????? 8: 00 ? ??? 12: 00 ? ? 1: 00 ? ??? 5: 00 ?, ???? ????? ?????? ?? ?? ???? ????? ??????? ENTER:
    net /times:m bob ????????-f 8: 00-12: 00 13: 00-17: 00

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

????? ??????? ????? net user ?? ??????? / ??????? ?? ??? ??????? ?? ?? ??? ???? ?????? ????? ????? ?????? ??????? ?? ?????????? ?? ????. ?????? ????? ???? ??????? "?????? 1: ????? ???????? ???? ?????" ??????? "?????? 2: ????? Logon ??????? ?? ???? ??????? Net ???????? ?????" ?? ??? ???????.

???? 1: ????? ????? ???? ????????

  1. ??? ????? Active Directory Users and Computers ???? ??????. ?????? ????? ???? ??? ???? ? ???? ??? ???????? ???? ??? ????? ?????? ?? ???? ??? Active Directory Users and Computers.
  2. ?? ???? ???? ??????? ???? ??? ?????? ????????? ?? ??????? ?????? ???? ????? ??? ?????? ?????????? ???? ??????.
  3. ?? ??????? ?????? ???? ??? ????? ???????.
  4. ?? ???? ?????? ??? ????? ???? ??? ????? ???? ????? ?? ?????? ??? ?????.
  5. ?? ??????? ??? ???? ? ???? ??? ?? (Delimited)(*.csv) ??????? ? ?? ???? ??? ???.
  6. ????? ??? .csv ???????? ???? ?? ??? ??????? ?????? ????????? ???? ?? ??? ???? ????? ???? ????? ????. ??? ??? ?????? ?????????? ???? ????? ?? ???? ???? ?? ?? ???. ??? ?????? ??? ?????:
    Name, Type, Description,
    Joe,User,,
    Sally,User,Account created for Sally,
    Betty,User,,
    Bob,,
    						

???? 2: ????? ????? ????? ?????? ???????? ????? ???????? Net

?????? ????? net user ?????? ???? ????? ?????? ??? ???????? ?? ??? .csv ???? ??? ??????? ?? Step 1: Create a User Account List.
  1. ???? ??? ???? ?? ???? ??? ?????.
  2. ?? ?????? ???? ???? cmd ?? ???? ??? ?????.
  3. ???? ????? ??????? ??? file_name ?? ??? ????? .csv ???? ????? ??? ?????? ???????? ???? ?? ?????? ??? logon_times ?? ?????? ?? ??????? ???? ???? ?????? ??????? ??? ??????:
    for /F "???? = 1 tokens = 1 delims = ? ?" net %i ?? (???_????? .csv) ???????? %i/???????: logon_times
    ???? ????? ?????? ??? ????. ?? ??? ?????? ?????.

    ??????: ?? ?????? ?????? ???? ????? ??? %i ? / ???????.

?????

???? ??????? ??????? ????? ????? ????? ????? ?????? ?????? ??????? ???????? ?? ??? .csv ???? Exportusers.csv.

??????: ??????? ??????? ?? ????. ?? ?? ???? ?????? ?????.
  • ?????? ?????????? ?????? ?????? ??? ?????? ?? 8: 00 ? ??? 5: 00 ? ??????? ??? ?????? ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    for /F "???? = 1 tokens = 1 delims = ? ?" net %i ?? (exportusers.csv) /times:monday ???????? %i - friday ? 8-5 ?
  • ?????? ?????????? ?????? ?????? ??? ?????? ?? 8: 00 ?????? ??? 1: 00 ? ???? ??????? ? ?????? ??? 8: 00 ? ??? 5: 00 ? ?? ??? ???????? ??? ??? ?????? ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    for /F "???? = 1 tokens = 1 delims = ? ?" net %i ?? (exportusers.csv) /times:m ???????? %i 8: 00 ? - 1: 00 ? ";" t-????? 8: 00 ? - 5: 00 ? ";" f 8: 00 ? - 1: 00 ?
????? ??????? ??? ????? ?? ??? ????. ??? ???? ??? ????? ??? ??? ?????? ?????? ??????? (%) ??? ?????. ???? ???????? ???????? ???????? ?? ?????? ?????? ???? ???:
for /F "skip=1 tokens=1 delims=," %%i in (exportusers.csv) do net user %%i /times:m,8:00AM-1:00PM;t-th,8:00AM-5:00PM;f,8:00AM-1:00PM
				
??????: ?? ?????? ??????? ???? ????? ??? ????. ?? ??? ?????? ?????.

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

???? ??????? "??? ????????" ??? ???? ??? ????? ???? ???? ???? ????????.

???? 1: ????? ???? ??? ??????

?????? ???? ??? ???????? (GPO) ???? ???? ??? ???? ????? ???? ??????:
  1. ??? ????? Active Directory Users and Computers ???? ??????. ?????? ????? ???? ??? ???? ? ???? ??? ???????? ???? ??? ????? ?????? ?? ???? ??? Active Directory Users and Computers.
  2. ?? ???? ???? ??????? ???? ??? ?????? ?????? ??? ?????? ?? ?????? ????????? ???? ????? ??? ????? ???? ?????? ???? ?????? ?? ???? ??? ?????.
  3. ???? ??? ????? ??????? ??? ???????? ?? ???? ??? ????.
  4. ???? ????? ???? ???? ??????? ??? ????? (??? ???? ??????? ???? ????? ???? ??????) ? ????? ??? ENTER.
  5. ???? ??? ????? ?? ???? ??? ????? ??????? ????.
  6. ???? ?????? ????? ???? ???????? ????? ??? ???????? ??? ??????? ?????? ???? ?????? ???? ?? ????? ??? ???. ???? ?????? ???? ???????? ????? ??? ???????? ?????? ????????? ???? ???? ????? ??? ?????. ??? ????????? ???? ??? "?????".

???? 2: ??? ????? ????? ?????? ????

  1. ??? ????? Active Directory Users and Computers ???? ??????. ?????? ????? ???? ??? ???? ? ???? ??? ???????? ???? ??? ????? ?????? ?? ???? ??? Active Directory Users and Computers.
  2. ?? ???? ???? ??????? ???? ??? ?????? ?????? ??? ?????? ?? ?????? ????????? ???? ????? ???? ???? ???? ???? ??? ???????? (GPO) ???? ???? ?????? ?? ???? ??? ?????.
  3. ???? ??? ????? ??????? ??? ???????? ???? ???? ??? ???????? ???? ????? ?? ???? ??? ?????.
  4. ??? ????? ????????? ? ?? ?????? ??????? Windows ?????? ??????? ?????? ? ?? ?????? ????? ??????? ?? ?? ???? ??? ?????? ??????.
  5. ?? ????? ?????? ?? ?????? ???????? "??? ????????" ? ???? ????? ??????? ??? ????? ???? ?????????? ??? ?????? ??? ?????? ??? ????? ?????? ????????.
  6. ???? ??? ???? ???????? ????? ????? ????? ??? ?? ???? ??? ????? ?? ???? ??? ?????.
  7. ???? ?????? ???????? "???? ????????" ?? ???? ??? ?????.

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

?? ??? ??? ????????? ?? ??? ???????? ???????. ?? ?????? ???????? ??????? 5 ????? ??? ????? ?? ????? ???? ?????? ?? ??? ???????? ? ????? ??? 120 ????? ??? ????? ??? ????? ????????? ???????. ???? ?????? ??????? ?? ??????? "??? ????????" ??????? ?????? Secedit.exe. ?????? ????:
  1. ???? ??? ???? ?? ???? ??? ?????.
  2. ?? ?????? ???? ???? cmd ?? ???? ??? ?????.
  3. ???? secedit /refreshpolicy user_policy ?? ?? ???? ENTER.
  4. ???? secedit /refreshpolicy machine_policy ?? ?? ???? ENTER.
  5. ???? exit ?? ???? ????? ??????? ENTER.

?????

?????? ??? ??????? ?????? ??? "??? ????????" ?? ?????? ????? Microsoft ??????? ??? ?????:
http://technet.microsoft.com/en-us/windowsserver/grouppolicy/default.aspx
http://download.microsoft.com/download/5/2/f/52f3dbd6-2864-4d97-8792-276544ad6426/grouppolwp.doc
?????? ??? ??????? ??????? ?????? ??? ????? net user ?????? ??????? Windows 2000 ?? ?? ?????? ?? net user.

?????? ??? ??????? ??????? ?????? ?? ????? for ???? ?? / ? ?? ???? ???????.

???????

???? ???????: 318714 - ????? ??? ??????: 10/????/1427 - ??????: 6.3
????? ???
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
????? ??????: 
kbmt kbenv kbhowtomaster KB318714 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????318714

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

 

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