Showing posts with label domain. Show all posts
Showing posts with label domain. Show all posts

2018-12-20

CMD > Check is computer is in domain from command line

Open a command line and run the following command:

  • set user
look for USERDOMAIN (if you see the PC name, then it's not joined)

2018-04-19

Synchronise computer clock with domain \ server clock

  • sync clock with the domain
    • NET TIME /DOMAIN /SET /Y
  • sync clock with a specified domain
    • NET TIME /DOMAIN:domainname /SET
  • sync clock with a specified time server from another domain
    • NET TIME /RTSDOMAIN:domainname /SET
  • sync clock with a specified server \ computer
    • NET TIME \\servername /SET /YES

2018-04-18

Get time and date of logon / domain server from the command line


  • Get time/date from logonserver
    • NET TIME %LOGONSERVER%
  • Get time/date from domain
    • NET TIME /DOMAIN
  • Get time/date from the specified domain
    • NET TIME /DOMAIN:domainname