tổng hợp kiến thức về windown - Pdf 23



 
connect bằng quyền admin và
NET USER [username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]
Ví dụ một trường hợp
NET USER THUNGHIEM /ADD sẽ add một user vào Group User với
password rỗng.
NET USER TEST 123 /ADD sẽ add một user TEST với Password là 123 vào
Group User hoặc Domain user.
Chú ý, nếu chỉ sử dụng trong môi trường Group thì chỉ có thể tạo được User ở
máy Local.
Nếu dùng trong môi trường Domain, mọi chuyện lại dễ.
Ngoài ra, còn những Option khi tạo User (giống như động tác click chuột trên
GUI)
Options Are as follows:
Options Description

/ACTIVE:{YES | NO} Activates or deactivates the account. If
the account is not active, the user cannot
access the server. The default is YES.
/COMMENT:"text" Provides a descriptive comment about the
user's account (maximum of 48 characters).
Enclose the text in quotation marks.
/COUNTRYCODE:nnn Uses the operating system country code to
implement the specified language files for a
user's help and error messages. A value of
0 signifies the default country code.
/EXPIRES:{date | NEVER} Causes the account to expire if date is

entries with a semicolon.
/USERCOMMENT:"text" Lets an administrator add or change the User
Comment for the account.
/WORKSTATIONS:{computername[, ] | *}
Lists as many as eight computers from
which a user can log on to the network. If
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
Những Option trên chính là những phần Click chuột mà bạn thường hay sử
dụng khi tạo trong Computer management, hoặc là dùng AD Computer and
Users.
Ứng dụng tốt nhất của việc dùng Command line là: Bạn có thể tạo ra cùng một
lúc nhiều User có chức năng tương tự nhau, bạn chỉ mất khoảng thời gian Edit
và Test command đầu tiên, sau đó chỉ việc Copy và chỉnh sửa chút xíu, là có thể
tạo thành một Teplate hoàn chỉnh rồi.
Good luck!
Cấu Hình IP bằng command line
Để cấu hình địa chỉ IP, DNS, WIN bằng command line.
Các bạn thực hiện các bước sau:
Vào của sổ command prompt.
gõ lệnh:
netsh <Enter>
interface IP <Enter>
< Set IP Address >
set address name= "Local Area Connection" source=dhcp <Enter>
set address local static <IP Address> <IP Supnet Mask <Enter>
vidu:
set address name= "Local Area Connection" source=dhcp <Enter>
set address local static 192.168.1.2 255.255.255.0 <Enter>
< Set Preferred DNS Server >

1. Logon ở máy PC1 bằng tàu khoản (thuộc nhóm
Domain Users). Chú ý tài khoản này không có quyền hạn gì cả. Nhưng
chúng ta sẽ sử dụng RUNAS với tài khoản là để
làm thao tác shutdown máy PC2
2. Vào RUN gõ : runas /user: "mmc %systemroot
%/system32/compmgmt.msc"
SAU ĐÓ : gõ password của
3. Ở Computer Management[với quyền ], Chọn
mục : CONNECT TO ANOTHER COMPUTER, gõ IP của PC2 hoặc tên
máy là PC2.
Chọn PROPERTIES | tab Advanced| tab STARTUP and RECOVERY |
tab SHUTDOWN và SHUTDOWN máy PC2.
4. Hết rồi
Chúc các bạn thử thành công.
PS : Chú ý là vừa sử dụng RUNAS vừa SHUTDOWN từ xa.
Nói về commandline, tui xin góp 1 lệnh nhé

C:\>nslookup
Default Server: hcm-server1.vnn.vn
Address: 203.162.4.1
Aliases: 1.4.162.203.in-addr.arpa
Cho bieát DNS server mà client gởi query lên ở đâu !!?
C:\>nslookup ?
Usage:
nslookup [-opt ] # interactive mode using default server
nslookup [-opt ] - server # interactive mode using 'server'
nslookup [-opt ] host # just look up 'host' using default server
nslookup [-opt ] host server # just look up 'host' using 'server'
C:\>nslookup www.yahoo.com
Server: hcm-server1.vnn.vn

dns3.name-services.com internet address = 63.251.83.36
dns4.name-services.com internet address = 64.74.96.242
dns5.name-services.com internet address = 212.118.243.99
dns5.name-services.com internet address = 212.118.243.100
dns5.name-services.com internet address = 212.118.243.101
Query MX record : danh saùch mail server
> set type=A
> yahoo.com
Server: hcm-server1.vnn.vn
Address: 203.162.4.1
Aliases: 1.4.162.203.in-addr.arpa
Non-authoritative answer:
Name: yahoo.com
Address: 66.218.71.198
Query A record(Host) cuûa moät server
> set type=SOA
> yahoo.com
Server: hcm-server1.vnn.vn
Address: 203.162.4.1
Aliases: 1.4.162.203.in-addr.arpa
DNS request timed out.
timeout was 2 seconds.
Non-authoritative answer:
yahoo.com
primary name server = hidden-master.yahoo.com
responsible mail addr = hostmaster.yahoo-inc.com
serial = 2004021604
refresh = 900 (15 mins)
retry = 300 (5 mins)
expire = 604800 (7 days)

AD Schema Manager schmmgmt.msc
AD Users & Computer dsa.msc
Backup backup
Certification Authority certsrv.msc
Component Services comexp.msc
Computer Management compmgmt.msc
DHCP dhcpmgmt.msc
Distributed File System dfsgui.msc
DNS dnsmgmt.msc
Domain Controller Security Policy dcpol.msc
Domain Security Policy dompol.msc
Event Viewer eventvwr
Indexing Service ciadv.msc
Internet Authentication Service ias.msc
Internet Service Manager iis.msc
Local Security Policy secpol.msc
Network Monitor netmon
Routing & Remote Access rasmgmt.msc
Task Manager taskmgr
Telnet Server Administration tlntadmn
Terminal Service Manager tsadmin
Terminal Service Client mstsc
/> !"#$%&'
$(&&)*+,-&&./&0
%&12,34&05!"6678
90:!&9;<&.!9=000
7:>,?905@A&BCDE&F
5G:(&H590C<=9B5I0J52:
7<K0FF/&L!M&L1L%&N&090
OPLO:<590!N

FLC09;J%!_&[:yB<d[X&z
QROL{ghij
QRRL]O|hij
><9?P
><<F}is~gg}V
[QR?P[?RLPw
[i$nPPtogg~g•~}qVQqVLL:
iPip
gg~}V~}qggQ•s:Pip
g]S\toF
gS\WX•Vq:g•
QRRL]O
;^^9U€|€H0;T&a•BC1]‚
50]ƒX;T&Z&1:>0‚&!€|€H
a•BC]X!N;T&:>,3(&HB5!"
4]L:904!N:p: 90!N
:p
QRRL]O:phij
QRRL]R:pO|hij
><9?P
><<F}is~gg}V
[QR?P[?RLPwR:Pip
[i$nPPtogg~}V~}qggQ•sL:
„•rs„o
gg~}V~}qggQ•s„•rs„o
pqgP
gg~}V~}qggQ•spqgP
[Pu$vPu
gg~}V~}qggQ•s[Pu$vPu
o>#

&z:HL1;&::mm 04
&Z&5@5a0054&:>05%
B&<a5T9UF ?B&ZZ&„rv0
&!NQRR:G8Z&
05:>AN:3<K&F0F:,K
5H0hj<ŠF::8h|j:

kkkkkkkkkkkkkkkkkkk
&T(&d-&F3JFB‹0;<0<
5B90<],HB5!"1Z&]
&7525!"J:y52aZ&]BŒ<D&:
K1%90F3(&5!"B&ZJ!N
QR?P[?RLL[RR]Rr:!N
0EZ&<1]8XXLLX&7
525!"J90&CZ&!N5aE1]5Z:
4]5@F;08:XE0F41:>,9=
3<F%&<TF35!"0;<5,K8Z&]
&!N0:

kkkkkk
g:L]
^$i†•„rri•„irRRR?R<>
RLLR?LRrwv^
q:r<
$i†•„rri•„irRRR?R<>
Ri8LRr[
•:<<
$i†•„rri•„irRRR?R<>
Ri8LRr<r„
s:

556J.9+,5Q(((;7V<59%&76%ALC'()
""GW;..9"O75;7;"$"A?1)
 $%X6%A@-C'()""JB%.Y56%AC"D;=J5
6%&@-6%A'()C'()""J85;;"$ZB7[6%7\5
]P(\5]P(;L"^5;._NL^C$L.6%A
CJB6%A;Z$"57"K5L5;7$$L5"$L;Z%&
755;`\
&&'()!"!""D"@C6.9:`.9";&@-$a5$J
$VL`'()""D";_5Z^5[9`7'()
!""@%M@Z9b57Fb5":"A$Va5L
$L'()
c@CV3=#* +*,&&-&.**,/0c@C;8$6UV
L`8.d@-`/6$`D;=`^d
@-`@.@5@-5J=9.95001!8$.
9@C5W;
e:5"J:(""5J:,+-#J:* +*,&&2001!4
D"* +*,&&&#J"6=""a5$J:1#* +
*,&&!56:@O"=.V6LW;9535
f!5.001!g5"Z6N7D"V;$=:,2 ##&3 
-6)I8@CW;
hijH Hh5fK5klfelmfKekfeKkmk 555

c$Q3%,B]Y"=g5"C6$FVg5"JA^
:49FV5001!
l!56FV5001!$VL"5""J$]:n
 $%_56U+,, #5-67.!"/-8.7"O$6
:,;J.ZL"K5$:*7:]#55
QoL?D(((D(@-b;";L+J001!Z6U";L%.6U
L5Q"=J.p=+,,2 ##&3 -X001!qV
8$ZF;@F8@CW;

$:,€K55"5xy(Jx)!J5P)!5"K"5S
JOW;$=:)P5">$a5'()""J866%AC$'()a5
$J.VL*"^$?1)J=$L:)P5"a5001!""8)P
5";Z\"FU3xy(Jx)!P)!
rs55hijH Hhf5fmk Hkm KjjHK jjkmk
555I86•X93%,Vz""
@8@CW;
rs55hijH HhlKl‚Kemfj5m lfemHlKf
kmk 555ƒD"V001!J$"
6("J:(""3@8@CW;
rs555 kmkhijH HhkjlKmjefKm
Hek fKjj kmk 555V("(""3@
8@CW;:'()"K5$A5J|,@$A55Q((D(
9.9$6%AC$'()J5Q((D(@NANLFJ=$
=qV*5Q;*:1)u"2((D(45.F,
z"@8@CW;
D"Vz"1)u"2((D(4@8@CJ$=:,05
32;49.9$6%AC'()""u,x5S5"3
3254#001!""@-#6O$`F&
6%A%G5S5"")%$ABL55;SS55;'()
3J8$=:,;J@%$]A#&6%AGU
|$.95@,;D"7("K"J&\5]P(a5
'()"""K5@8@C
rs555 kmk5Kl HhijH HhHe
lKem eHHk5 KmfH lK5kmk 5555=
"M@-^;Va5$J"8.„76Lekfj"J=%
$.VNA@-".8$LV=7'()""
6•X)%$:|NA"`\8$Z`{L@8@CW;J@
6U5$Q6n!5.61;"V("(""3
c@CA^#";&b501(;:@,01

0"'9)M3%'!%&8,
KN!)O%:%:-<!*.)P.
Q0)(-EK!0(!%>'*%
!#R%>/6 )'.S%H
D3! 09'!'I#8,
K.)T
TUVQ0 W'!.!W.)
SS6"e "5K";""SS
ŠSŠSŠSŠSŠSŠ
Šy3
Š!""u"‹SPP!l 
Œ •X…•D6"5
Œ •X…•D6"b
Œ •Xy•1xh3hK
Œ •Xy•1xh3h
Œ •Xy•1xh3hI
c$.9F;6"5Ž&$&3.B;93"=APP!l;
D&BA6.`a57:P!1(P^-zb526"56"b
6%bL]zL9]"5"*"";5ŽQ"bz@NB4
)@5Ž.O"=JW;LFa56"J.69"5B.`a5z=b5%L
&5Ž%A@V%…P5"••{V••
!Q$a56"*OUŽ6Lo=Ž:"5555a5.JQ
o;@-UL"z6"I^%.B5:"556U
bQ$J.]@-Bb56;NO.1""5;!5
u71""5;5a5@,969"5B.`a57zu75""5;@-:
••"••5‰@,2D@,Aa54J"JSJ5Ž.
F"_A@5
ABC&5C&9CC#5
1""5;.9^_5%•5""5;h5OFQW""55_.
9@-‰59]"Ž"5F"_@,7I7]*7>

•5";K"5J5""""K5
IIuŠ…•D
II"ŠyDD(e 
IIŠe
•
•5""5;
•˜˜˜˜˜˜˜˜˜
5""5;€Š"J5J5JJSJ5Jh3hJ
""J""J""
•
•5
•˜˜˜˜˜˜˜˜˜˜
"6K"5"53PP!€”!;D"5"5
"D5"5;"5€K "
524•€ƒƒ— —5K;fIEŒ"
'W;@Ž=Ž"5%$$;$;
ƒ6"S3S
SS6"e "5K";••""••ƒ""SS
ŠSŠSŠSŠSŠSŠ
Šy••3••ƒ3
Š!""u"‹SPP!l 
6K"5"53PP!€”!;D"5"5
D5"5;"5€K "
Œ •X…— —5K;fIEŒ"
)%""6U\|UŽJ$ŽF;yDD("L6%bL@NB5
˜ •i)”
˜ f1”"
u76Lo6a56".$;@7…PJNL]„=(";
6"`@,S"=""
DLu5

9=5a%&B_&_X0C8<B5AT5409;5I<aXAT
54Œ<5.!M&E&9UC&_&590!3585490XU51T
E3L:v0!3,<8<B57<8&X53E,
5.H9bŒ<5357<090H09;&0%&B_&_Œ<5.Z
:;T58041;!M&5TŒ<D&5T9U15.E&_•
=L5••15I<aY!M&5T=:5T9U1[[<&!M&!;
,;T58%&YZ9,T5415I<aK15.E&05G0
9;Xa&&F/&9UT54Œ<5.X90!3TE1K
‚&4(0@KH5!"51KN<90!3(0;T58kg
-&0T!<B
Ž&!_&"L0K95.
[.KBLBLa%&3L0!5.!&<&9l9I@
bA900Z;<:!9=<;5T%&KN&41Œ<151&:%&
!_&6KBLBL5.&1b&"L<Q
~$%&w5!"5.E&Q B0b&"LFdF<4FJ96!5GF33<4[[
%&5!",%&a5!"90!3,%&acN&5!":$%&
5!"a&@L1,&<
~ŽŽ‘i‘1F170-
~ŽŽ905!"!&DN57<K5aL[‘!M&,`
08<’5ag%&X(0‚D@&,,-&F•1
~$%&5!"X(Q|,a=5!"42<%&F1!}
&T&!!_&&@LJ5.IQ}‘[„<F:
~&0b&"L%&905!"X,1!_&"L<aD5!"
KBLBL%&FJ9,AB&1!_&"L0,5.9lY5!"
ŽŽŽ$BLQ|15&T“,a&@L41
%&F1•&9<Wogg:v(015&F1F3/&<
WoggK5.F•!905&T&d&LN)<5X!&%&!_&,e
=5!"%&F1e0,5GF•K5.
ŽŽŽ$Q[[Q|[FB‹gL7I05aaFI@5.
S<\H&@LK5.Ba<TF•[S\

9<F9LS†|\'†
3<FD†FH&@L3LY&%&F1<Q
<FFSg|\'g
?&Q[~r9F[
[9Q?F<<rLm
n9S†|\'†
U520&d,XY%&5<T&9UFX5a8&)1
9=08&
S(x5D•!U&lcN&!U‚&&F&&:&\
LQ||<9qs:F&L:|
L&S\LFL
u"‹•"53u55"2u•u47LbLp$7@bLpJ
"K"5J"J5"3J""3Xu•u l@-"965bLp
""85.9bLpQ,\,5$;"=.
P5u"‹•"53u55" l
&= &K &-&&'()
& 
'`>™L$5"65u•u l
2-,&+,&& %D6LbLp$7a5""1;.
7A>™`B5U.B?F;|,J5;@-^
9
S`5"=;š@-›
S$;56"=;š6U`5
SXU,&<G;š6U`5
SXU,&<Gu55!""
L,&&-.L,/,&& %1;^9";&NO<a5u•u l
M6-
Su•u l.9`"=FL>""@XJ6fJ
"G6fk
D5M.9`u•u l"=75""@6U@-6;%6|O


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status