How to Remove an Organization From Windows 11

To remove a work or school connection from Windows 11, open Settings > Accounts > Access work or school, expand the account, and select Disconnect. Read the warnings before confirming. If you use that organization account to sign in to Windows, prepare a working local administrator account first.

This guide covers your own personal PC with an old work or school connection, and leaving a Microsoft Entra joined device with your organization’s approval. Microsoft Entra ID is the organization identity service formerly called Azure Active Directory. A PC owned or managed by an employer or school must be released by its IT team, and a PC joined to an on-premises domain needs IT’s offboarding process too. Windows 10 uses the same page, but it reached end of support on October 14, 2025.

Check What Kind of Connection You Have

Open Start, type cmd, open Command Prompt, and run dsregcmd /status. Under User State, WorkplaceJoined: YES means a registered account, which usually comes from accepting a prompt in Outlook or Teams on a personal PC. Under Device State, AzureAdJoined: YES means the PC is Entra joined, and DomainJoined: YES means a traditional domain join that IT must handle.

Microsoft’s dsregcmd reference explains each field, and there are other ways of finding the domain name in Windows 11 if you just want to check domain membership.

Command Prompt showing dsregcmd status with AzureAdJoined and DomainJoined values
This example shows AzureAdJoined and DomainJoined set to YES. Organization details are hidden.

Before You Disconnect

Save your work and back up files you need to keep, including permitted work files that are only available through a company account. Make sure you can open the backup. Disconnecting is not a factory reset, but Microsoft warns that it can cause data loss.

For an Entra joined PC, Microsoft requires an offline local administrator account before leaving the organization. Test its password before you disconnect, because your organization sign-in stops working on this PC. If you need help preparing one, follow the steps for creating a local Windows 11 account and giving an account administrator rights.

If the PC uses BitLocker, keep an accessible copy of its recovery key. Microsoft’s device-retirement guidance calls out both recovery keys and local administrator credentials. Ask IT for the approved offboarding procedure when either is controlled by the organization.

Disconnect the Account in Windows 11

  1. Open Settings from Start and select Accounts. You can also press Windows key + R, type ms-settings:workplace, and press Enter to go straight to the right page.
  2. Open Access work or school. Find the connection for the organization you want to leave.
  3. Select the connection or its dropdown arrow to reveal its controls. Verify the account or organization name.
  4. Select Disconnect. Read the confirmation message, then select Yes when you are ready.
  5. Follow any remaining prompts. When leaving an Entra joined device, supply the prepared local administrator credentials if Windows requests them.
  6. Restart if prompted. Microsoft requires a reboot to finish unjoining an Entra joined device. Sign in using the local account afterward.
Windows 11 Access work or school page with a connection expanded and Disconnect
Expand the connection, check its name, then select Disconnect.

These steps follow Microsoft’s Windows account instructions. When you go back to Access work or school, the connection you removed should be gone. Other work or school connections can stay listed. To double-check, run dsregcmd /status again and confirm the value that was YES now shows NO.

What Changes After Removal?

Disconnecting removes that connection and its sign-in data from this PC. It does not delete your work or school account, which may still work on other permitted devices.

If Intune managed the PC, unenrollment removes it from Company Portal and lifts required settings such as password length. Intune’s protection software is also removed, so open Windows Security and Windows Update afterward to confirm both are active.

If an old identity remains in Outlook, Teams, or another app, check that app’s account controls. App sign-ins are separate from Windows registration.

If Disconnect Is Missing or Blocked

  • Expand the correct connection. Email & accounts and Access work or school serve different purposes. Look under Access work or school for the device connection.
  • Sign in as an administrator. Leaving an Entra joined device needs local administrator credentials. Your organization password or Windows Hello PIN won’t work in place of the local account password.
  • Check with IT. An organization can block manual unenrollment, and those connections must be removed from the management server, so IT has to release the device.
  • Restart and try again. A pending update or sync can hold the connection. Restart the PC, then return to Access work or school.

The Info button on a managed connection may list support contacts. Give IT the connection name and exact error, never your password or recovery key.

Why “Managed by Your Organization” Can Remain

The “Managed by your organization” message means a policy is still set on the PC, and it doesn’t always come from the account you removed. Check these places, then restart the PC:

  • Settings > Accounts > Access work or school: make sure no other work or school connection is listed.
  • Settings > Accounts > Email & accounts: under Accounts used by other apps, select any old work account and choose Remove.
  • Settings > Windows Update > Advanced options > Configured update policies: this page lists update policies still set on the PC.
  • Microsoft Edge: type edge://management in the address bar to see whether the browser is still managed, and edge://policy to see which policies are set.
  • Other software: antivirus, VPN and parental-control apps can set policies too. Uninstall ones you no longer use.
  • If the PC is domain or hybrid joined, it needs a different process. The steps for joining or leaving a domain in Windows 11 cover it.

Some online fixes tell you to set EnableLUA to 0 or mass-delete policy registry keys. Skip them: an EnableLUA value of 0 turns off User Account Control, which weakens security without removing the organization, and deleting policy keys can break settings you still need.

On a personal PC that you own outright, with every connection already removed and a verified backup, Settings > System > Recovery > Reset this PC is a last resort that returns Windows to default settings. It won’t release a PC an organization still owns.

If a Used PC Asks for the Previous Organization During Setup

Contact the seller or previous organization and ask for the device to be properly released. Microsoft’s Windows Autopilot guidance says a device that permanently leaves an organization should be deregistered. Only the organization can finish that step, and repeated resets won’t replace it.

Organization Removal Questions

Can I reconnect later?

If the account is still active and your organization allows the device, return to Access work or school and select Connect. Follow the organization’s enrollment instructions. If the account or device has been blocked, reconnecting won’t restore access.

Will disconnecting delete my personal files?

Personal folders normally stay, but data loss is possible, and organization-provided apps and email can stop opening. Back up first.

How do I prevent an app sign-in from adding the account to my personal PC?

On the Microsoft Entra registration prompt, choose No, this app only if that suits your organization’s access requirements. That choice signs in only to that app without adding the account to Windows or registering the device. A company may still require managed-device access for its resources.

What if I no longer have the PC?

If a lost or sold PC still has your work account, sign in to your organization’s My Account device list and use Disable lost device, or ask IT to remove it.

Is switching to a local account the same thing?

A switch from a personal Microsoft account to a local account changes personal Windows sign-in. Leaving an organization connection is a different task. Choose the route that matches what appears under your Accounts settings.