---
title: Fixing An Identical SID While Joining An Active Directory Domain
url: https://docs.vultr.com/fixing-an-identical-sid-while-joining-an-active-directory-domain
description: Learn how to resolve the identical Security Identifier (SID) issue when joining a computer to an Active Directory domain with our step-by-step troubleshooting guide.
publish_date: 2020-10-01T00:00:00Z
last_updated: 2025-01-14T16:50:12.149223Z
header_image: https://assets.vultrdevrel.com/docs-main-doc-assets-1/242/6eb418b4bd81b75e.png
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

When you are setting up a new Active Directory forest and are trying to add a client to a domain, the following error may come up:

![](https://assets.vultrdevrel.com/docs-main-doc-assets-1/242/a4092f9ef19c0f7f.png)

"The domain join cannot be completed because the SID of the domain you attempted to join was identical to the SID of this machine."

This error indicates that the Security Identifier (SID) of the domain controller is identical to the client machine's SID. A common cause of this issue is using a restored snapshot or a cloned machine without properly regenerating the SID. This guide explains the steps for fixing an identical SID while joining an Active Directory domain, ensuring a smooth and error-free domain join process.

## 1. Reset the Windows SID

**Note**: Vultr is not responsible for data loss or other unexpected updates to the system. **Make a backup of the system before performing this action!**

We will need to generate a new SID by resetting the current one on the client computer. We can do this by using the **sysprep** tool, which will reset some elements of your system.

Sysprep is located in `C:\Windows\System32\Sysprep\sysprep.exe`. 

1. Double-click the .exe file to launch sysprep.
1. Change the System Cleanup Action to **Enter System Out-of-Box Experience (OOBE)** 
1. Select **Generalize**.
1. Set Shutdown Options to **Reboot**.

    ![](https://assets.vultrdevrel.com/docs-main-doc-assets-1/242/ccbf8ef4c536c924.png)

1. Click "OK".

## Step 2: Installation

Please wait while the system is generating its new SID. Check the online console regularly, as you will have to walk through the installation process. When the process is complete, please try joining the domain again.

## Resources

See the [Microsoft Sysprep documentation](https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep--generalize--a-windows-installation) for more information.
