Category: Microsoft Windows Server

  • How to create new mail Exchange (MX) record in DNS Manager Server 2012.

    How to create new mail Exchange (MX) record in DNS Manager Server 2012.

    Create a new Mail Exchange MX Record in DNS Manager Microsoft Windows Server 2012

    Mail Exchange MX Record DNS Manager 2012

    Open DNS Manager in Windows Server 2012

    1- Expand Forward Lookup Zones and select your external domain (xpertstec.com) On the right side imply place right-click and then select New Mail Exchange (MX).

    mail Exchange MX record dns

    2- So, click browse.

    new mail exchange mx record

    3- Select your DNS server > Forward lookup zones > your external domain (xpertstec.com) > select mail and then click ok.

    dns manager record type

    4- Type your exchange server name and click ok.

    create new mail exchange mx record

    5- After creating the New mail Exchange (MX) record.

    dns manager server 2012

    For more details click here

  • How to create alias cname record in DNS Manager Server 2012

    How to create alias cname record in DNS Manager Server 2012

    Create Alias CNAME Record in DNS Manager Microsoft Windows Server 2012.

    Alias CNAME Record DNS Manager 2012

    Open DNS Server manager.

    1- Expand Forward Lookup Zones and select your external domain (xpertstec.com) On the right side imply place right-click and select New Alias (CNAME).

    dns manager server 2012

    2- within the Name, field A name (autodiscover) for your certificate and then click on browse.

    create alias cname record

    3- Select your DNS server > Forward lookup zones > your external domain (xpertstec.com) > select mail and then click ok.

    new alias cname dns

    4- So, click ok to close the windows.

    create alias cname record dns

    For more information click here

  • How to Add Host A Record in DNS Manager Server 2012.

    How to Add Host A Record in DNS Manager Server 2012.

    Add Host A Record in DNS Manager Microsoft Windows Server 2012

    Host A Record DNS Manager

    Open DNS Manager in windows server 2012

    1- Expand Forward Lookup Zones and select your external domain (xpertstec.com) On the right side imply place right-click and then select New Host (A or AAAA).

    add host a record in dns server

    2- In the Name, field type the first name on your certificate. within the IP address field type the interior IP of your Exchange server. for instance, it is 10.0.0.24 Click Add Host

    add host a record in dns manager

    3- The host record created successfully and then click ok.

    host record created

    For more details click here

  • 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

  • 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

  • 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.

  • Verification of Prerequisites Domain Controller promotion Failed Windows Server

    Verification of Prerequisites Domain Controller promotion Failed Windows Server

    In this blog, I will solve active directory domain configuration error “Verification of prerequisites” for Domain Controller promotion failed…..

    Verification of prerequisites

    verification of prerequisites failed error

    1- In the Server Manager dashboard and select the tools tab and then choose Computer Management.

    server manager 2012

    2- Under the Computer management expands Local Users and Groups. So select Users and right click on the administrator account and then select Set Password.

    computer management users

    3- So click on Proceed.

    set password for administrator

    4- Then type the administrator account password and click ok and ok.

    local users and groups password

    5- Now open the windows PowerShell

    Type cd\ press enter

    and then type net user administrator /passwordreq:yes and hit enter.

    The command completed successfully.

    net user administrator command

    6- Now click on Rerun perquisites check.

    rerun prerequisites check

    7- All prerequisite checks passed successfully and click Install.

    active directory prerequisites check

    For more details click here

  • Active Directory Migration From Windows Server 2008 r2 to 2019

    Active Directory Migration From Windows Server 2008 r2 to 2019

    Active Directory Migration – In this blog, we’ll move the roles on our Server2008 (Windows Server 2008 R2 SP1) AD server to Server2019 (new Windows Server 2019 Standard).

    Before proceeding to migrate an Active Directory from Windows Server 2008 R2 to Windows Server 2019, you want to first install Windows Server 2019 on a replacement machine which can then be promoted to Active Directory Server 2019.

    Install Windows Server 2019.

    How to Install Windows Server 2019, Click here

    Rename Windows Server 2019.

    How to rename Windows Server 2019, Click here

    Configure the IP Addresses in Server 2019.

    The next step is to configure the IP and the DNS Addresses on the new server.

                               Windows Server 2008 R2           Windows Server 2019

    Computer Name:             Server2008                            Server2019

    Domain Name:              xpertstec.local

    IP Address (Static):          10.0.0.20                                 10.0.0.22

    Subnet Mask:                255.255.255.0                            255.255.255.0

    Default Gateway:            10.0.0.1                                   10.0.0.1

    Preferred DNS Server:   10.0.0.20                                 10.0.0.20

    Active Directory Migration 2008

    1- First, let’s have a glance at my environment. we have a domain controller xpertstec.local which is installed on Windows Server 2008 R2.

    Raise the Forest Functional Levels and Domain Functional Levels in Windows Server 2008 R2.

    active directory users and computers

    2- Click Start and select Administrative Tools and then Active Directory Domains and Trusts.

    server 2008 administrator tools

    3- Right click on Active Directory Domains and Trusts and choose Raise Forest Functional Level.

    server 2008 domains and trusts

    4- Select an available forest functional level “Windows Server 2008 R2 and click Raise.

    server 2008 raise forest functional level

    5- Now click on OK.

    server 2008 raise the forest functional level

    6- The forest functional level was raised successfully so click on ok.

    server 2008 functional level raised successfully

    Now Raising the Function Level of the Domain

    7- Right click on the Domain name (xpertstec.local) and click Raise Domain Functional Level.

    server 2008 raise domain functional level

    8- It has already got raised the Domain Functional Level to Windows Server 2008 R2 so click on close.

    server 2008 current domain functional level

    9- Now type the Netdom query fsmo command to check which server has installed FSMO roles.

    netdom query fsmo command

    10- DNS Manager.

    dns manager server 2008

    Active Directory Migration Steps

    Join Windows Server 2019 to an Active Directory Domain.

    How to Join Windows Server 2019 to an Active Directory Domain, Click here

    Now sign in Windows Server 2019 with the domain administrator account.

    Create Additional Domain Controller (ADC) In Windows Server 2019

    How to Create Additional Domain Controller (ADC) In Windows Server 2019 so Click here

    11- Now have a look at my active directory Domain Controllers  Server2008. We can now see that our server Server2019 is in the domain role.

    active directory users and computers

    Transferring the Flexible Single Master Operations (FSMO) Role

    I have a Windows Server 2008 Domain Controller (server2008) and have a further Windows Server 2019 domain controller (Server2019). To finish the migration. We’d like to transfer 5 FSMO roles to the new domain controller.

    1. Schema Master
    2. Domain Naming Master
    3. PDC
    4. RID pool manager
    5. Infrastructure Master

    12- To find which server is currently holding FSMO then run the following command. netdom query fsmo

    netdom query fsmo

    The FSMO roles are currently with the Windows Server 2008 R2 Active Directory domain controller (server2008)

    Using Active Directory Schema snap-in to transfer the Schema Master role 13- Open Command Prompt in administrative mode and type regsvr32 schmmgmt.dll and then click on ok.

    regsvr32 schmmgmt

    Operations Master Roles Tranfer

    14- On the Server2019 server, open Active Directory Users and Computers, right click domain xpertstec.local and then click Operations Masters.

    active directory 2019 operations masters

    15- On the Operations Masters, Select the RID tab and select the Change button.

    server 2019 operations masters rid

    16- Now click Yes.

    active directory 2019 operations masters role

    17- The operations master role was successfully transferred so click ok.

    active directory 2019 transferred roles

    18- Now you can verify that Operation master now transferred to our new Server Server2019.xpertstec.local

    active directory 2019 operations masters RID

    19- On the Operations Masters, select the PDC tab and then click the change button.

    active directory 2019 operations masters pdc

    20- Now click Yes.

    active directory 2019 transfer roles

    21- The operations master role was successfully transferred, then click ok.

    active directory 2019 operations masters transferred

    22- Now you can verify that Operation master now transferred to our new Server Server2019.xpertstec.local

    active directory 2019 operations masters pdc

    23- On the Operations Masters, select the Infrastructure tab and click on change button.

    active directory 2019 operations masters infrastructure

    24- Then click Yes.

    active directory 2019 transfer roles

    25- The operations master role was successfully transferred, then click ok.

    active directory 2019 operations masters transferred

    26- Now you can verify that Operation master now transferred to our new Server Server2019.xpertstec.local

    active directory 2019 operations masters infrastructure

    27- Open Server Manager and select Tools and then click Active Directory Domains and Trusts.

    windows server 2019 dashboard tools

    28- Right click on Active Directory Domains and Trusts and then select change active directory domain controller.

    domains and trust change active directory domain controller

    29- Select this Domain Controller or AD LDS Instance and click on the domain controller that you want to be the schema master role and then click ok.

    change directory server 2019

    Transfer Domain Master Role

    30- Right click Active Directory Domains and Trusts and then select Operations Master.

    domains and trusts operations masters

    31- Now click on Change

    server 2019 domain naming operation master

    32- then click Yes.

    domains and trusts role transfer

    33- The operations master was successfully transferred then click ok.

    domains and trusts role transferred

    34- Confirmed the domain naming operation master role and click on Close.

    domain naming operations master

    35- Now we need to move our Schema Master role, so we need to register the schmmgmt.dll open command prompt and run the command below.

    Regsvr32.exe C: \ windows \ system32 \ schmmgmt.dll

    The process was completed successfully so click on ok.

    server 2019 regsvr32 command

    36- Open Microsoft Management Console mmc type mmc and then hit enter.

    mmc command

    Console

    37- Select the File tab and then select Add/Remove Snap-in.

    server 2019 add remove snap-in

    38- From the left side, under Available Snap-ins, Select Active Directory Schema, click Add button and then click ok.

    server 2019 add remove snap-in

    39- Right click Active Directory Schema, and then select Change Active Directory Domain Controller.

    server 2019 console root

    40- Select this Domain Controller or AD LDS Instance, click on the domain controller that you want to be the schema master role and then click on ok.

    change directory server 2019

    41- Now click OK.

    active directory schema snap-in

    42- In the console1, right click Active Directory Schema (Server2019.xpertstec.local) and then select Operations Master.

    change directory schema operations master

    43- Select the Change button.

    change directory change schema

    44- then click Yes.

    change directory schema master

    45- The active directory schema Operations Master successfully transferred then click ok.

    change directory change schema master

    46- Now confirm your current schema master which is Server2019 and then click Close.

    change directory schema master 2019

    47- Now run the Netdom query fsmo command, so we can now see that our roles have been moved to our Windows Server 2019 Additional Domain Controller.

    netdom query fsmo command

    48- Now change the DNS address of our additional Domain Controller server to be the IP address of our Windows Server 2019 Domain Controller server.

    network protocol properties

    After completing Active Directory Migration, Now the ultimate step is to get rid of (uninstalling) server2008 Active Directory domain controller.

    Remove Active Directory Domain Controller 2008

    49- Open command prompt Type dcpromo and then hit Enter.

    command prompt dcpromo

    50- Click Next.

    run dcpromo server 2008

    51- The Active Directory domain controller has the global catalog service, make sure your primary DC also has the service enabled and click on ok.

    active directory install wizard

    52- Confirmed that the delete this domain, because this server is the last domain controller in the domain, is UNCHECKED and then click next.

    active directory installation wizard

    53- Type a password for the new Administrator account on this server and click next.

    active directory installation password

    54- Review the remove active directory domain services Summary and click Next.

    active directory 2008 installation wizard

    55- Check the Reboot on completion box to restart the server after the service has been removed

    active directory setup dcpromo

    56- After rebooting server2008 DC. Now log in with the local administrator account and then open Server Manager.

    server 2008 start menu

    57- In Server Manager click Roles under Roles Summary and click Remove Roles.

    server manager 2008

    58- Remove active directory domain controller 2008 Roles wizard, click next.

    server 2008 remove roles wizard

    59- Uncheck Active Directory Domain Services and DNS Server box and click next.

    server 2008 remove roles dns

    60- Click Remove.

    server 2008 confirm remove roles

    61- Now click Close.

    server 2008 remove results

    62- Do you want to restart now so click on Yes.

    server 2008 uninstalling domain

    63- After rebooting server Log back to server2008, active directory domain services removal succeeded and click Close.

    server 2008 removal result

    64- Disjoin the machine from the domain

    Join to Workgroup

    In the Server Manager, under Server Summary and click Change System Properties.

    server manager 2008

    65- On the System Properties and click the change button.

    server 2008 system properties

    66- Select Workgroup type in a workgroup name and then click on ok.

    server 2008 name workgroup

    67- After leaving the domain Warning message so click ok.

    server 2008 computer name change

    68- Welcome to the workgroup and click on ok.

    server 2008 welcome workgroup

    69- Click OK to restart the server.

    server 2008 how to rename

    70- System Properties, click Close.

    system properties

    71- Click Restart Now or Restart Later and shut down this server.

    rename server restart now

    Like and subscribe our YouTube channel to watch updated videos.

    For more information click here

  • How to configure and Manage the Quorum in Failover Clustering

    How to configure and Manage the Quorum in Failover Clustering

    This blog, we will configure a basic 2-node cluster (Share Quorum Failover Cluster Configuring), where we have two servers (SRV2019-1 and SRV2019-2) running Windows Server 2019 and a Windows Server 2019 Domain controller (SRV2019-DC). It also assumes that SRV2019-1 and SRV2019-2 will communicate with each other over two network connections; I have labeled Primary and Cluster.

    Add the Failover Clustering feature on both of the servers you need to add to the cluster.

    Open the Server Manager Dashboard and choose Add roles and features.

    1- User the Following PowerShell command to enable failover clustering and management Toole Node1 (SRV2019-1)

    Install-WindowsFeature -Name Failover-Clustering –IncludeManagementTools

    enable failover cluster powershell command

    Adding the Failover Clustering Feature in Node2 (SRV2019-2).

    2- Open server manager, dashboard and then click Add roles and features.

    server manager dashboard 2019

    3- Click Next.

    server 2019 add roles and features wizard

    4- Select the role-based or feature-based installation option and then click on next.

    add roles based or feature based

    5- Select a server from the server pool on which you want to enable the failover cluster feature and then click next.

    server 2019 server selection

    6- Server Roles page so click next.

    server roles and features

    7- On the Features, page selects the Failover Clustering box.

    install failover cluster features server 2019

    8- Click Add feature the feature required for the Cluster.

    server 2019 add feature

    9- After adding Failover Clustering features so click next.

    install failover cluster features

    10- Click Install to start the installation.

    server 2019 confirm installation

    11- Failover cluster installation completed and then click Close.

    server 2019 installation selection

    After enabling the Failover Cluster on both servers (SRV2019-1 and SRV2019-2), on your SRV2019-1

    Share Quorum Failover Cluster Validate Configuring

    12- Open server manager, select tools and then select Failover Cluster Manager.

    server manager 2019

    13- After opening Failover Cluster Manager under the action menu click on Validate Configuration.

    failover cluster manager 2019

    14- Validate a Configuration Wizard open and then click next.

    validation configuration wizard

    15- Select Servers or Cluster options and click the Browse button.

    validation select servers or cluster

    16- Select the servers you want to cluster so, in my setup I selected (SRV2019-1 and SRV2019-2).

    enter the object name to select

    17- After selecting Servers, click on next.

    validation select servers or cluster

    18- Select Run all tests (recommended) and then click next.

    cluster validation testing options

    19- Cluster validate confirmation so click next.

    cluster validation confirmation

    20- Now default Running Process.

    cluster validating

    21- Summary options, so click View Report.

    cluster validation summary

    22- Click close and then click Finish.

    failover cluster validation report

    Failover Cluster Configuration

    23- Once Validation completed, Select Create Cluster.

    failover cluster manager 2019

    24- Click Next.

    create cluster wizard

    25- Click the Browse button.

    create cluster select servers 2019

    26- Type both node names and click check names and then click ok.

    enter the object names to select

    27- After selecting nodes so click next.

    create cluster select servers 2019

    28- Type your cluster name in the cluster name box (XTCLUSTER) and pick an IP address that will be associated with this name in DNS. This name is to manage your cluster Once you create this access point a new computer object will be created in AD with this name and a DNS A record will be created with this name and IP address and click next.

    access point for administering the cluster

    29- On the confirmation screen you’ll see the name of the cluster and two nodes and IP address you chose and uncheck Add all eligible storage to the cluster and then click on next.

    create cluster wizard confirmation

    30- You have successfully completed the create cluster wizard, now click View Report to check out any warnings.

    create cluster wizard summary

    31- There may be some warnings. In my case, the warnings are probably related to the quorum configuration.

    create cluster wizard view report

    We have no shared storage; we’ll not be employing a Node and Disk Majority quorum as suggested. Instead, we’ll use and Node and File Share Majority quorum.

    A File Share Witness (Share Quorum Failover Cluster Configuring) must be configured on a server that’s not a part of the cluster. A file share witness may be a basic file share that the cluster computer name (XTCLUSTER in my step) has read/write access. I’m getting to create a file share on my SRV2019-DC and provides XTCLUSTER read/write access thereto.

    Share Disk Configuration

    32- Open server manager in SRV2019-DC, Left side select file and storage services and select shares under volume click tasks and then click New Share.

    file and storage sevices

    33- Select share profile (SMB share quick) and then click next.

    smb share quick

    34- Share Location, select by volume and then click Next.

    smb share location select volume

    35- Type a share name, share descriptions and then click next.

    smb file share specify share name

    36- Under other settings, uncheck Allow caching of share and click Next.

    smb file configure share settings

    37- In Permissions options select customize permissions.

    smb file share customize permissions

    38- Advanced Security Settings for FSW, click Add button.

    advanced security settings

    39- Click on select a principal.

    permission enter for share

    40- Select Object Types.

    enter the object name or select

    41- Check Computers under object types and click next.

    enter the object name type

    42- Type your cluster name in my case (XTCLUSTER) click check names and click ok.

    enter the object name to

    43- Under Basic permissions, check Modify box and click ok.

    permission entry basic

    44- Select the Share tab and click the Add button.

    advanced security settings

    45- Click Select a principal.

    permission entry basic

    46- Select Object Types.

    enter the object name to

    47- Check the computers box and click ok.

    enter the object name types

    48- Type your Cluster name, click check names and click ok.

    enter the object name to

    49- Under Permissions, check change and click ok

    permission entry for share

    50- Click Apply and click ok.

    advanced security settings share

    51- Click Next.

    specify permissions to control access

    52- Read the confirmation summary and click Create.

    smb file share confirmation

    53- The share was successfully created, click Close.

    smb share successfully created

    54- Now the file share created on SRV2019-DC, Go back to your SRV2019-1 right-click XTCLUSTER.xpertstec.local and Select More Actions and select configure cluster quorum settings.

    Configure Cluster Quorum Settings

    failover cluster manager 2019

    55- Configure Cluster Quorum Wizard windows will pop up, click next.

    configure cluster quorum wizard

    56- Select the quorum witness option and click on next.

    configure cluster quorum witness

    57- Select configure a file share witness options and click on next.

    select quorum witness

    58- Click the Browse button.

    quorum file share witness

    59- Type FWS name and click the Browse button.

    quorum browse for file share

    60- Type quorum shared server name, click check names, click ok and ok again.

    enter the object name to

    61- Click Next.

    configure fileover cluster quorum

    62- Click Next.

    configure failover cluster quorum settings

    63- Review the cluster summary and click Finish.

    configure cluster quorum summary

    64- Now Current Host Server Node1 is SRV2019-1.

    failover cluster manager

    65- After testing Current Host Server Node2 is SRV2019-2.

    failover cluster manager 2019

    For more details click here

  • How to Configure Network Load Balancing 2019

    How to Configure Network Load Balancing 2019

    High availability is one of the main key points to supply continued services. In lately, everyone wants the specified services on-demand. Organizations use different technologies and solutions to supply high availability and redundancy. Network Load Balancing (NLB) is one of the foremost popular high availability and redundancy features utilized in Windows Server 2019 based networks.

    Setup Details.

    SRV2019-DC

    IP Address: 10.0.0.20

    SRV2019-1

    NLB Node1

    IP Address: 10.0.0.30

    SRV2019-2

    NLB Node2

    IP Address: 10.0.0.40

    NLB IP Address 10.0.0.100

    Installing the Network Load Balancing Feature on NLB nodes (SRV2019-1, SRV2019-2)

    1- Install using power shell command or follow the below steps to enable NLB.

    Install-windowsfeature NLB,RSAT-NLB

    enable network load balancing powershell command

    2- IIS Web Server

    Install-WindowsFeature -name Web-Server -IncludeManagementTools

    enable network load balancing powershell command

    Network Load Balancing Server 2019

    3- On SRV2019-1 Open server manager and then select Add roles and features.

    server manager 2019

    4- Then click Next

    add roles and features wizard

    5- Click Next.

    add role based or feature base

    6- Select SRV2019-1 from the server pool and then click Next.

    server 2019 server selection

    7- Check the WEB Server (IIS) roles box.

    server role web server iis

    8- Click Add feature.

    server 2019 add features

    9- After selecting the Web Server (IIS) server role so click next.

    server roles web server iis

    10- Check the Network Load Balancing box.

    enable network load balancing sever 2019

    11- Click Add features.

    add feature for the required server 2019

    12- After selecting the Network Load Balancing feature so click next.

    enable network load balancing server 2019

    13- Click Next.

    install iis sever 2019

    14- Click Next.

    enable iis server features

    15- Click Install.

    server 2019 confirm installation

    Configuring Network Load Balancing in Windows Server 2019 After installing the Network Load Balancing feature on all the participating NLB nodes, the subsequent step is to configure Network Load Balancing. For this, you would like to perform the subsequent steps.

    Create a New Cluster

    16- On the Server Manager console of the SRV2019-1 NLB node, click Tools and then choose Network Load Balancing Manager.

    windows server 2019 dashboard

    17- Right-click Network Load Balancing Clustering and then choose New Cluster.

    network load balancing manager

    18- On the New Cluster: Connect panel, type SRV2019-1.xpertstec.local (or IP Address) in the Host field then click Connect. Verify that the Interface name is listed then click next.

    creating network load balancing

    19- On the New Cluster, set the priority (unique host identifier) value 1. This NLB node will reply to the clients’ queries, first, also ensure that the default status has set as Started and click next.

    network load balancing host parameters

    20- Click the Add button to add a new Cluster IP address.

    create new cluster network load balancing

    Note: The Cluster IP address is that the new virtual IP address on which the host service, during this case, IIS will run.

    21- Type Cluster IP Address such as 10.0.0.100 and click ok.

    network load balancing ip address

    22- Then click Next.

    network load balancing cluster ip address

    23- Select a cluster operation mode, Unicast and then click next.

    network load balancing cluster parameters

    24- So click Finish.

    network load balancing port rule

    25- Wait until the SRV2019-1 NLB node is added successfully. The Icon Color of the added NLB node should be green.

    network load balancing manager

    Network Load Balancing add the host to a cluster

    26- Right-click on Cluster name and then select Add Host to Cluster.

    network load balancing manager 2019

    27- Connect dialog box, type SRV2019-2, and then click Connect to add one more NLB node.

    network load balancing connection status

    Important: If you get the Host unreachable error while connecting SRV2019-2 as the NLB node, move on to SRV2019-2 and open the Network Load Balancing Manager console. Repeat the same steps as you used to add the DC1 NLB node.

    28- On the Add Host to Cluster: Host Parameters dialog box, set the priority value as 2 and proceed to next.

    network load balancing host parameters

    29- Click Finish.

    network load balancing port rules

    30- Finally, verify that the second NLB node SRV2019-1 is added successfully.

    network load balancing manager

    Configuring Default Website to Test the NLB Configuration

    To test the NLB cluster, use an NLB-Aware application like the IIS service role with the Cluster IP address. Hence, we’ll use the Default Website on NLB node1 (SRV2019-1) and NLB node2 (SRV2019-2). the web site is going to be mapped with the cluster IP address “10.0.0.100”. To do so, first, you would like to perform the subsequent steps on SRV2019-1 (NLB node1).

    31-Open the Internet Information Services (IIS) Manager console.

    Expand the Sites node, select and right-click the Default internet site.

    Select Add the Virtual Directory

    iis web server manager

    32- In the Alias box, type a name. In the Physical path box, type \\SRV2019-1\C$\Intetpub\wwwroot\ and click ok.

    web server add virtual directory

    We need to add the same shared directory on both the NLB nodes so the same content can be displayed when an NLB node from the configured NLB cluster is failed.

    33- Double-click Directory Browsing.

    iis manager

    34- Click Enable.

    iis manager directory browsing

    35- Right-click Default Web Site, select Manage Website and then select Restart.

    iis manager manage website restart

    36- Close the web Information Services (IIS) Manager window.

    Repeat the same steps to activate the Default Website on SRV2019-2 NLB node.

    iis manager add virtual directory

    Optionally, if you would like to access the web site through the hostname like www.xpertstec.local, add the www DNS host record with the ten .0.0.100 IP address.

    Verifying Network Load Balancing Configuration

    To verify that your NLB Cluster is configured successfully and functioning properly, perform the subsequent steps.

    37- Type 10.0.0.100 within the Internet Explorer and verify that you simply are ready to access the Default Webs

    iis windows server welcome

    Close Internet Explorer. On the SRV2019-1 node.

    38- open the Network Load Balancing Manager window, select and right-click SRV2019-1(Ethernet), select Control Host and then select Stop to stop this node temporarily.

    network load balance manager

    39- Switch back to SRV2019-DC and try again to open the Default Website. the Default Website should still be displayed. However, this time, the SRV2019-2 NLB node will serve the Website.

    iis windows server welcome

    For more details click here