Category: Microsoft Windows Server

  • How to Install and Configure iSCSI Target on Windows Server 2022

    How to Install and Configure iSCSI Target on Windows Server 2022

    In this article, we will discover how to install and configure iSCSI Target on Windows Server 2022. The Internet Small Computer System Interface (iSCSI) and iSCSI Target Server allow you to boot multiple systems from a single operating system image. It allows block-level access to storage appliances by carrying SCSI commands over a TCP/IP network. The iSCSI target is the storage on a remote location, which seems to be the host computer (iSCSI initiator) as a local drive.

    I have created 2 virtual machines on my VMware workstation to disclose the deployment process. I have installed Windows Server 2022 on the virtual machines. Below is the configuration of the virtual machines.

    NameRoleOperating SystemIP Address
    WS2022-DCiSCSI initiatorWindows Server 2022192.168.241.100
    SAN.xpertstec.localiSCSI Target Server192.168.241.102

    To create an iSCSI server, we need to install the iSCSI server role.

    Create and Configure iSCSI Target Server Role

    To configure the iSCSI target server, we must install the File and iSCSI Services roles on our Windows Server. Open Server Manager and click on the Add Roles and Features link.

    Server Manager

    Click next

    Add roles and features wizard

    We need to install the iSCSI service on our virtual machine. Therefore, select role-based or feature-based installation, and then click on Next.

    Role based or feature based

    We need to install the iSCSI services on SAN.xpertstec.local. Click next.

    Select destination server

    Here, we need to install File and iSCSI Services. Expand the File and Storage Services option and then expand File and iSCSI Services.
    Tick iSCSI Target Server

    iSCSI target server features

    Click on Add Features.

    Add features that are required

    After selecting the iSCSI target role, click next.

    iSCSI target server features

    Click next

    Select server features

    Click install

    iSCSI target server confirmation

    iSCSI installation is complete; click on Close.

    iSCSI target server installation progress

    The iSCSI target server role has been installed successfully.
    Click on File and Storage Services.

    Server Manager

    Creating iSCSI Virtual Disks

    The iSCSI target server has been created; let us create an iSCSI virtual disk.
    Click on iSCSI, and then on the right side, select Start the new iSCSI virtual disk wizard

    iSCSI virtual disks

    In the new iSCSI disk wizard, click on the Select iSCSI virtual disk location; select the location of the virtual disk. If you have already installed the iSCSI Target Server role on multiple servers, you can select the server from the list. The record of servers with the iSCSI target role installed will remain automatically under the Servers box. Select the volume checkbox and select the custom path under the Type a custom path option. I will construct a virtual disk on the C drive of SAN.xpertstec.local. Click next

    iSCSI virtual disk location

    On the iSCSI virtual disk name screen, enter a unique name and click Next.

    Specify iSCSI virtual disk name

    On the iSCSI virtual disk size screen, we can specify the size of the virtual disk.
    Enter the disk size, select Dynamically expanding, and then click next.

    Specify iSCSI virtual disk size

    iSCSI target screen, select the New iSCSI target checkbox, then click Next.

    Assign iSCSI target

    For the target name and access screen, type a name and click next.

    Specify target name, iSCSI

    Specify Access Servers

    Click the Add button on the Specify Server Access screen to add the iSCSI initiators.

    iSCSI virtual disks access servers

    By default, the iSCSI initiator can’t connect to the target server. We need to install/enable iSCSI initiators. To connect to the iSCSI target server, click on the browse button.

    Add initiator ID

    Type the name of the system where you want to connect the iSCSI target, and then click OK.

    Enter the object name

    Click ok.

    Select a methods to identify the initiator

    Now that the initiator has successfully added to the list, click on next.

    iSCSI virtual disks access servers

    You can enable CHAP or reverse CHAP if required; click on Next.

    iSCSI virtual disks enable authentication

    Select Create to create an iSCSI virtual disk.

    iSCSI virtual disks confirmation

    The disk has been created successfully. Click close

    iSCSI virtual disks successfully created

    We can now see the list of iSCSI virtual disks in the server manager.

    iSCSI virtual disks

    Summary

    In this blog, I have explained how to install and configure the iSCSI Target Server on Windows Server 2022. In my next blog, I will describe how to connect the iSCSI initiator and use it to connect to the iSCSI virtual disk.

    Please visit Microsoft for more information.

    Related: How to Connect iSCSI Target to Server 2022.

  • VHD Virtual Hard Disk Recovery Step by Step

    VHD Virtual Hard Disk Recovery Step by Step

    A VHD Virtual Hard Disk Recovery file is just like a physical hard drive that has elements like, file systems, disk partitions a boot record, saved data, etc. Loss or corruption of one such file means losing the entire data stored on the VHD. Here is everything you may want to know about how to recover or repair VHD Files.

    Virtual Hard Disk Just like physical hard drives, VHD files are at risk for accidental deletion, corruption, virus attacks, and other reasons of data loss. The ability to restore data from a VHD image could be very valuable.

    Step by step attach and Copy files from a VHD

    I needed some important files that I had backed up as a WindowsImageBackup to the external drive. The only option I could retrieve data from my external disk was buried in system images that I had created. You might think my only way is to restore those system images.

    VHD Virtual Hard Disk Recovery Mount a VHD File in Windows

    Please make sure you have your VHD file accessible. Right-click on the Windows start button and then select Disk Management.

    right click start menu windows

    Select the Action menu and then Attach VHD.

    disk management attach vhd

    Select browse button.

    attach virtual hard disk

    Browse the location of your VHD file. I am using a VHD file stored as a Windows System Image.


    Click open.

    browse virtual hard disk

    Select ok.

    attach virtual hard disk

    The virtual hard disk file is then mounted in Disk Management, just as a physical drive.

    disk management

    Browse your VHD disk volume to see your data.

    windows explorer

    When you have done using the VHD, simply right click on VHD disk and then select Detach VHD.

    disk management detach vhd

    What to do if your VHD is not assigned a drive letter

    Sometimes your VHD might not have a drive letter assigned when you attach it, especially if it is the first time you are attaching the file.
    Right-click the VHD and then select change drive letter and paths.

    disk management change drive letter

    Click Add button.

    change drive letter

    Choose the radio box Assign the following drive letter and then select in the drive letter list box. Choose an available drive letter and then click ok twice.


    Add drive letter or path

    For more details click here

  • How to Migrate Active Directory Server 2019 to Server 2022

    How to Migrate Active Directory Server 2019 to Server 2022

    In this article, we will see how to Migrate Active Directory Server 2019 to Server 2022. In the previous article, I configured an additional domain controller on Windows Server 2022. I will now upgrade the Active Directory to Windows Server 2022 and raise the functional level.

    Overview of Windows Server upgrades

    Virtual Machines Details

    Virtual MachineOSRoleIP Address
    WS2019-DC (Root DC)2019Primary Domain Controller192.168.121.150
    WS2022-DC (new DC)2022Secondary Domain Controller192.168.121.152

    First, we need to check the Master Operation role by typing this command Get-ADForest

    Now you can see the Schema Master is on WS2019-DC.xpertstec.local and the Forest Model level is still Windows2016.

    Get-ADFores PowerShell

    Now run this command Get-ADDomain to know about the following.

    PDC Emulator
    Infrastructure Master
    RID Master

    Get-ADDomain PowerShell

    Table of Content

    Join Windows Server 2022 to Domain

    Configure Additional Domain Controller

    Replication between the domain controllers

    Migrating FSMO roles to Windows Server 2022

    Change Active Directory Domain Controller

    Change Schema Master Role

    Change Global Catalog

    Raise Domain and Forest Function Level

    Demote-active-directory-domain-service

    Migrate Active Directory Server 2019 to 2022

    One new virtual machine with Windows Server 2022 OS has been installed in order to make smooth migration. Once migration is completed, Windows Server 2019 domain controllers will be decommissioned.

    The Domain Controller server is running on Windows Server 2019 OS and name called WS2019-DC. The domain name is xpertstec.local

    Steps to Migrate Domain Controller Server 2019 to Server 2022

    Prepare existing Active Directory to support Server 2022 as a domain controller.

    Configure Window Server 2022 to an additional domain controller.

    Verify the replication between Domain Controllers (Windows Server 2019 and Windows Server 2022).

    Transfer Master Operation roles (FSMO) to Windows Server 2022.

    Promote Server 2019 as an additional domain controller

    Login with the windows server 2022 system, Open Server Manager, and then click on add roles and features.

    Server manager

    Click next

    Add roles and features wizard

    Click next

    Role based or feature based

    Click next

    Select destination server

    Tick the checkbox Active Directory Domain Services roles.

    Active directory domain services role

    Click on add features.

    Add features that are required

    Click next

    Select roles active directory

    Default options, click next.

    Add roles and features

    Click next

    Active directory domain services (ad ds)

    Click install

    Confirm ADDC installation selection

    Click close

    Active directory domain services results

    After installation, click on the notification button and then choose promote this server to a domain controller option.

    Promote this server to a domain controller

    Click on the change button, to add existing domain controller (WS2019-DC.xpertstec.local) credentials.

    Added Domain Controller

    Enter credentials and then click ok.

    Credentials for deployment confirmation

    Click next

    Migrate active directory server deployment confirmation

    Type your domain controller credentials and then click next.

    Migrate domain controller options

    Click next

    Migrate active directory server DNS options

    Under the Additional Options choose the existing domain controller and then click next.

    Select domain controller

    Select default options for Paths and then click next.

    Migrate active directory server paths

    Review Options, click next.

    Migrate active directory server review options

    Prerequisites Check, click install.

    Migrate active directory prerequisite check

    The system will reboot after the installation.

    Login into the additional domain controller and check the status of the domain name by typing the following commands.

    [System.Net.Dns]::GetHostByName($env:computerName).HostName

    systeminfo | findstr /B /C:”OS Name” /C:”OS Version”
    netdom query fsmo

    Netdom query fsmo

    Check the registry settings

    Observer the schema Version

    Check Replication between the domain controllers

    Open Server Manager, click on the Tools tab and then click on Active Directory Sites and Services.

    Server manager tools

    Expand default first site name, expand WS2022-DC machine, right click on NTDS settings, click on all tasks then click on check Replication Topology.

    Active directory sites and services

    Click ok

    Check replication topology

    Now check the replication status opening DNS Manager. The authority number 21 is for both domain controllers for _msdcs.secure.com

    DNS manager msdcs

    DNS Replication Status.

    DNS manager msdcs

    (Microsoft domain controller service) and 46 both domain controllers for xpertstec.local

    DNS manager local domain

    DNS Replication Status

    DNS manager local domain

    Migrating FSMO roles to Windows Server 2022

    From WS2019-DC, open active directory users and computers console. Right-click on the local domain and then click on Change Domain Controller.

    Change domain controller

    Change to WS2022-DC.local and then click ok.

    Migrate Operation Masters

    Right click on the local domain and then select operation masters.

    Transfer operations master role?

    Click on the RID tab and then select the Change button.

    Change operations master RID

    Click yes to transfer the role

    Transfer operations master role?

    Select ok

    Change operations master RID

    Select the PDC tab and then select the Change button.

    Change operations master PDC

    Click yes to transfer the role

    Transfer operations master role

    Select ok

    Operations master successfully transferred

    Select the Infrastructure tab and then select the Change button.

    Change operations master infrastructures

    Click yes to transfer the role.

    Transfer operations master role?

    Select ok

    Operations master successfully transferred

    Now RID, PID, and Infrastructure roles switched to WS2022-DC.xpertstec.local

    Change operations master infrastructures

    Now check the Master Operation role by typing the following command Get-Domain.

    Get-ADdomain PowerShell

    Check the Master Operation role by typing the following command Get-ADForest.

    Get-ADForest PowerShell

    Use this command “netdom query fsmo” to get all outputs.

    Netdom query fsmo PowerShell

    Change Active Directory Domain Controller

    From xpertstec.local, open Active Directory Domain and Trusts console

    Right-click Active Directory Domain and Trusts, and then select change Active Directory Domain Controller.

    Active directory domains and trusts

    Select the directory server from WS2019-DC.xpertstec.local to WS2022-DC.xpertstec.local and then click ok.

    Change directory server

    Now change the Operations Master. Right click on the top-level container and then choose Operations Master.

    Active directory domains and trusts

    Click on the change button to transfer the domain naming master role to the WS2019-DC.xpertstec.local server.

    Domain naming operations master

    Click Yes

    Operations master successfully transferred

    Select ok

    Operations master successfully transferred

    Verify the domain naming operations master in the Operation Master interface is now transferred.

    Domain naming operations master

    In the WS2019-DC.xpertstec.local server, open the command prompt and then enter regsvr32 schmmgmt.dll to change the Schema Master.

    Read this article: DllRegisterServer failed error code 0x80040201 schmmgmt.dll

    Click ok

    Regsvr32 schmmgmt.dll command

    Change Schema Master Role

    On the WS2019-DC.xpertstec.local server type mmc in the run command to launch console root.

    Select the File tab and then click on Add/Remove Snap-in.

    Console addremove snap-ins

    In the add or Remove Snap-ins interface, click on Active Directory Schema, click on Add and then click OK.

    Add or remove snap-ins

    Now right-click Active Directory Schema and then select the Change Active Directory Domain Controller option.

    Console root change active directory

    Change the Directory Server window, select WS2022-DC.xpertstec.local, and then click ok.

    Change directory server

    Click ok to proceed.

    Active directory schema

    In the Console root, right-click on Active Directory Schema and then select Operations Master.

    Console root operation master

    To Change the Schema Master interface, select the change button to transfer the schema master role to the WS2022.xpertstec.local server.

    Migrate active directory change schema master

    Click Yes

    Active directory schema yes

    Select ok to proceed.

    Operation master successfully transferred

    Now confirm schema master is WS2022-DC.xpertstec.local and then click close.

    Migrate active directory change schema master

    Type the following command netdom query fsmo to get all outputs and we can see all the roles have been changed to WS2022-DC.xpertstec.local

    Netdom query fsmo PowerShell

    Change Global Catalog

    Launch Active Directory Sites and Services, expand Sites, then Default-first-site-name, right-click on NTDS Settings and click on properties.

    Active directory sites and services

    Untick Global Catalog and then click ok.

    NTDS system properties global catalog

    Raise Domain and Forest Function Level

    In the active directory user and computer, right-click on the domain and then choose Raise domain functional level.

    Active directory users and computers

    Here is the raised domain functional level.

    Raise domain functional level

    Launch domains and trusts, Right click on the active directory domain, and then click on raise forest functional level.

    Active directory domain and trusts

    Here is the raised forest functional level.

    Raise forest functional level

    Confirm the domain and forest functional levels by using the below PowerShell command.

    Get-ADDomain | fl Name, DomainMode
    Get-ADForest | fl Name, ForestMode

    Get-addomain PowerShell

    Now replace your DNS IP address.

    Internet protocol version 4 properties

    How to demote active directory domain service in window server 2019

    Open Server Manager, click on the Manage tab and then select Remove Roles and features.

    Server manager manage

    Click next

    Remove roles and features wizard

    Click next

    Remove roles and features server pool

    Uncheck Active Directory Domain Services checkbox.

    Remove Server roles active directory

    Select Remove Features.

    Remove features that required active directory

    Now Untick the DNS Server role box.

    Remove Server roles DNS Server

    Click on Remove Features.

    Remove features that are require

    Click next

    Remove Server roles active directory

    Click next

    Remove roles and features

    Confirm removal selections and then select the Remove button.

    Confirm removal roles selections

    Click close

    View removal roles progress

    Read more about how to remove a domain controller server.

    troller serveroot the server and then join it in the workgroup.

    Also, read this article: Upgrade Windows Server 2019 to 2022,.

  • How to Fix NetFx3 Error While Installing SQL Server

    How to Fix NetFx3 Error While Installing SQL Server

    In this article, I will explain how to fix NetFx3 error while installing SQL Server. While Installing SQL Server 2014 on Windows Server 2012 R2 I have received the below error, which indicates .Net 3.5 is not installed on this machine.
    We were installing SQL Server 2014 on a Windows Server 12 virtual machine, and the installation was already in progress when we received the following error:

    Due to development challenges, people still use SQL 2014 in production. In these cases, one of my clients told me that their application vendor hasn’t approved SQL 2014 and above, so they were forced to install SQL 2014.
    In windows server 2012 R2 .Net framework 3.5 do not install by default.

    NetFx3 error

    Fix NetFx3 Error

    Let’s have a look at how to install .Net 3.5 on Windows Server 2012.
    As per the error message in the pic above, we need to enable NetFx3. It means .Net Framework in the Server Manager.

    Server Manager

    It will new window, click Next.

    Add roles and features

    Choose Role-based or feature based installation and then choose next.

    Role based or features based

    Click next

    Select Server from the pool

    Select Server from the pool.

    Server roles

    Choose .Net Framework 3.5 Feature and click next.

    Server features .net framework

    If your server doesn’t have all the files which were supposed to add this .netframework, then on the next screen you might see the warning. This is the reason why SQL Setup was unable to install the feature. So, you need to alternative the alternative source path. This needs to be from the Server 2012 installation media.

    Click on Specify an alternate source path.

    Specify alternate source path

    Find windows media directory and go to Source\sxs path Mine is installed in D:\ (Maybe you have a different drive) so for me it’s D:\Source\sxs
    Provide directory path and then click OK.

    Specify alternate source path

    Select Install

    Fix NetFx3 error

    It will take a while and then your installation is done.

    Feature installation in progress

    You can use enable .netfex3 error by using below command
    dism /online /enable-feature /featurename:NetFx3 /source:D:\sources\sxs

    .netfex3 error fix command
  • How to Change Server Name in Server 2022

    How to Change Server Name in Server 2022

    In this blog, we are going to explain how to change server name in server 2022. This article was automatically translated, if you have feedback concerning its feature please use the comment form at the bottom of the page.

    In this today’s blog, I will explain to you how to change your server name in Windows Server 2022 using the server settings menu, Control Panel, Server Manager, Command Prompt, and PowerShell. You can return your computer back to default by noting down the name and following these steps again. Let’s get started.

    Prerequisites

    Virtual Machine, Hyper-V, or a dedicated server with Windows Server 2022 installed.
    Logged in with administrator account.

    Changing the Hostname

    Right mouse clicks on This PC and then click on Properties.

    This PC properties

    Under About, click on rename this PC.

    Device specifications server

    Rename your PC window, type a name (Server2022) and then click next.

    Rename this PC

    Select restart now

    Change server name

    Choose a reason to describe the reboot and then click continue.

    Choose a reason to reboot server

    Change Server name using Server Manager

    Launch Server Manager, from your left side, click on local server and then click on computer name.

    Server manager local server

    System properties, click on the change button.

    System properties computer name

    Now insert the server name under the computer name you wish to change it to and then click ok.

    Computer namedomain changes

    To apply the changes you need to restart your system. Click on ok to restart your computer.

    Apply these change restart now

    Select ok

    System properties computer name

    Click on Restart Now

    Apply these change restart now

    Now your server name is changed after restarted.

    Windows server device specification

    How to Change Server Name using CMD

    If you’d prefer to change the server name using the command line, CMD is also an option. This way is easier, quicker, and is helpful if you have no access to GUI, on a Windows Server install for an instant.

    Search command prompt

    We can rename a server computer from the command prompt using WMIC computersystem command.

    WMIC server rename command

    After applying this command, you need to restart the server to make the changes effective.

    WMIC server rename command

    How to Change Server Name using PowerShell

    Additionally, you can use a PowerShell command to change the server name if you are more comfortable with the PowerShell.
    Right-click on the server Start button, then select Windows PowerShell (Admin).

    Right click server start menu

    Type the PowerShell change server name command

    Type the following PowerShell command in the PowerShell window and then hit enter, substituting Server2022 with your preferred name.

    Rename-Computer -NewName “Server2022”

    Rename server PowerShell

    Server restart required changes to take effect.

    Rename server PowerShell

    Conclusion

    That’s all, you have learned how to change the hostname on Windows Server 2022.

  • How to Delete thumbs.db File in Windows Explorer

    How to Delete thumbs.db File in Windows Explorer

    In this article, I will explain how to delete thumbs.db file in Windows Explorer. We sometimes received an error that you can’t delete the file. The action can’t be completed because of the file open by the system. When multiple users are logged in on the Windows server they may have opened the files or sometimes those files are supporting other programs or files for some operations.

    In Server 2012 fix the action can’t be completed because the file is open by the system

    When we check in task manager we might not able to find those files opened and gets a hard time deleting them.

    Unable to delete thumbs.db

    Sometimes we need to reboot the computer to delete these types of files but in a case of a Windows server, we can’t reboot the server.

    So follow these steps to delete thumbs.

    db files.
    Launch the server manager. On the Server Manager, Click on the Tools menu and then Computer management.

    It will show you all of the Windows Server-related information. Now expand the Shared Folders, where you will find three more folders under Shared Folders, click on the Open Files folder.
    It will show you all of the files being open by users logged on the server or who have been disconnected from the server login session but the files are open.

    Computer management open files

    Search for the file in the list you wanted to remove but were unable to remove the file. In my case, it is a thumb.db that is under a folder. In the open files list, right-click open file or folder where the file we want to delete is listed. It will open up a menu and give you the option to delete the file. Click on Close Open File.

    Computer management close open files

    Delete Thumbs.db file

    Now go back to the original location where the file was placed and you wish to delete it. Right-click on the file and then select delete. The file will get deleted.

    Watch Video: How to Delete thumbs.db File in Windows Explorer

  • Error 28173 Installing VMware vSphere Client 6

    Error 28173 Installing VMware vSphere Client 6

    Let’s see how to fix error 28173 by installing VMWare vSphere Client 6.0. When installing VMware vSphere Client 6.0 (VMware-viclient-all-6.0.0-5112508) on a Windows Server 2012, server you might get this Error 28173, setup failed to enable Microsoft .NET Framework 3.5. This guide will provide you information on these issues where VMware Client 6.0 fails to install on Windows Server 2012 with the error 28173.

    Error 28173 setup failed to enable

    The Error 28173, Setup failed has to enable Microsoft .NET Framework 3.5 quote to Microsoft KB article 2734782 and 3002547 which may help you to resolve the issue .NET framework failure. You will need to enable this Windows feature in Server Manager before installing the vSphere Client.

    This is caused because one of the VMware clients installs requirements .Net Framework 3.5 is missing.
    To resolve this issue, open Server Manager and click Add roles and features.

    Server Manager Dashboard

    Add roles and features, select next.

    Add role and feature wizard

    Choose Role-based or feature-based option and then click Next.

    Select installation type add role

    Select the radio button “a server from the server pool” and then click Next.

    Select server selections

    Server Roles, click next.

    Select server roles

    Select.NET Framework 3.5 features and click next.

    Select features .net framework 3.5

    Click the install button.

    Confirm installation selections

    Server feature installation failed.

    Features installation failed

    If you get the above error then Follow this link to Enable .Net Framework features.

    For more details please visit VMware

  • .NET Framework 3.5 Feature Installation Fails Fixed

    .NET Framework 3.5 Feature Installation Fails Fixed

    Let’s have a look at how to fix the error .Net Framework 3.5 Features Installation Fails – Source Files Could Not Be Found in Windows Server 2012 while installing Server roles and features. This article helps you to fix Microsoft .NET Framework 3.5 installation errors.

    Issue

    Installing .NET Framework 3.5 Feature add Roles and Features Wizard on the Windows Server 2012 fails with an error.

    .NET Framework 3.5 Feature Installation fails

    Installation of Server Add role, features) one or more roles, role services, or features failed.

    The source files could not be found. Trying Server roles installation, Add role services or Add features again in a new wizard of Add Roles and Features session, and on the Confirmation installation selection page of the wizard, select Specify an alternate source path to specify the right location of the Server source files that are required for the .net framework installation. The destination must be approachable by the computer account of the location server.

    .NET Framework 3.5 Feature Installation fails

    Cause

    The error happened because the required Server source files were not copied to the computer during the starting Windows Server OS installation.
    Insert Windows Server 2012 installation disk into your server’s DVD drive (or mount an ISO file). Close Add roles and feature wizard.

    After closing Add roles and feature wizard, Start the Roles and Features Wizard again.

    Server Manager Dashboard

    Add roles and features wizard, select next.


    add role and feature wizard

    Select Role-based or feature-based installation, so click next.

    Select installation type add role

    Server selection, a server from the server pool, and then click Next.

    Select destination server selection

    Server Roles, click next.

    Select server roles

    Select.NET Framework 3.5 features and then click next.

    Select features .net framework 3.5

    On the confirm installation selection page, click Specify an alternative source path.

    specify an alternate source path

    In the Specify Alternate Source Path windows enter your Windows Serer Drive path D:\sources\sxs
    where D: is your DVD disk drive letter. And then click the ok button.

    Specify alternate source file

    Now .NET Framework 3.5 Feature installation has successfully been completed.


    server features result

    Related: Error 28173 Installing VMware vSphere Client.

    For more information, please visit Microsoft

  • Bare Metal Recovery Windows Server 2022

    Bare Metal Recovery Windows Server 2022

    In this guide, we will look at bare metal recovery Windows Server 2022 and how to recover the system using Windows Server disk. The Windows Recovery Environment is used to start a Windows server so you can restore system repairs or recovery.

    Typically the procedure of bare metal recovery includes the restoration of a system image backup using an ISO image file or a USB drive that you boot on your system to perform a restore. If you are looking for a rapid and easy method to perform a bare metal restore, so you are in the right place. This article will look at correctly what is bare metal restoration and explain a few different recovery techniques.

    For more details please visit Microsoft

    Windows Server Bare Metal Recovery

    To recover a server, first, we need to boot into recovery conditions, which are used to locate the system back up and start the recovery process. The particular recovery steps will depend on the operating system and software system you use.

    How to perform a system recovery using WinRE

    Boot your Windows server from the Windows Server DVD or Bootable USB Disk.
    Specify your language and time to install and then click next.

    Server operating system setup

    Click on Repair your computer and WinRE will launch.

    Repair your computer Server 2022

    Click on Troubleshoot option.

    System image recovery troubleshoot

    Under advanced options, click on system image recovery.

    System image recovery advanced options

    System image recovery window, click on Windows Server.

    System image recovery server 2022

    Select restore your system using a system image that you have created earlier.
    Click on next and then the computer will search for a backup image.
    If you tick the select a system image box, select the backup that you want to use.

    Bare Metal Recovery Windows Server

    Select to Use the most recent system image (recommended) or you can select a system image and then click next.

    Re-image your computer recent image

    Click on date and time, and click next.

    Bare metal recovery backups available

    Choose additional restore options, and click next.

    Re-image your computer additional

    Select the Finish button to start the bare metal recovery.

    Bare Metal Recovery Windows Server

    Once prompted to start the recovery process, click yes.

    Bare Metal Recovery Windows

    Now Windows is restoring computers.

    Bare Metal Recovery Windows

    After restoring the Windows Server 2022 OS image, your server will restart automatically.

    Bare Metal Recovery restart now
  • How to Install Active Directory in Server 2022

    How to Install Active Directory in Server 2022

    Here, we have a look at how to install Active Directory in Windows Server 2022. We are going to show you the Domain controller installation and configuration of Active Directory domain services Role in Windows Server 2022 and promote Windows Server 2022 as a Domain Controller. First, I will show you how to install the ADDS binaries and then 2nd promote Windows Server 2022 to a Domain Controller.

    The Windows Server 2022 operating system is the latest and often advanced Windows Server OS to date. Microsoft has constantly been making their Server operating system more cloud base with a lot of Azure features incorporated into the operating system natively. Using the new features and capabilities untied using Windows Admin Center, New Windows Server 2022 will have the most direct integration with Microsoft Azure of any server OS.

    Microsoft is surely wanting to get everybody focused on Azure. The new combination with Azure makes Windows Server 2022 a simple way that customers get a powerful on-premises OS with all the Azure bells and whistles offered by Microsoft and unlocked potential with Windows Admin Center.

    Table of Contents

    Install Active Directory in Server 2022

    Note:

    Before you start, verify that the following things have been completed.

    Change Computer Name

    Change the computer name or server name, easy to an understandable format.
    (In this Example: Server name: Server2022, Active Directory Server)
    In the Network settings, use a static IP address is configuration is best practice.

    Internet protocols properties

    How to Install Active Directory Domain Services

    We are going to install an active directory & domain controller. It’s will be a physical computer or a virtual machine.

    Once you changed the computer name and assign a static IP address to the server. Launch the Server Manager, click on Dashboard and then click on Add Roles and Features.

    Server Manager Dashboard

    Add roles and features wizard, select next.

    Add roles and features wizard

    Installation type, select the radio button Role-based or feature-based installation, and then click on next.

    Add role installation type

    In the Select destination server option, choose the option Select a server from the server pool and then click on next. In the image below you can see what servers are available, select the one you wish to install the active directory on.

    Add role select destination server

    Choose server roles window, I am going to install Active Directory so I am selecting Active Directory Domain Services roles.

    Active directory domain services role

    Click on Add features button to add features that are required for Active Directory Domain Services.

    Add required feature active directory

    Domain Name Server (AD & DNS)

    In the Select one more role to install wizard, select the DNS Server role name.
    We need to install and configure Active Directory and DNS server roles to work together.

    Active directory server roles

    Click on Add Features button to add features that are required for the DNS server including management tools.

    Add required feature DNS server

    Please ensure the Active Directory Domain Services and DNS Server options are selected and then click on next.

    Active directory server roles

    Choose the checkbox .NET Framework 3.5 Features and then click on the next option to continue.

    Select features .net framework 3.5

    Active directory domain services, click next.

    Active Directory domain services AD DS

    DNS Server option click next.

    Configure DNS server services

    Click the next button to start the active directory and DNS server installation.

    Confirm installation selections

    If you get the below error, its means we need to install .net framework 3.5

    Specify server failed installation

    Follow the above steps to reach the confirmed installation selection window. Click on the Specify an alternate source path.

    .Net Framework 3.5 Installation failed

    Specify alternate source path

    Insert the windows server 2022 installation media or mount the Server 2022 ISO file as a drive. Then go to the location of the source path drive letter\sources\sxs. (My drive letter is D:\sources\sxs). Copy the path D:\srouce\sxs

    File Explorer source sxs path

    Then paste the copied path in the path option or type manually. Then click on the ok and select the Install button to continue.

    Specify alternate source path

    Click Install.

    Installation selections confirmations

    Active Directory and DNS server feature installation are in progress.

    AD features installation progress

    The Active Directory and DNS server installation process has been completed. Click close.

    AD Features installation results

    Promote Server to a Domain Controller

    How to Configure DNS (Domain Name System)

    How to deploy and configure the Domain Controller 2022. In the Server Manager click on the notification button and then click on Promote this server to a domain controller.

    Promote this server to a domain controller

    Active Directory Domain Services Configuration, deployment configuration. Now we are going to install new forest and new domain.
    Select Add a new forest checkbox and then specify the domain information for this operation. Type your domain name next to the root domain name and then click on next.
    (Example: xpertstec.local you can use xpertstec.com).

    Select the Deployment Configuration

    Domain controller options, select the forest functional level and domain functional level as per your requirement.
    Specify domain controller capabilities.
    Domain name system (DNS) server selected
    Global Catalog (GC) selected
    Type Directory Services Restore Mode (DSRM) password and then select Next.

    Domain Controller options

    DNS Options windows, select next.

    Active Directory domain services DNS

    Verify the NetBIOS domain name. Mostly, it’s automatically picked from your domain name related. Then click next

    Verify the NetBIOS name assigned

    Specify the location of the AD DS database,
    Database folder
    Log files folder
    SYSVOL folder
    Keep it is as it is and click next.

    Specify the location of the AD DS

    Verify all the settings with your requirements and then click on next to continue.

    Active Directory domain services review options

    Prerequisites check done automatically

    All prerequisite checks passed successfully

    Click on the install button to start the Active Directory Domain Controller installation.

    All prerequisite passed successfully

    Domain Controller Installation is in Progress…

    Active Directory installation progress

    The domain controller server is successfully configured, then select close.

    You are about to be signed out

    After configuration of the domain controller your server reboot automatically.
    Domain Administrator Login screen windows, type your domain controller password.

    Windows Server 2022 domain login

    After login with your Active Directory Domain Controller, open your network connection TCP/IP properties. You can see the preferred DNS server IP Addresses.

    Internet protocols properties

    Change it with your DNS Server IP Address.

    Internet protocols properties
  • How to Enable Windows Server Backup Feature Server 2022

    How to Enable Windows Server Backup Feature Server 2022

    In this article, I will explore how to enable Windows Server Backup features in Windows Server 2022. Implementing Windows Server backups is an essential part of daily Windows Server administration.

    Backup permits you to restore lost data from disaster scenarios such as computer viruses, hardware-software failure, and human error.

    Before creating a server backup, first, you need to install the Windows Server Backup feature. After the installation, you can access the Windows PowerShell command for Windows Server Backup. To enable this feature, using PowerShell is the simplest way.

    If you try to run a backup job without installing Windows Server Backup, you will be prompted to install it.

    Enable Windows Server Backup Feature

    To install Windows Server Backup, you need to have Administrator access or Backup Operator.
    Now you can go to the Server Manager and then click on Add roles and features.

    Server Manager

    The following wizard will be displayed, click next.

    Add roles and features wizard

    Click next.

    Select installation type

    Then we select the server and then click next.

    Select destination server

    In the server roles section we will not apply for any roles, click next.

    Select server roles

    In the Features options, tick the Windows Server Backup box and then click next.


    Windows Server Backup Features

    See a summary of the (features Windows backup server) to install on Windows Server 2022. Click on the Install button to complete the installation.

    Confirm installation selection

    Once done you will see the following, click close to exit the wizard.

    Windows Server Backup features results

    At the end, we will see the following. Click Close to exit the wizard.

    Windows Server Backup installation

    How to Install Windows Server Backup Using PowerShell

    In the Windows search box, type PowerShell and then right-click on the top Windows PowerShell to launch Windows PowerShell as an administrator.

    PowerShell run as administrator

    Then enter this command “Install-WindowsFeature Windows-Server-Backup” and hit Enter.

    Install Windows Server Backup PowerShell

    The Windows Server Backup installation is in process.

    windows server backup installation powershell

    Windows Server Backup feature successfully installed.

    Windows Server Backup PowerShell

    Now type Windows Server Backup in the search bar and open it.

    Search Windows Server Backup

    Here you can configure backups.

    Windows Server Backup console