![]() To ensure this tutorial covers all ways you can add a computer to a domain, let’s continue with a lesser-known method of using Windows Management Instrumentation (WMI). For more options, run Get-Help Add-Computer -Full.Īdd-Computer cmdlet credentials prompt Add a Local Computer to a Domain Via WMI If you’d like to add a computer to a different OU upon creation, specify the OUPath parameter. You can also specify the Credential parameter to specify the username and password sooner. Specify the domain name to add the computer to with the DomainName parameter and optionally specify the Restart parameter to restart the computer when complete automatically. This cmdlet performs the same action as adding a computer to a domain via the GUI. ![]() In the PowerShell console, run the Add-Computer cmdlet. Related: How to Run PowerShell as Administrator Open up Windows PowerShell ensuring you run it as administrator. If you have many computers to add to a domain, have an onboarding automation process, or prefer the command-line, you can use PowerShell to add a computer to a domain.ġ. Adding a Local Computer to a Domain via PowerShell Now restart the computer and the computer will be joined to the domain. This command will open the System Properties control panel applet.ģ. That’ll be later.Īssuming you’re on a Windows 10 workgroup computer that can access an existing domain controller:ġ. ![]() This method is not good for adding multiple computers at one time. This approach is good when you need to just add a single or a few computers at once. One of the most common ways to add a computer to an AD domain is the GUI. The Remote Server Administration Tools (RSAT) package to use the command-lineĪdding a Computer to a Domain via the GUI.Access to Active Directory Users and Computers (ADUC) on a domain controller (to confirm the domain join).Find more information on how to discover what permissions are needed here. An AD user account with permissions to add a computer to a domain.This tutorial will use a computer called Win10Demo. ![]() Not all versions of Windows 10 can be joined to a domain.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |