Home
Microsoft 365
Linux
Windows
Powershell
Cloud Computing
    Citrix Xendesktop
    Citrix XenApp
Useful links
About
ajni.IT -
  • Home
  • Microsoft 365
  • Linux
  • Windows
  • Powershell
  • Cloud Computing
    • Citrix Xendesktop
    • Citrix XenApp
  • Useful links
  • About

Windows Server 2019: Installing the first Domain Controller in a new domain

October 22, 2019 by AJNI No Comments

So last time we created a Master-VHDX on Hyper-V with Windows Server 2019 in order to save space. Today we are installing the first Domain Controller with a fresh domain. Very straight forward stuff.

Before installing Active Directory Directory Services, the computer should have a decent name.

Give it a fixed IP address. Since this is going to be a lab, I am not going to plan the IP design. The Default Gateway does not exist yet. Also, the secondary DNS server will be installed later on a Server Core version.

From Server Manager Add Roles and Features, Select Role-based or feature-based installation

Select the Active Directory Directory Services Role

Everything else can be left on default.

Once the installation is completed, the server can be promoted to a Domain Controller.

Since there is no existing forest, the root domain name must be defined:

Define a new password for the Directory Services Restore Mode (DSRM). DSRM allows you to perform an authoritative restore of single or multiple AD objects through ntdsutil (from cmd).

This warning can be safely ignored.

The NetBIOS domain name can be used when logging into a domain computer, for example AJNI\Domainuser. The UserPrincipalName can be also used – domainuser@ajni.it.

The rest can be left to default.

The server will restart, after that the domain will be up and running!

The next blog post will be covering the installation of an additional Domain Controller (the second DNS server 10.10.10.11) with Windows Server 2019 Core Edition.

Stay tuned !

Reading time: 1 min

Get Locked Out Users in Active Directory (Powershell)

March 15, 2019 by AJNI No Comments

Hi Folks!

Here is a quick command to find locked out users in your domain. Pretty straightforward:

If that's too much Information you can only select the username:

The command is not getting recognized? Be sure to install the RSAT (Remote Server Administration Tools) for AD DS (Active Directory Domain Services), which also install the Powershell Snap-In via Server Manager (if you are using a Windows Server OS to manage your AD):

Alternatively you can download the RSAT for Windows 10.

Reading time: 1 min

Tip Of the Day

  • Printer Redirection on Citrix Workspace for Mac OS not working

    3 months ago

Keep in touch

Oh hi there 👋
It’s nice to meet you.

Sign up to receive my awesome blog posts in your inbox, every week.

Check your inbox or spam folder to confirm your subscription.

Recent Posts

  • Printer Redirection on Citrix Workspace for Mac OS not working
  • Migrate Citrix Virtual Apps and Desktops database to new server
  • Remove printers or printer drivers in Windows 10/11 or Windows Server
  • Windows Server 2012 Domain Controller Reboot Loop
  • Update domain computer group membership without rebooting a client

Categories

  • Azure (12)
  • Citrix XenApp (11)
  • Citrix Xendesktop (7)
  • Cloud Computing (24)
  • Coding (1)
  • Hyper-V (8)
  • Linux (8)
  • Microsoft 365 (12)
  • Powershell (12)
  • Security (5)
  • VDI (7)
  • Virtualization (15)
  • VMware (7)
  • Windows (19)
  • Windows Client OS (19)
  • Windows Server (45)

Archives

  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019

ajni IT © 2019