将Windows Server Core操作系统加入域或退出域

简介:
1.1.1 任务5:将Windows Server Core操作系统加入域或退出域

用虚拟机打开安装有Windows Server Core的ProfileServer虚拟机。

以管理员的身份登录ProfileServer虚拟机。

输入 hostname 查看计算机名称。

输入 netdom renamecomputer FileServer /newname:ProfileServer 更改计算机名称为ProfileServer。

clip_image002

输入netsh interface ipv4 set address name=”本地连接” source=static addr=10.7.10.212 mask= 255.255.255.0 gateway=10.7.10.1 更改本地连接的IP地址、子网掩码和网关信息。

输入 netsh interface ipv4 set dnsserver “本地连接” static 10.7.10.12 primary。

clip_image004

输入shutdown /r /t 0 重启系统。

以本地管理员的身份登录到ProfileServer。

ü 将计算机加入域

输入netdom join %computername% /domain:ESS.COM /userd:administrator /passwordD:a1! /REBoot:5

5秒钟后自动重启系统。

参数UserD ,输入域用户,参数PasswordD ,输入域用户的密码。

ü 将计算机退出域

输入netdom remove %computername% /domain:ess.com /UserD:administrator /PasswordD:a1! /REBoot:5

5秒钟后重启。

计算机加入域后,计算机账号默认在computers目录下。

clip_image006



本文转自 onesthan 51CTO博客,原文链接:http://blog.51cto.com/91xueit/1114390,如需转载请自行联系原作者

相关文章
|
5月前
|
安全 数据安全/隐私保护 虚拟化
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
1234 2
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
|
5月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
538 0
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
|
5月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
751 0
|
6月前
|
运维 安全 网络安全
Windows Server 2019拨号“找不到设备”?Error 1058解决指南
Windows Server 2019拨号报错1058?别急!这不是硬件故障,而是关键服务被禁用。通过“服务依存关系”排查,依次启动“安全套接字隧道协议”“远程接入连接管理”和“路由与远程访问”服务,仅需4步即可恢复PPPoE或VPN拨号功能,轻松解决网络中断问题。
511 1
|
6月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
2879 3
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
|
6月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
1027 2
|
6月前
|
安全 Linux iOS开发
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
291 0
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
|
11月前
|
Linux 虚拟化 iOS开发
Windows Server 2008 R2 OVF (2025 年 4 月更新) - VMware 虚拟机模板
Windows Server 2008 R2 OVF (2025 年 4 月更新) - VMware 虚拟机模板
371 29
Windows Server 2008 R2 OVF (2025 年 4 月更新) - VMware 虚拟机模板
|
Linux 虚拟化 iOS开发
Windows Server 2008 R2 OVF (2025 年 6 月更新) - VMware 虚拟机模板
Windows Server 2008 R2 OVF (2025 年 6 月更新) - VMware 虚拟机模板
276 0
Windows Server 2008 R2 OVF (2025 年 6 月更新) - VMware 虚拟机模板
|
Unix 虚拟化 Windows
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 6 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 6 月更新)
436 0

推荐镜像

更多