Showing posts with label Command Prompt. Show all posts
Showing posts with label Command Prompt. Show all posts

Tuesday, September 4, 2012

How to Determine Whether your PC is being connected to a Domain Controller from Command Prompt (cmd)?

1. Type "set user" and Press "Enter" in the command prompt.
2. The result will show you:-
USERDNSDOMAIN=YourDNSDomain
USERDOMAIN=YourDomainName
USERNAME=YourLogonUsername
USERPROFILE=YourProfileDirectoryPath

How to Determine Which Domain Controller a PC is Using from Command Prompt (cmd)?

1. Type in that window "set logonserver" without quotes. Press "Enter" key.
2. Read the result of the output. The output will show you LOGONSERVER= and after the equals sign will be the name of the logon server.