Join the Windows Server core operating system to a domain or quit a domain

Source: Internet
Author: User
Tags join

1.1.1 Task 5: Join the Windows Server core operating system to a domain or quit a domain

Use a virtual machine to open a profileserver virtual machine that has Windows Server core installed.

Log on to the Profileserver virtual machine as an administrator.

Enter hostname to view the computer name.

Enter netdom renamecomputer fileserver/newname:profileserver change the computer name to Profileserver.

Input netsh interface ipv4 set address name= "Local Area Connection" Source=static addr=10.7.10.212 mask= 255.255.255.0 gateway=10.7.10.1 change Local Connect IP address, subnet mask, and gateway information.

Enter the netsh interface ipv4 set dnsserver "Local Area Connection" static 10.7.10.12 primary.

Enter the SHUTDOWN/R/T 0 restart system.

Log in to Profileserver as the local administrator.

ü Joining a computer to a domain

Enter netdom join%computername%/domain:ess.com/userd:administrator/passwordd:a1! /reboot:5

Automatically restarts the system after 5 seconds.

Parameter userd, enter domain user, parameter passwordd, enter password for domain user.

ü Leave the computer out of the domain

Input netdom remove%computername%/domain:ess.com/userd:administrator/passwordd:a1! /reboot:5

Restart after 5 seconds.

When the computer joins the domain, the computer account is default to the computers directory.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.