How to Remove Azure Arc from Server 2025 [Detailed Steps]
You may looking for a way to remove Azure Arc from Server 2025, when you begin this process, you can use Azure Portal and PowerShell to uninstall Azure Arc.
What Is Azure Arc
Azure Arc is a service provided by Microsoft that allows users to scale Azure services on Hot River infrastructure, including local data centers, multi-cloud environments and edge devices. With Azure Arc, users can centrally manage and secure a variety of resources, including virtual machines, containers, databases, and Kubernetes clusters. It simplifies governance and management by providing a unified management platform and consistent policy enforcement, allowing users to achieve greater flexibility and consistency across environments.
How to Remove Azure Arc from Server 2025
If you need to remove Azure Arc from Server 2025, you can follow the steps below.
1. Disconnect the Server from Azure Arc
Azure Arc agents enable the server to communicate with Azure services. Disconnecting Azure Arc from a server is the first step in removing it.
▶Log in to the Azure Portal, go to the Azure Arc, and find the specific server you want to remove. Then select the server, click Manage, and choose Remove Roles and Features to stop its association with Azure Arc.
▶Also, you can use the PowerShell Command to Disconnect, run the following command locally on the Server to unregister it:
2. Uninstall the Azure Connected Machine Agent
Uninstalling the Azure Connected Machines Agent removes Azure Arc functionality from the Server.
✦Via Control Panel: Open the Control Panel, navigate to Programs and Features, and then locate and uninstall the Azure Connected Machine Agent.
✦Via PowerShell: Use the following command to uninstall the agent:
✦Remember to replace {GUID} with the specific package ID for the agent. To find the ID, you can use:
3. Remove Associated Configuration and Dependencies
Check for any related configurations or dependencies installed alongside Azure Arc.
★Delete Arc Policies or Extensions: If you have applied Azure policy assignments or installed extensions through Azure Arc, delete these configurations or extensions from the Azure portal before proceeding.
★Delete local files: Navigate to the folder where the Arc agent is installed and delete any remaining files.
PS: the folder typically in C:\Program Files\AzureConnectedMachineAgent.
4. Verify Removal
After completing the above steps, ensure the server is fully removed from Azure Arc.
◆Azure Portal: Confirm that the Server no longer appears in the Azure Arc resource list.
◆Local Checks: Verify that no Azure Arc service or agents are running:
Uninstall Azure Arc Using GUI
Besides Azure Portal and PowerShell, you can also use GUI to remove Azure Arc from Server 2025, the following are some simple steps.
step 1. Open the Settings app on the machine and select System, then select Optional features.
Step 2. Select AzureArcSetup, and then select Remove.
Step 3. To uninstall Azure Arc Setup from a Windows Server 2025 machine from the command line, run the following line of code:
To Ensure Security: Backup after Uninstall Azure Arc
Windows Server 2025 is the next iteration of Microsoft's server operating system, designed to provide stronger performance, security, and scalability for modern IT environments. Azure Arc provides powerful security and monitoring tools, but after Server 2025 removes Azure Arc, these security tools will no longer be available, and some data will be exposed to danger, so it is necessary to use backup tools to ensure data security. AOMEI Cyber Backup can provide you with a secure backup solution that centrally manages and protects various virtual machines, databases, and physical machines.
More features you can enjoy while using AOMEI Cyber Backup:
🔰Comprehensive SQL Backup: It is capable of backing up Microsoft SQL databases and all objects, including configurations, architectures, logs, authentication, commands, clusters, and more.
🔰Incremental and Differential Backup: It supports incremental and differential SQL backup to only backup newly added data or changed data to save time and space.
🔰Fast Backup and Recovery: Its ability to automate at breakneck speeds and also recover quickly from disasters is critical to business continuity.
🔰User-friendly Interface: It provides an intuitive and easy-to-navigate interface to simplify the backup process.
Simple Steps to Secure Windows Server with AOMEI Cyber Backup
Step 1. Sign in AOMEI Cyber Backup, then access to Source Device > Agents > + Add Agent. Download and install AOMEI Cyber Backup agent.
Step 2. Add your Windows device in the AOMEI Cyber Backup web console under the Source Device section.
Step 3. Navigate to the Backup Task area, create a new task, and choose your preferred Backup Type – System Backup (VMware ESXi Backup/Hyper-V Backup/Microsoft SQL Backup/Disk Backup/Partition Backup).
- Choose the device system you want to back up.
- Specify backup to external hard drive, local drive, or network share.
- Archive the system backup to cloud service Amazon S3.
- Set up an automatic backup schedule. Select the type of backup (full/incremental/differential) and backup frequency as daily/weekly/monthly.
- Specify the retention policies to delete old backups automatically.
Step 4. Click Start Backup and select Add the schedule and start backup now, or Add the schedule only.
Step 5. In the event of data loss, initiate the recovery process by clicking on Backup Task, locating the task to restore, and selecting the appropriate restore option.
Conclusion
After following the above steps, you can successfully remove Azure Arc from Server 2025 and ensure that the server is completely independent of Azure's management ecosystem. To ensure the security of your data, you can use AOMEI Cyber Backup to back up your data after uninstalling Azure Arc.