Category: MICROSOFT

  • How to create forward lookup zone in DNS Manager Server 2012.

    How to create forward lookup zone in DNS Manager Server 2012.

    Forward Lookup Zone DNS Manager 2012, The internal DNS servers will grip a non-authoritative copy of our external namespace. In short, with the exception of a few minor tweaks to our Exchange records, we are cloning everything in our external DNS to an inside DNS server. this might only be used by our internal users.

    Create Forward Lookup Zone DNS Manager 2012

    1- On your active directory DNS server, open DNS ManagerRight clicks on Forward Lookup Zone and then choose New Zone.

    create forward lookup zone

    2- Welcome to the new zone wizard, so click next.

    new zone wizard dns manager

    3- Default settings click next.

    forward lookup zone type

    4- Active directory zone replication scope, click next

    create forward lookup zone scope

    5- In the Zone Name field enter your external domain name (my external domain is xpertstec.com) and then click next.

    forward lookup zone name

    6- Click Finish.

    completing new zone wizard

    For more details click here

    Add Host A Record in DNS Manager

  • How to Set up FTP Server on Windows Server 2019

    How to Set up FTP Server on Windows Server 2019

    In this article, I will discuss How to set up FTP Server on Windows. I will be able to describe the method of putting in and configuring the FTP server in Windows Server 2019.

    How to install FTP Server 2019 (IIS)

    1- Open the Server Manager > Left side select Dashboard option and click on Add roles and features under welcome to server manager.

    server manager 2019

    2- Click next.

    add roles and features wizard

    3- Select Role-based or feature-based installation and click on next because of the installation type.

    add role based or feature based

    4- Select the server from the server pool and click on next.

    server 2019 server selections

    5- In the server roles, check the IIS web server role.

    web server iis rele

    6- Click Add features required for Web Server (IIS).

    web server iis add features

    7- After selecting the Web Server (IIS) role, click next.

    web server (iis) server roles

    8- On the features option page, click next.

    windows server features

    9- Click next.

    web server iis role

    10- In the Role Services window, check the FTP server and FTP Extensibility and click next.

    ftp server and ftp extensibility

    11- Review the confirm installation summary and click install.

    ftp server confirmed installation

    12- Server role installation installed successfully. Click close.

    ftp server confirmed installation progress

    Step by step, create FTP users and groups to access an FTP server in 2019

    1- Create a replacement user to access the FTP server > open Server Manager > select tools and click on Computer Management.

    windows server 2019 dashboard

    2- Under computer management > Expand Local Users and Groups > select Users > right-click and select New User.

    computer management new user

    3- Type user name, Description, and Password, select Password never expires, and click create.

    create new user

    4- Now, a new user has been created.

    computer management user

    How to Create a replacement Group for local users and computers.

    1- After creating a user,> Now right-click on Groups under Users and Groups and click new group.

    computer management new group

    2-  In the Group Name field, type the group’s name> a Description and click the Add button to add a user.

    create group users and computers

    3- Enter a character under the object names to select field > click Check Names If Windows users exist > then click Ok.

    enter then object name to

    4- After the user is added > Select Create button to create a group.

    create group users and computers

    Step by step Creates an FTP site in the IIS Manager server 2019.

    1- Open IIS Manager > select Tools and Internet Information Service (IIS) Manager.

    windows server 2019 dashboard

    2- Expand your FTP server, right-click Sites, and Add FTP Site.

    iis manager add ftp site

    3- Enter the FTP site name and path to the directory and click next.

    add ftp site information

    4- type your IP address in the IP Address field, Port, for encryption, select No SSL and click next.

    ftp site binding ssl settings

    5- Under Authorization, select Basic > Specified roles or groups > type your FTP group name for users > choose read and write permissions and click Finish.

    add ftp site authentication

    6- Now, my website is showing in the tree structure of the Windows web server.

    iis manager

    How to add FTP virtual directory and add permission

    1- Open This PC > open Local Disk (C) > open FTP directory > right-click, select New and click Folder to create a subdirectory.

    windows explorer create folder

    2- Type a subdirectory name and press enter.

    configure subdirectory ftp server

    3- Right-click on your FTP site and select Add Virtual Directory.

    iis manager add virtual directory

    4- In the Alias field, type a name and select … to add the user directory path,

    add virtual directory alias

    5- Expand Local Drive (C) > FTP directory > select the subdirectory the one you have created and click ok.

    browse for folder

    6- After adding a virtual directory path, click ok.

    add virtual directory physical path

    7- To configure permissions in IIS Manager > right-click on a subdirectory (for example, Jamil) and select edit Permission.

    iis virtual directory edit permissions

    8- Click on the Security tab and click the Advanced button.

    user properties security

    9- Under advanced security settings and click the Disable inheritance button.

    virtual directory disable inheritance

    10- Select convert inherited permissions into explicit permission on the object.

    iis convert inherited permissions

    11- After enabling inheritance, click ok.

    advanced security settings

    12- Go back to the Security tab and click on the Edit button.

    user properties security

    13- Select the Users group in which all users are located and click the Remove button. After removing all users, only the directory owner has access to it.

    user permissions security

    14- We need to add a Windows user with full access to the directory. Click the Add button.

    user permissions security

    15- Type the username of the virtual directory > click Check Names and click Ok.

    enter the object names to

    16- Next, we need to permit complete control of the guide> Select the created user, check all fields Allow (Permissions), and click ok.

    full user permissions security

    17- Click Ok.

    user permissions security

    How to set up FTP User Isolation

    1- Now, we need to set up an isolation FTP For each user to get to their directory and not have access to other files after connecting to the server and selecting FTP User Isolation.

    ftp user isolation

    2- Select the user name directory and click Apply under the Action menu.

    iis manger ftp user isolation

    How to allow FTP port in windows firewall

    You need to configure the firewall for an external connection to the FTP server.

    1- Open Server Manager > select Tools and Windows Defender Firewall with Advanced Security.

    server manager 2019

    2- Select Inbound Rules and a particular New Rule under the Action menu.

    windows defender firewall with advanced security

    3- Select Predefined, select FTP Server from the drop-down list and click next.

    inbound predefined rule

    4- Check all the predefined rules and click next.

    new inbound predefined rule

    5- Select Allow the connection, and click Finish. For these rules to take effect and restart the server.

    inbound allow connection

    How to Access an FTP Server in Windows Explorer and Internet Explorer

    You can set up an FTP server in many ways, for example, through the standard Windows utility, Explorer, or the FileZilla program.

    1- I am connecting through Windows Explorer. Type FTP address in the address bar and press enter: For example, (my FTP server address is – ftp://10.0.0.50)

    access ftp server in windows explorer

    2- Type user name, Password, check the save password box, and click Log On.

    ftp server log on

    3- You will see the contents of the FTP server folder.

    ftp server access windows explorer

    4- Now, I am connecting through Internet Explorer. Type FTP address in the address bar and press enter: For example, (my FTP server address is – ftp://10.0.0.50).

    Type a user name, Password and click Log On.

    access ftp server in web explorer

    5- You will see the contents of the FTP server folder.

    ftp server access web browser

    How to map an FTP network location or a web share location in File Explorer.

    1- Open This PC in Windows Explorer, and select Add a network location to open the Add Network Location Wizard.

    ftp server map shared folder

    2- Click Next.

    add network location wizard

    3- Select Choose a custom network location and click on Next.

    create this network location wizard

    4- Type your FTP address (Ex. ftp://10.0.0.50) and click next.

    FTP Server location internet or network address

    5- Uncheck Log on anonymously, type your user name provided as your FTP login credentials, and then click next.

    FTP Server add network location username

    6- Type a name for the Network location and click Finish.

    FTP Server add network location name

    7- Check the box Open this network location when I click Finish.

    FTP Server successfully created network location

    8- Type your Password in the password field, click on Save Password and click Log On to test your connection. This is the second last step in FTP setup.

    ftp server login

    9- After setting up FTP Server, you can see the FTP folder.

    ftp server map shared folder

    I think I did my best to Provide valuable information to you about How to set up FTP Server on Windows Server. I assure you that if you read this article entirely, You will be able to set up FTP on Windows Server.

    For more information, click here

  • Outlook can’t connect to Gmail keeps asking for a password.

    Outlook can’t connect to Gmail keeps asking for a password.

    1- Outlook can’t connect to Gmail keeps asking for a password.

    gmail keeps asking for username and password

    2- Logon into your Gmail account and choose Google Accounts.

    gmail google account outlook

    3- Select Security and click on on the App password.

    gmail app password

    4- Type your Gmail account password and click next.

    gmail security password

    5- Select mail and windows computer options and click Generate.

    generate the app password

    6- Copy your app password for windows computer.

    gmail app password for windows computer

    7- Paste a new generated app password in the password box and click ok.

    gmail not working with outlook

    8- Congratulations on all the tasks completed correctly and click close.

    outlook test account settings successfull

    For more details click here

    How to Setup Gmail in Microsoft Outlook

  • How to Setup Gmail in Microsoft Outlook

    How to Setup Gmail in Microsoft Outlook

    In this guide, I am going to setup Gmail in outlook 2007. (POP3 and IMAP)

    Gmail Account Settings

    1- First we need to log in with the Gmail account to configure outlook settings and select Settings and then Settings options.

    gmail settings

    2- Select the Forwarding and POP/IMAP tab, select enable POP, IMAP options and save changes.

    gmail forwarding and pop imap

    IMAP Gmail Outlook

    Gmail IMAP Account Setup in Outlook.

    3- Open Outlook 2007 and click on the tools and then select account settings.

    outlook account settings

    4- Select New.

    new email account for gmail

    5- Select the Microsoft Exchange, POP3, IMAP, or HTTP option and then click on next.

    add new gmail account to outlook

    6- Select Manually configure server settings or additional server types so, click on Next.

    auto account setup outlook

    7- Select Internet E-mail, Connect to POP or IMAP server to send and receive e-mail messages and then click next.

    choose email service outlook

    8- Under user information, so type your name and E-mail Address,

    Under Server Information,

    Account Type: Select IMAP

    Incoming mail server: imap.gmail.com

    Outgoing mail server (SMTP): smtp.gmail.com

    Under login information, so type username, password and then click More Settings.

    outlook internet email settings

    9- Select Outgoing Server options, and check the box My outgoing server (SMTP) requires authentication.

    outlook outgoing server smtp

    10- Now select Advanced options and verify the following.

    Incoming server (IMAP): 993 (SSL)

    Outgoing server (SMTP): 465 (SSL)

    Click OK.

    incoming server imap 993

    11- Now we need to test Accounts settings, so click on Test Account Settings…

    outlook test email account

    12- IF Gmail keeps asking for a password.

    outlook gmail username and password

    Outlook can’t connect to Gmail keeps asking for password Click here

    Paste a new generated app password in the password box and then click ok.

    outlook gmail username and password

    13- Congratulations on all the tasks completed correctly, then click close.

    outlook gmail username and password

    14- Click next.

    outlook internet email settings

    15- Click finish.

    outlook successfully configured

    16- Click close.

    outlook account settings

    POP3 Gmail Outlook

    Gmail POP3 account Setup in Outlook

    1- Open Outlook 2007 and click on the tools and select account settings.

    outlook account settings

    2- Select New.

    new email account for gmail

    3- Select the Microsoft Exchange, POP3, IMAP, or HTTP and click on Next.

    add new email account to outlook

    4- Select the option, Manually configures server settings or additional server types and click on Next.

    auto account setup outlook

    5- Select Internet E-mail, Connect to POP or IMAP server to send and receive e-mail messages and then click next.

    choose email service

    6- Under user information, type your name and E-mail Address,

    Under Server Information,

    Account Type: Select POP3

    Incoming mail server: pop.gmail.com

    Outgoing mail server (SMTP): smtp.gmail.com

    Under logon information, type username, password and click More Settings.

    outlook internet email settings

    7- Select Outgoing Server options, and check the box My outgoing server (SMTP) requires authentication.

    outgoing server smtp

    8- Now select Advanced options, so verify the following.

    Incoming server (IMAP): 995 (SSL)

    Outgoing server (SMTP): 587 (TLS)

    Click OK.

    gmail POP3 port for outlook

    9- Now we need to test Accounts settings, click on Test Account Settings…

    outlook test email account

    10- Gmail keeps asking for password

    gmail pop3 account password


    Outlook can’t connect to Gmail keeps asking for password Click here

    Paste a new generated app password in the password box and then click ok.

    outlook gmail username and password

    11- Congratulations on all the tasks completed correctly and click close.

    outlook gmail username and password

    12- Click next.

    outlook internet email settings

    13- Congratulations message, so click finish.

    outlook successfully configured

    14- Click close.

    outlook account settings

    For more details click here

    Read more: Gmail is marking emails as spam.

  • How to create and Manage Users, Groups in Windows Server 2019.

    How to create and Manage Users, Groups in Windows Server 2019.

    In this blog, I will create new users and groups.

    How to Create New Users

    1- Open Active Directory Users and Computers > right-click Users > select New and select User.

    create new user in active directory

    2- Type first name and last name and then a user logon name for the individual and click next.

    create new user in ad user

    3- Type Password and Confirm Password, I selected Password never expired or you can choose any of these options click Next.

    create new user in ad user

    4- Click finish.

    create new active directory user

    5- Right-click on the newly created user and select properties. (here is the description of the user, their office, their telephone number, their email, their address information, etc.

    active directory user properties

    Copy Users

    6- To copy the user account right-click on it and select Copy.

    active directory users and computers

    7- type first name > Last name > user logon name and click next.

    create new active directory user

    8- Type Password and Confirm Password, I selected Password never expired or you can choose any of these options click next.

    create user active directory

    9- Click Finish.

    copy object user

    10- To delete a user account right-click on it and select delete.

    active directory users and computers

    Create an Active Directory Global Security Group

    11- Open Active Directory Users and Computers. Expand your local domain > Right-click on users > select New and then select Group.

    create group active directory

    12- Type the name of the new group. Use a reputation that you simply can easily accompany the role or service that you’re creating.

    In the Group scope option, select Global. In Group type, choose Security.

    Click OK.

    Repeat steps for all remaining groups.

    security group active directory

    13- How to Create an Active Directory Global Security Group with PowerShell

    Open PowerShell with administrative privileges.

    We can create a security group with actual values replaced. Here I’m creating the IT Group.

    New-ADGroup “IT” -GroupScope Global -GroupCategory Security

    By default, the security groups is going to be created in Users field.

    After creating a security group you can add members to a security group. I am adding (user and user2) Add-ADGroupMember “IT” -Members user,user2

    new adgroup powershell command

    For more information on how to create users and groups in windows server 2019

  • Create Delete and Manage Organizational Unit Window Server 2019

    Create Delete and Manage Organizational Unit Window Server 2019

    In this blog, I will explain how to create, delete and manage the Organizational Unit in Active Directory.

    Create an Organizational Unit

    How to Create an Organizational Unit (OU) in the Active Directory Domain Controller

    1- Open Server Manager and select the Dashboard and select the Tools tab and click Active Directory Users and Computers To create OU in ADctive Directory.

    server manager 2019

    2- In the Active Directory Users and Computers window right click on your Domain. (My domain name is xpertstec.local). So click new and then select the Organizational Unit.

    create organizational unit in active directory

    3- Type OU name in the name box. Select protect the container from accidental deletion and then click on OK.

    create a new organizational unit

    4- So you can see that the OU (Sales) is created.

    active directory users and computers

    Creating OUs in an Active Directory with PowerShell

    5- You can create new ou in the Active Directory with PowerShell command. So the below command will create an OU named “Account” in the Domain Controller.

    New-ADOrganizationalUnit “Account”

    active directory users and computers

    6- If you want a different OU LDAP path, specify its distinguished name using the Path cmdlet parameter.

    New-ADOrganizationalUnit “Manager” –Path “OU=Account,DC=xpertstec,DC=local”

    active directory users and computers

    How to Delete the Organizational Unit.

    Manage an organizational unit

    7- For deleting an OU, first we need to disable Protection from accidental deletion. So select the View tab and then select Advanced Features.

    active directory advanced features view tab

    8- Right-click on OU (Account) and then select Properties.

    active directory us properties

    9- In the Account properties and then select the object tab and Uncheck Protect object from accidental deletion and then click on OK.

    protect object from accidental deletion

    10- Select the View tab and then select Advanced Features.

    active directory advanced features

    11- Right-click on OU (Account) and then select Delete.

    active directory users and computers

    12- Are you sure you want to delete the OU named ‘Account’ and click on Yes.

    delete the ou

    13- Now we can verify that Organizational Unit (Account) is deleted.

    active directory users and computers

    For more information on how to create, delete and manage OU click here

  • How to Backup Restore and Recover an Exchange Server 2019 Database.

    How to Backup Restore and Recover an Exchange Server 2019 Database.

    In this blog, I will be able to configure database backup and restore the mailbox database and recover the whole database and emails using Windows Server Backup.

    First of all, we’d like to install the Windows Server Backup role.

    1- Open powershell and type the below command to enable the windows server backup role.

    Install Windows Server Backup

    Install-WindowsFeature windows-server-backup

    install windows server backup powershell

    2- Windows Server Backup role start the installation.

    windows server backup powershell process

    Exchange 2019 Database Backup and Restore

    3- Select windows search bar and type Windows Server Backup and then select to start the Backup Process.

    windows server backup desktop

    4- After opening windows server backup and under the action menu and then select on Backup once.

    exchange 2019 windows server backup local

    5- In the backup options so select Different options and then click on the next.

    windows server backup backup options

    6- Select full backup (recommended) and then click on the Next button.

    windows server backup configuration

    7- Select Local Drives and then click on the Next button.

    windows server backup destination type

    8- Select a volume where you want to store the backup and then click on the next.

    windows server backup destination type

    9- After confirmation and then click the Backup button to start the back up.

     windows server backup confirmation

    10- Now the Backup process successfully completed, so click on close.

    windows server backup progress

    Restoring the Entire Mailbox Database.

    11- Login to Exchange admin center and select the Servers tab and select the database and select … and then click on Dismount.

    exchange 2019 dismount database

    12- Open your mailbox database location and then right click on the mailbox database 111625473 and select on rename.

    C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1116525473.

    exchange 2019 renaming database

    Are you sure you want to change it?

    13- Mailbox database 111625473.edb.old and click on yes.

    exchange 2019 rename database

    14- Now open windows server backup and under the action menu and click on recovery.

    windows server backup local

    15- Select this server (Exch2K19-1) and click on next.

    restore database getting start

    16- Select the backup date you would like to backup and click on next.

    windows server backup date

    17- Select Applications and click on the Next button.

    windows server backup recovery type

    18- Under applications and select the exchange and click on next.

    windows server backup select application

    19- Specify recovery options so, select recovery to original locations and click on the next.

    specify recovery options

    20- Exchange Server database Confirmation so click on the recovery.

    server backup confirmation

    21- Now the Backup server Recovery in progress.

    server backup recovery progress

    22- Recovery Process completed and click on close.

    recovery progress

    23- After a successful recovery log in the outlook web app.

    outlook web app

    Now I have deleted the mailbox database and log files.

    Because I want to recover the mailbox database.

    24- Select delete database and log files and select delete.

    C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1116525473.

    windows explorer delete mailbox database

    25- After deleted the mailbox.

    Exchange database location

    Follow the steps from 14 to 22 to restore the database.

    Now Exchange database successfully recovered and database mounted.

    exchange admin center

    For more details how to backup and recover exchange 2019 database

  • You do not have sufficient privileges to delete ‘OU’, or this object is protected from accidental deletion.

    You do not have sufficient privileges to delete ‘OU’, or this object is protected from accidental deletion.

    You do not have sufficient privileges to delete the OU (Sales). The organizational unit or this object is protect from accidental deletion.

    1- Active Directory domain services error delete organizational unit

    Sufficient privileges to delete ou error

    2- In the Active Directory Users and Computer and select the View tab and then choose Advanced Features.

    active directory advanced features

    3- Right click on the OU then one you want to delete and then select properties.

    active directory users and computers

    4- Select the Object menu and uncheck Protect object from accidental deletion and then click ok.

    pufficient privileges protect object from accidental deletion

    5- Now you can go back and delete the OU.

  • How to Migrate Mailbox to Different Database in Exchange Server 2019.

    How to Migrate Mailbox to Different Database in Exchange Server 2019.

    In this blog, I will migrate the user’s mailboxes from one mailbox database to a different database.

    Migrate Mailbox to Different Database

    1- Open Exchange Admin Center and select the Servers tab and select the database tab so we can check out the mailbox databases on the Server.

    exchange admin center server

    2- Select the recipient’s options and Select the migration tab and select the + button and select Move to a different database so, the mailboxes move to the different databases.

    exchange admin center migration

    3- Under select the users you want to move and click the + icon.

    new local mailbox move exchange 2019

    4- Select the users that you want to move and click the add button and click on ok.

    new local mailbox move users

    5- Click on next.

    new local mailbox move exchange 2019

    6- Under the Target Database, so click on browse.

    new local mailbox move configuration

    7- Select the database where you want to move the users and click on add so click on ok.

    local mailbox migration database

    8- After selecting the target database and click on next.

    new local mailbox migration

    9- Click on new to start user’s migration.

    new local mailbox migration

    10- Migration completed, so click on view details.

    exchange 2019 admin center migration

    11- so now you can check to move mailbox details.

    local mailbox migration batch users

    12- Status for all batches and click on close.

    local mailbox migration status batches

    13- The status report of migration Exchange 2019 will be sent to defined recipients.

    migration users has completed

    Moving Exchange Mailboxes to Another Database exchange powershell command.

    14- to move user mailbox to New-MoveRequest
    To create an area move request for a selected user’s mailbox, run the subsequent command

    New-MoveRequest -Identity [email protected] -TargetDatabase EXCHDB -BadItemLimit 100

    new moverequest users command

    For more details click Here

    Create a New Mailbox Database Exchange 2019.

  • How to move database path and log folder path in Exchange Server 2019.

    How to move database path and log folder path in Exchange Server 2019.

    We will use the Exchange Management powershell command to move the database path and log folder path in Exchange Server 2019.

    1- So, we will be using Move-Databasepath Cmdlet

    Move-Databasepath “DB01” –EdbFilepath “C:\Database\DB01.edb” –LogFolderpath “C:\Database”

    Type Y and Y.

    Note: It will dismount the database temporarily, so it will cause you downtime.

    buy doxycycline online https://lifepractice.net/wp-content/uploads/2022/08/png/doxycycline.html no prescription pharmacy

    move database path command

    2- Need to Verify it has been moved Successfully so, type the following command.

    Get-MailboxDatabase “DB01” | FL Name,Path

    get database path command

    3- Log on to the Exchange admin center and select the servers tab and select the database and select the DB01 database and click on edit.

    moving database path exchange 2019

    4- So, you can see the New Database Path.


    move database path

    For more details click here Move database and Logs Path

    Create new Mailbox Database Exchange 2019

  • How to Configure Database Copies in Exchange Server 2019

    How to Configure Database Copies in Exchange Server 2019

    In this blog, we will take a look at how to configure database copies in the new DAG.

    At this stage, we have a database availability group with two Mailbox servers and one database.

    Now we want to configure a database copy so, it will replicate to the 2nd DAG member.

    Now we need to verify the same storage path exists on the server we are adding the database copy to.

    Add a mailbox database copy

    Exchange Database File Path – E:\Mailbox\EXCHDB\EXCHDB.edb
    Exchange Log Folder Path – F:\Mailbox

    E: and F: created on the second exchange server.

    1- Log on to Exchange Admin Center and select the Servers tab and select Databases and select “…” icon and select Add database copy.

    database copy exchange 2019

    2- So under the specified mailbox server click Browse.

    add mailbox database copy exchange 2019

    3- Select the mailbox server to want to add a copy to and click on ok.

    add mailbox database copy select server

    4- In the Action preference number select 2 and click on the Save button to add the database copy.

    mailbox database copy exchange 2019

    5- Now you can see the file paths on the server that you are adding the database copy to and you will also see the seeding files as the database and the transaction log files are copied across.

    windows explorer database copies

    6- Because a small database will not take more than a few minutes to finish saving. Larger databases or slower networks will take long. After saving completed successfully click on close.

    database copies completed successfully

    When the operation complete the second server is going to be hosting a passive database copy that’s maintained, so far through a process of continuous replication from the active database copy.

    7- Now you will see the two servers have copies of the database.

    create database copy exchange 2019

    8- So now type “Get-MailboxDatabaseCopyStatus” to check the database copy health.

    get mailboxdatabasecopystatus powershell command

    9- So Now type “Get-MailboxDatabaseCopyStatus “EXCHDB” | ft -auto” to check the database status.

    get mailboxdatabasecopystatus powershell command

    For more information click Here

  • How to Configure Database Availability Group in Exchange Server 2019

    How to Configure Database Availability Group in Exchange Server 2019

    In this blog, we’ll go through the installation of Exchange 2019 Database Availability Group with two-node members. The DAG will have a Primary network as well as one replication network. The file share witness is another member server in the domain that has no Exchange 2019 server roles installed. I am using my domain controller as a file share witness server.

    In my environment

    SRV2019-DC (File share witness server)

                        10.0.0.20

    Exch2K19-1 (Node 1)

                       10.0.0.24

                      192.168.0.11

    Exch2K19-2 (Node 2)

                       10.0.0.25

                     192.168.0.12

    Database Availability Group Configuration Exchange 2019

    First, we need to prepare the Environment for the DAG

    1- I have two networks one Primary and one Replication for my DAG replication for all the nodes which I am planning to add in DAG.

    network connection

    2- Make sure these networks are in a Different Class of IP Address.

    Primary Network

    internet protocol ipv4 properties

    3- Replication Network.

    internet protocol ipv4

    Replication IP Address should ping with other replication IP Address – So that Database Availability Group replication will happen through these Networks.

    How to Create a Computer Account

    We need to create a computer account to pre-stage the Cluster Cluster Name Object.

    4- Open active directory users and computers > expand your local domain > select computers > right side under descriptions right-click > click New and click Computer Account.

    active directory users and computers

    5- Type a DAG Name and click ok.

    create computer account active directory

    6- Right-click on dag computer name and select Disable Account.

    active directory computer account

    7- Click Yes.

    disable computer account active directory

    8- Click OK.

    active directory object disabled

    9- Give Full Control for Exchange Trusted Subsystems.

    Right-click on DAG computer name and select properties.

    active directory computer account

    10- Select security tab > Select Exchange Trusted Subsystem > select full control and click apply.

    computer account properties security

    11- Now under security click the Add button.

    computer account properties security

    12- Select Object Types.

    enter the object name to

    13- Select Computers and click ok.

    enter the object name type

    14- Type your First node name > click check names and click ok.

    enter the object names to

    15- First Node Computer account has been added > select full control box to give permission and click apply.

    computer account properties security

    16- Under the security tab, click the add button again and Type second node computer name > click check names and click ok.

    enter the object names to

    17- Give full control > click Apply for the Permissions and click ok.

    computer account properties security

    Now we are creating a DAG in Exchange Server 2019.

    The Exchange Trusted Subsystem should be a member of the local Administrator group on the specified witness server.

    I am using my active directory server as a witness server.

    18- Open active directory users and computers > expand domain controller > select Microsoft Exchange Security Group and then right Exchange Trusted Subsystem and select properties.

    active directory users and computers

    19- Select Member of and click the add button.

    exchange trusted subsystem

    20- Type administrator > click check names and click ok.

    enter the object names to

    21- Click OK.

    exchange trusted subsystem properties

    Create Database Availability Group

    22- Login to Exchange Admin Center > select Servers > select Database Availability Groups and select + add button.

    exchange admin center 2019

    23- Type DAG name > Witness Server Name > Witness Location > Add Two DAG IP Address (Static IP for the DAG)

    1 for Primary Site and 1 for DR site

    If you have different subnet or different classes of IP Addresses on either Sites.
    Have Two IP addresses for the DAG so that DAG resource can be online while failover on either site If you have only one Subnet then you can have only one IP Address for the DAG.

    create and configure database availability group

    Database Availability Groupe Membership

    24- Now my DAG Configuration is Ready and Add a member to it > Select Manage DAG Membership.

    exchange admin center 2019

    25- Select the + add icon.

    manage database availability group membership

    26- Select first node > click add and click ok.

    database availability group add member server

    27- Select Save.

    manage database availability group membership

    28- First node member completed successfully and click close.

    database availability group server successfully added

    29- Now you can add the 2nd DAG member > again Select Manage DAG Membership.

    configure database availability group exchange 2019

    30- Select the + Add icon.

    add member server database availability group exchange 2019

    31- Select 2nd node > click the add button and click ok.

    database availability group add member servers

    32- Click Save.

    manage database availability group membership servers

    33- 2nd node completed successfully and click close.

    database availability group server successfully added

    34- Now both the nodes successfully added.

    created database availability group exchange 2019

    Like and subscribe our YouTube channel to watch updated videos.

    For more details click here