Answer the question
In order to leave comments, you need to log in
How to enter a PC into a domain with a given account?
Good afternoon!
There is: a computer in the "work" group with win7 (pc name "dom"), domain "home", an account in the domain "home \ user1" and the password for it "password"
Task: using the command to change the computer name to "PC1 "bring it to the domain under the account "home\user1" and the password "password". Feasible? Can you suggest a command?
Thank you!
Answer the question
In order to leave comments, you need to log in
Add-Computer -NewName PC1 -DomainName home -DomainCredential $(Get-Credential home\user1)
There is also a console command netdom . But for it to work, you need to install RSAT.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question