小编
Published2025-10-15
Understanding Azure Arc and the Need for Removal
Azure Arc is a set of technologies from Microsoft designed to bring Azure's management and governance capabilities to on-premises, multi-cloud, and edge environments. By connecting your local servers, Kubernetes clusters, and databases to Azure, it allows organizations to apply Azure services, such as security, monitoring, and automation, to resources that are not natively in Azure. This gives your IT team a centralized, cloud-based control plane, making management much simpler.

However, there may come a time when you no longer need Azure Arc integrated with your Windows Server 2022 setup. Whether you're transitioning to a different management solution, retiring Azure Arc from your environment, or simply needing to troubleshoot an integration issue, removing Azure Arc from Windows Server 2022 is straightforward, but it requires careful planning to avoid potential disruptions to your systems.
Here, we’ll walk through the steps to remove Azure Arc from your Windows Server 2022 environment, ensuring you can revert back to your local management solution without any issues.
Before jumping into the how-to, it’s essential to understand why someone might want to remove Azure Arc:
Shift to Local Management: If your organization decides to bring everything back on-premises without cloud integration, disconnecting from Azure Arc might be necessary.
Cost Control: While Azure Arc offers many benefits, maintaining the connection to Azure can incur costs, particularly for non-essential services. If Azure Arc isn’t being fully utilized, it’s prudent to remove it to avoid additional charges.
Cloud Strategy Changes: If your company is shifting away from Azure and opting for a different cloud provider or hybrid solution, you'll need to remove Azure Arc to ensure smooth operation with other cloud platforms.
Troubleshooting and Reset: Sometimes, disconnecting and removing Azure Arc helps resolve integration issues or system bugs. If you've encountered issues with Azure services, starting fresh without Azure Arc may help.
Preparing Your Environment for Azure Arc Removal
Before removing Azure Arc from your Windows Server 2022, you need to ensure your system is ready for the removal process. Here’s a checklist:
Backup Your Data: It’s always good practice to back up your server data and configurations before making significant changes. This will protect you against unexpected failures during the removal process.
Document the Current Setup: Take note of all Azure Arc configurations, including connected resources and services. This helps in troubleshooting if something goes wrong later.
Check Azure Dependencies: Ensure that no critical services or configurations are relying on Azure Arc. Disabling certain features might affect your environment, so a review of dependencies is essential.
Step 1: Unregistering the Server from Azure Arc
The first step in removing Azure Arc is to unregister your server from the Azure Arc control plane. Here’s how to do it:
Open PowerShell on the Server:
On your Windows Server 2022, open PowerShell with administrative privileges. You’ll need this to run the commands that unregister the server from Azure Arc.
Use the Azure CLI or PowerShell Module:
If you haven’t installed the Azure Arc PowerShell module or Azure CLI yet, you can do so by running:
Install-Module -Name Az.ConnectedKubernetesCluster
This is required to interact with your Azure resources.
You will need to authenticate your session with your Azure account to proceed with unregistering the server. Run:
Once authenticated, you can unregister your Windows Server 2022 from Azure Arc by using the following command:
az connectedk8s delete --name --resource-group
Replace and with the name of your server’s associated resources. This command will effectively sever the connection between your server and Azure Arc.
Completing the Removal and Verifying Deactivation
Step 2: Removing Azure Arc Resources from Azure
After successfully unregistering the server from Azure Arc, the next step involves removing any remaining resources on Azure. These may include configurations, monitoring settings, or even specific management services. Here's how you can clean up these resources:
Head over to the Azure Portal. Navigate to the Azure Arc section under "Hybrid + Multicloud."
Locate your Windows Server 2022 within the Azure Arc section. This can typically be found under “Servers” or “Connected Resources.”
Delete Connected Resources:
Once you locate the resources connected via Azure Arc, you can delete them manually. This includes deactivating any monitoring or security services that were set up.
Ensure that the resources tied to Azure Arc are no longer active. Check for any residual monitoring, alerts, or log data that may still be linked to your server. You might want to run a query or two to confirm there’s no data being transmitted back to Azure.
Step 3: Remove Azure Arc-Related Agents from the Server
Even after disconnecting from Azure, some agents may still be running on your Windows Server 2022. These agents help facilitate the management tasks Azure Arc performs. To ensure complete removal, you need to uninstall these agents:
Open Programs and Features:
Navigate to "Control Panel" > "Programs" > "Programs and Features" on your server.
Uninstall the Azure Arc Agent:
Look for any Azure Arc-related agents or software packages in the list. These could include the Azure Connected K8s agent or the Azure Arc-enabled data services agent. Select each of these and uninstall them one by one.
After uninstalling, verify that no services related to Azure Arc are still running on your system. You can check this by using the following PowerShell command:
Get-Service | Where-Object { $_.DisplayName -like "*Azure Arc*" }
This will list any remaining services tied to Azure Arc. If there are any, stop and remove them using the corresponding Stop-Service and Remove-Service commands.
Step 4: Final Verification and Testing
At this point, you should have successfully removed Azure Arc from your Windows Server 2022. To verify the complete removal, follow these final checks:
Ensure your server is still fully functional and accessible for local management. This means verifying remote desktop functionality, local system management tools, and access to server applications.
Check for Connectivity Issues:
If you were relying on Azure Arc services for certain integrations, test your server’s connections and services to ensure everything is working properly without Azure Arc.
Confirm No Residual Connections:
Perform a final check in the Azure portal to make sure there are no lingering connections, resources, or configurations tied to your server.
Review your system logs for any unexpected errors related to the removal process. This helps ensure that everything is functioning as expected without Azure Arc dependencies.
Removing Azure Arc from your Windows Server 2022 environment is a straightforward process, but it’s important to approach it methodically. By following the steps outlined in this guide, you can ensure that Azure Arc is fully removed from your server and that your local infrastructure is unaffected. This not only streamlines your management environment but also helps prevent unnecessary costs and dependencies on Azure cloud services.
Whether you're moving away from Azure Arc for cost-saving reasons, troubleshooting integration issues, or preparing for a different cloud strategy, these steps will help you make the transition smoothly.
Kpower has delivered professional drive system solutions to over 500 enterprise clients globally with products covering various fields such as Smart Home Systems, Automatic Electronics, Robotics, Precision Agriculture, Drones, and Industrial Automation.
Update:2025-10-15
Contact Kpower's product specialist to recommend suitable motor or gearbox for your product.