HOW TO: ????? ??? ????? ???? ???????? ?? ???? ?? Windows Server 2003

?????? ????????? ?????? ?????????
???? ???????: 816666 - ??? ???????? ???? ????? ????? ??? ???????.
?????? ??? ????? Microsoft Windows 2000 ?? ??? ???????? ???? 318714.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ???? ????? ??? ????? ????? ????? ???? ?? ???????? ????? ?????? ??? ???? Windows Server 2003.

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

????? ????? ????? ????? ?????? ????? ?????? ???????? ??? ???????? ???????:
  • ????? ????? ???? ???????? ?? "Active Directory" ???? ???? ??????? ?????? ?????? ????????.
  • ????? ????? ???? ???????? ???????? ????? 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 ?????.
  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).
    • ???? ????? ???? ?? ???????? ?? ???? ????? ??????.
    • ???? ???? ???? ?? ?????? ???? ????? ?????? ?????.
    • ??????? ????? (-) ???? ????? ??? ???? ?? ?????? ?? ?????. ??? ???? ??????? ?????? ???? ?? ??????? ??? ?????? ???? ??? - ???? ?? 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 ?????) ???????? ??????? ?? 24 ????? ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    net /time:M john ????????-F 08: 00-17: 00
  • ?????? ??? ????? ?????? ????? John (?? 8: 00 ? ??? 5: 00 ?????) ???????? ????? 12 ????? ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    net /time:M john ????????-F ? 8-5 ?
  • ?????? ????? ????? ?????? ?? ?????? 4: 00 ?????? ???? 5: 00 ????? ??? ???????? 1 ????? ???? 3: 00 ????? ??? ????????? ??? ?????? 8: 00 ? ??? 5: 00 ? ??? ???????? ???? ?????? ?? Mary ? ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    net user /time:M mary ? 4-5 ?; T, 1 ? - 3 ? W-F 8: 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 ???????? ???? ?? ??? ??????? ?????? ????????? ??? ?? ???? ????? ???? ????? ????. ??? ??? ?????? ?????????? ??? ????? ?? ???? ???? ?? ?? ???. ?????? ?? ???? ????? ????? ?????????? ?? ??? ????? ???? ???? ????? ????? ?????? ?????????? ???? ???? ??? ????? ???????? Net ?? ???? ???????.

    ??? ?????? ??? ?????:
     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 ?? ?????? ?? ??????? ???? ???? ?????? ??????? ??? ??????:
    ?? / F "???? = 1 tokens = 1 delims = ? ?" %i ?? (???_????? .csv) net /time ???????? %i: logon_times
    ??? ????? ??? ????. ?? ??? ?????? ?????.

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

?????

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

?????? ??????? ??????? ??? ????. ?? ?? ???? ?????? ?????.
  • ?????? ?????????? ????? ?????? ??? ?????? ?? 8: 00 ? 5: 00 ? ??????? ??? ?????? ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    ?? / F "???? = 1 tokens = 1 delims = ? ?" %i ?? (exportusers.csv) net /time:monday ???????? %i - friday ? 8-5 ?
  • ?????? ?????????? ????? ?????? ??? ?????? ?? 8: 00 ? ??? 1: 00 ?? ???? ??????? ? ?????? ??? ?????? 8: 00 ?????? ???? 5: 00 ????? ??? ???????? ??? ??? ?????? ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    ?? / F "???? = 1 tokens = 1 delims = ? ?" net %i ?? (exportusers.csv) /time: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 /time: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. ???? ??? ????? ??????? ??? ????????? ???? GPO ???? ????? ?? ???? ??? ?????.
  4. ??? ????? ????????? ? ?? ?????? ??????? Windows ?????? ??????? ?????? ? ?? ?????? ????? ??????? ?? ?? ???? ??? ?????? ??????.
  5. ?? ????? ?????? ?? ?????? ???????? "??? ????????" ? ???? ????? ??????? ??? ???? ???? Microsoft: ??? ????? ??????? ??? ?????? ?????? ????? ????? ??????.
  6. ???? ??? ???? ???????? ????? ????? ????? ??? ?? ???? ??? ????? ?? ???? ??? ?????.
  7. ???? ?????? ???????? "???? ????????" ?? ???? ??? ?????.

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

?? ??? ??? ????????? ?? ??? ???????? ???????. ?? ?????? ???????? ??????? 5 ????? ??? ????? ?? ????? ???? ?????? ?? ??? ???????? ? ????? ??? 120 ????? ??? ????? ??? ????? ????????? ???????. ???? ?????? ??????? ?? ??????? "??? ????????" ??????? ????? gpupdate.

???????? ??????? secedit /refreshpolicy ?? gpupdate. ????? ?? ????????? ??? ????? gpupdate ???? ??????? Windows Server 2003. ?????? ????? ???? ??????? ???????:
  1. ???? ??? ???? ?? ???? ??? ?????.
  2. ?? ?????? ???? ???? cmd ?? ???? ??? ?????.
  3. ???? gpupdate ?? ?? ???? ENTER.
  4. ???? exit ?? ???? ????? ??????? ENTER.

?????

?????? ??? ??????? ??????? ?????? ??? ????? net user ?????? ??????? Windows Server 2003 ?? ?? ?????? ?? "net user".

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

???????

???? ???????: 816666 - ????? ??? ??????: 08/????/1427 - ??????: 6.3
????? ???
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
????? ??????: 
kbmt kbhowtomaster KB816666 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????816666

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

 

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