Windows Domain Controller (DC) is a server that responds to security authentication requests within a Windows Domain (group of networked computers controlled by domain controller).
In this article i will show how to find out whatever a computer is a part of a Windows domain and how to get the name of the domain the computer is joined to using CMD and Powershell.
Cool Tip: Find out what domain controller am i connected to! Read more →
Check If Computer Is In Domain
Find out whatever a computer is a part of a Windows domain and get the domain name:
C:\> systeminfo | findstr /i "domain"
The output as follows means that your computer is a part of a domain global.net.intra:
Domain: global.net.intra
If you get the output as follows, it means that your computer is a part of a workgroup:
Domain: WORKGROUP
Domain vs. Workgroup: Domain is a group of computers that share a common user account database. Workgroup is a group of computers that share resources with each other in peer-to-peer network (without dedicated server to act as a domain controller).
Cool Tip: How to determine whether the current user is a Domain User account or a Local User account! Read more →
Hello, I’m afraid the command does not return any information. I’ve tried it in 3 differente computers with CMD and PS.
May be late.. but the D in “Domain” is case sensitive and must be Capitalized
It did on my Windows 10 PC (more than one PC).
ran this at CMD:
systeminfo | findstr /B “Domain”
Got this as a reply:
Domain: ***********.com
If it doesn’t show a result, the computer may not be a member of a domain, but instead of a workgroup.
systeminfo | findstr /i “domain”
Will always shows result, Still if computer is not part of the domain, instead of showing a domain will show the workgroup.
sorry for a late response but if this helps try running the cmd or PS as a admin and typing b /edit-Bomain
Several users had issues with the cap letter in “Domain”
I guess is way better command to run this:
systeminfo | findstr /i “domain”
So it wont matter the caps letters. Is the only “domain” word that will print on that command anyway.
Updated. Thanks!