Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » Reset or reinstall Windows Server without deleting the VM

Reset or reinstall Windows Server without deleting the VM

Posted on 25/03/202601/04/2026 Christian By Christian No Comments on Reset or reinstall Windows Server without deleting the VM
Fatory Reset Or Reinatall Windows Server

If you have created a VM on Hyper-V, Proxmox, VMware, or XCP-ng and want to reinstall Windows, you don’t need to delete the VM or recreate it. In this guide, we will show you how to reinstall Windows directly on an existing VM while keeping the VM configuration intact. Therefore, in this guide, we will discuss the steps to reset or reinstall Windows Server without deleting the VM. Please see Deploy Veeam Recovery Orchestrator and Agents to VBR and VEM, and

Note: In this article, we do not have a backup and we have not included it in a backup. Also, the scope is not to restore to a known good state but rather to rest or reinstall Windows Server.

For some other reason you may need to perform a full system restore without restoring the previous server configuration from a backup. In this case, you can perform a restore that resets the server to factory default settings by using installation or recovery media from the server hardware manufacturer.

Also see Video Conversion Desktop Software for Windows, How to Reset a Cisco 3650 Catalyst Switch, and how to reset and reinstall Windows 10 locally.

Resetting the server to factory default settings

Note: When you restore your server by resetting it to factory default settings. All existing settings and installed applications on your server are deleted, and you must configure your server again.

These steps are similar to resetting a server to factory defaults and reinstall the OS from a new ISO, using a remote or “bare-metal” method such iLO, and iDRAC. See Install Windows Server 2025 via iDRAC Virtual Media or PXE, and Upgrade Windows Server 2019 to 2022 via iDRAC.

To proceed, you have to ensure the ISO is attached to the VM as shown below. You can do this via In VM Settings, then navigating to the DVD Drive, click Browse and select your ISO. Next, double click on the setup to launch the OS installer

Run Setup 1

On the Windows Server Setup window, click on next.

Windows Server

Please see Fix Error 0x87E10BC6 on a PC running Windows non-core Edition, how to Fix Windows Server frequent disconnects and shutdown, and how to Convert Windows Server Datacenter to Standard: Install Windows Server via iDRAC Virtual Media.

Licensing Method

Seems some features are blocked until after activation. I usually enter the product key before installation. But you can also enter it after installation.

Note: The product key is needed because it verifies that your copy of the software is genuine and properly licensed

Licensing And Windows Setup 1

Select your desired image you wish to reinstall

Desktop Expeience

Please see Convert Windows Server Essentials or Evaluation to Retail Edition, how to Transfer Windows License from one PC to the other on Windows, and How to upgrade Windows Server Evaluation to Full Version

Choose what to keep

When you perform a factory reset and choose to keep your data. The system deletes all data on the system volume but retains data on other volumes.

  • Note: If the disk settings differ from the defaults, or if the system disk is unreadable or replaced. All data on the system drive will be deleted, even when keeping data. The new system disk must be larger than the original system volume

When you choose to delete all data, the reset removes the server configuration, system volume data, and all other hard drives. This option fully reformats all disks and is recommended when decommissioning or repurposing the server.

I do not want to keep anything. Therefore, I will select nothing and click on Next.

Keep Nothing

On the Ready to Install wizard, click on “Install” as shown below.

Installing OS

Windows Server is currently installing.

OS Installation

When prompted to enter your password, type in a very strong password and do not forget to re-enter the password and click on Finish.

Customize Settings

Please see Manage Windows Product key with Software Licensing Manager, and Windows could not start the SQL Server service on local computer 17051: A network-related or instance-specific error occurred while establishing a connection to SQL Server.

Post OS Configuration

In this steps, we wil apply Windows update, join the device to the domain, change the time zone etc.

Note: If you specify a router DNS server as shown below. You have have issues joining the domain. You may have to take it off by specifying the DNS server IP . This is sufficient.

Tcp

TCP/IPv4 configured correctly.

Remove Alternate Dns

Since we do not have proper DNS name resolution in place yet, we need to enable NetBIOS over TCP/IP. This allows devices on the network to resolve each other’s names using NetBIOS. Thereby, ensuring communication and resource access until DNS is fully configured.

Netbios

Change the device description and computer name and join the device to the domain.

Enter Cred To Join Domain

Fix the specified domain does not exist or could not be contacted

If you are having issues joining the computer to the domain with the error “The specified domain does not exist or could not be contacted”. Please follow the steps below to fix it.

Error Occured While Attemptiong To Join The Domain

Since I previously had to deal with DNS and IP addresses issues. Since this error occurs after the credentials prompt. This points to “Communication” failure rather than a “Finding” failure.

Since I changed the DNS settings from 192.168.2.1 to the above TCP/IPv4 parameters. The server still has a “negative cache”. To fix this, we will have to flush DNS with the command below.

ipconfig /flushdns
Flush Dns And Reset 1 1

As you can see, we are able to join the server to the domain again.

Welcome To Domin

You will be prompted to restart. Please follow the prompts and do not forget to change the time zone and also apply Windows updates.

Restart

FAQs

Why doesn’t Microsoft recommend in-place upgrades for Domain Controllers?

In-place upgrades preserve legacy configurations, misconfigurations, and potential AD database corruption. Microsoft prefers deploying fresh binaries on a new DC to reduce risk.

Can SYSVOL or Group Policy break during an in-place DC upgrade?

Yes. Upgrades can leave SYSVOL inconsistent or break Group Policy replication silently. A new DC rebuilds SYSVOL cleanly from a known-good source.

What are the security risks of upgrading a single DC in place?

Domain Controllers hold Kerberos keys, trust secrets, and FSMO roles. If an upgrade fails, it increases the blast radius, risking USN rollback or lingering objects.

How many DCs should a domain have during upgrades?

Always at least two. A second DC ensures safe FSMO transfer, replication, and hostname/IP reuse. Single-DC environments have no safe rollback path.

What is the recommended process to replace a DC?

Deploy a new server, perform domain join. Then promote to DC and transfer FSMO roles. Lastly, demote old DC and optionally reuse hostname/IP on fresh OS based on your need.

I hope you found this article on how to “Reset or reinstall Windows Server without deleting the VM” very useful. Please, feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Enter Product Key, Fix the specified domain does not exist or could not be contacted, how to reset Windows Server without losing VM, Ipconfig flushdns, Post OS Configuration, Reinstall Windows Server, reinstall Windows Server safely, Reset or reinstall Windows Server without deleting the VM, Reset Windows Server, reset Windows Server VM without data loss, Resetting the server to factory default settings, Windows Server Post OS Configuration, Windows Server reinstall

Post navigation

Previous Post: Build a New DC vs Swing Migration: Upgrade Server OS Correctly
Next Post: AZURE Kubernetes Service (AKS) upgrade minor version from 1.32.3 to 1.33.7

Related Posts

  • screenshot 2020 04 04 at 01.38.38
    Fix Failed to create scheduled task due to Windows Server Management service issue Windows Server
  • screenshot 2020 03 13 at 20.24.17
    How to install Cygwin packages from the command line Windows Server
  • Screenshot 2021 01 22 at 23.27.30
    How does Bitlocker Network Unlock work? Windows Server
  • domain14 1
    How To Configure a Domain Password Policy Windows
  • sql server installation
    How to Install all Editions of Microsoft SQL Server 2025 Oracle/MSSQL/MySQL
  • GPO 2
    Why GPO is not the best solution for managing Windows updates Windows Server

More Related Articles

screenshot 2020 04 04 at 01.38.38 Fix Failed to create scheduled task due to Windows Server Management service issue Windows Server
screenshot 2020 03 13 at 20.24.17 How to install Cygwin packages from the command line Windows Server
Screenshot 2021 01 22 at 23.27.30 How does Bitlocker Network Unlock work? Windows Server
domain14 1 How To Configure a Domain Password Policy Windows
sql server installation How to Install all Editions of Microsoft SQL Server 2025 Oracle/MSSQL/MySQL
GPO 2 Why GPO is not the best solution for managing Windows updates Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Prevent the downloads of apps without password on App store
    Download Apps without passwords on App Store Mac
  • Delete VM and Storage in Proxmox
    How to delete a VM and Storage in Proxmox Virtualization
  • Remove Frequently Used Folders from Quick Access in Windows 11
    How to Remove Frequently Used Folders from Quick Access in Windows 11 Windows
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • Copilot Microsoft
    How to Disable Copilot in Windows and Microsoft Edge Windows
  • Screenshot 2020 06 22 at 11.33.46
    How to fix Bluetooth not available on MacBook Mac
  • Featured image externaldis
    How to fix the external display not working on Windows 11 Windows
  • BitLocked suspended and resumed
    Query MBAM-protected Client for non-compliance [Part 2] Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,813 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.