21 C
Texas

How to check domain controller status in Windows Server 2019/2016.

Hello! The administration of Windows Server is very important. Indeed, the administrator manages many processes and roles that affect the optimal functioning of the company. Not only at the level of technology, but in all areas. However, the staff of the IT department must ensure various aspects. For example, take care of the infrastructure of the server and client computers. In addition to supporting the sensitive information of users. Similarly, it is necessary to monitor permissions to prevent unauthorized access. However, perhaps one of the main functions is to verify that each service is working properly. Well, today we will use PowerShell to check domain controller status in Windows Server 2019/2016.

What are the fundamental services in Windows Server 2019/2016.

The basic and fundamental services for an optimal functioning of the active directory are the following:

Active Directory Domain Services

ntds
- Advertisement -

Active Directory Web Services

adws

Distributed File System Replication (DFSR)

dnscachedns

DNS Client and Server Service

kdc

Remote Procedure Call (RPC) Service

w32time

Kerberos Key Distribution Center

kdc

Windows Time Service

dhcpdhcpserver

Net Logon Service

netlogon

Please note that in the list are the services with their name to use and their respective command.

How to execute the command to check the status of the domain controller in Windows Server 2019/2016.

To check the status of the services in Windows Server, we will use PowerShell. With this in mind, press the Win+X combination and launch it:

Running PowerShell
Running PowerShell

Once the console is deployed, run the following cmdlet to check the status of the services. Indeed, for everything to be in order, the command must show that the services are running. Otherwise, if any service is stopped, it may cause problems in the system.

Get-Service –Name NTDS, ADWS, DNS, DNScache, KDC, W32time, Netlogon, DHCP, KDC

As you can see in the picture, all services are running successfully.

Checking the status of shared folders.

Another essential task for the administrator is to validate that the SYSVOL and NETLOGON folders are shared. If not, then the group policies and logins will be invalid. With this in mind, we will use the net share cmdlet.

After running the command, we can see that the folders are indeed shared. Therefore, the elements of the active directory are working properly.

In this way we have seen how to check domain controller status in Windows Server 2019/2016. This activity takes no more than two minutes. However, it is very practical to do, as it checks the functional status of the domain controller. I don’t want to say goodbye without inviting you to see our post about how to increase privacy in Windows 10. See you soon!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article