Server 2019

Seize Active Directory Roles

Select Start > Run, type ntdsutil in the Open box, and then select OK.

ntdsutil: roles

fsmo maintenance: connections

server connections: connect to server adserver2
Binding to adserver2 …

Connected to adserver2 using credentials of locally logged on user.

server connections: quit

fsmo maintenance: Transfer schema master
Server “adserver2” knows about 5 roles
Schema – CN=NTDS Settings,CN=ADSERVER2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=temp,DC=local
Naming Master – CN=NTDS Settings,CN=SERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=temp,DC=local
PDC – CN=NTDS Settings,CN=BDSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=temp,DC=local
RID – CN=NTDS Settings,CN=BDSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=temp,DC=local
Infrastructure – CN=NTDS Settings,CN=BDSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=temp,DC=local

fsmo maintenance: quit
ntdsutil: quit

Remote Desktop (RDP) shortcut keys

Shortcut key Description
CTRL+ALT+HOME Activates the connection bar.
CTRL+ALT+BREAK or one of these shortcuts:

Switches the client between full-screen mode and window mode.
If these shortcuts don’t work, or the keys aren’t available, you can try the following alternative:

  • Press CTRL+ALT+HOME, TAB, TAB, TAB, TAB, TAB, ENTER. This activates the connection bar, and then presses the Restore down button.
CTRL+ALT+END Brings up the Windows Security dialog box for the Remote Desktop Session Host (RD Session Host) (provides the same functionality as pressing CTRL+ALT+DEL on the local computer).

The following table describes the standard Windows shortcut keys and their equivalent Remote Desktop shortcuts that are different. (For example, Ctrl+Z is generally the ‘Undo’ shortcut on both standard Windows and Remote Desktop.)

Table 2
Windows shortcut Remote Desktop shortcut Description
ALT+TAB ALT+PAGE UP Switches between programs from left to right.
ALT+SHIFT+TAB ALT+PAGE DOWN Switches between programs from right to left.
ALT+INSERT Cycles through the programs in the order they were started.
Windows key
ALT+HOME Displays the Start menu.
ALT+SPACE BAR ALT+DELETE Displays the system menu.
ALT+PRINT SCREEN CTRL+ALT+MINUS SIGN (-) Places a snapshot of the active window, within the client, on the clipboard.
PRINT SCREEN CTRL+ALT+PLUS SIGN (+) Places a snapshot of the entire client windows area on the clipboard .


Who is logged on to Windows RDP?

Open a command prompt and execute: query user /server:server-a


Set time on Windows AD Server to NTP

Configure the NTP Server on Windows Server 2008, 2012, 2016 or 2019

On your Windows Server hit the Windows Button and type:

PowerShell and right-click it and select Run as Administrator

Type the following commands

w32tm /config / /syncfromflags:MANUAL

Stop-Service w32time

Start-Service w32time

Of course, you can take any NTP Server that you want. Now verify if the time-server was set correctly on your ServerĀ  by typing: w32tm /query /status

Windows backup drive is full

Windows does not manage backup space well. To manage the retained backups and not fill up the disk, run the following command from an elevated command prompt:

WBADMIN DELETE BACKUP -backuptarget:F: -keepVersions:30


To get the versions:

WBADMIN get versions


To delete the oldest backup version:


Robocopy makes folders disappear

Robocopy may set the new directory to hidden, as that it copies the system attribute of the root folder of the drive over to the new folder. You can prevent the new directory from becoming hidden by adding the /A-:SH option/flag/switch to your robocopy command.