http://www.csnserver.com
Click here for Low cost website hosting!

IP Address Lookup
IP Address

Microsoft Windows Tips And Tricks!



Welcome!

Find Domain Name From The Command Prompt For All Windows Versions



We can find the domain name of a computer by running the following commnads from command line.

systeminfo | findstr /B /C:"Domain"

Find Domain With System And Findstr

We can find the logged in user’s domain by using the environment variable ‘USERDOMAIN’. Command for this is given below.
echo %userdomain%

Find Domain With User Domain

And last you can use the 'HOSTNAME' Command.
hostname

Find Domain With Hostname


Thanks for visiting mswintips.com.

Return to Index Page


Valid HTML 4.01 Transitional
Copyright ©2018 CSN All Rights Reserved