RSS

win08 core 使用命令记录

28 Dec

改固定ip
netsh interface ipv4 set address "Local Area Connection" static <IP> <Subnet Mask> <Gateway>

改dns
netsh interface ipv4 set dnsserver "Local Area Connection" static <DNSServer IP>

查看当前主机名
hostname

加域
netdom join hostname /doamin: /userd: /passwordd:*

/passwordd:*,将会提示输入域管理员的密码,此时输入的密码是不显示的,这样就很安全。而如果直接使用/passwordd:密码,将直接显示密码。

重新启动
shutdown /r /t 0

修改主机名
netdom renamecomputer hostname /NewName: /userd:  /Passwordd:* /usero: /passwordo:* /reboot:5
userd 域管理员 usero 本地管理员

各位请注意,cmd下可是区分大小写的!千万注意!

Advertisements
 
Leave a comment

Posted by on December 28, 2008 in Windows Server

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: