Windows 10: Removing "Work or school account" when "This PC isn't joined to a domain."

Discus and support Removing "Work or school account" when "This PC isn't joined to a domain." in AntiVirus, Firewalls and System Security to solve the problem; Hi folks - My administrative Microsoft/personal account on our home PC somehow got associated with Azure AD a few months back, and so in Windows... Discussion in 'AntiVirus, Firewalls and System Security' started by Wade Dorrell, Jan 26, 2021.

  1. Removing "Work or school account" when "This PC isn't joined to a domain."


    Hi folks -


    My administrative Microsoft/personal account on our home PC somehow got associated with Azure AD a few months back, and so in Windows Settings "Email & accounts" now shows both the Microsoft account and a "Work or school account" under "Accounts used by other apps." I was first alerted to this by repeated notifications that the password on the work or school account was about to expire.


    That Azure AD now no longer exists, nor do the credentials - I deleted the AD/tenant completely using portal.azure.com, once I figured how to gain administrative using portal.office.com the credentials/AD must've been created as part of some Office trial?


    How do I remove the work/school association from the account on the PC, though? Do I just need to wait a while, now that the AD no longer exists? Or can it be removed proactively?


    I've tried -

    • Under "Access work or school" in Settings, clicking "Disconnect" on the "Connected to <domain>'s Azure AD" entry. That just results in "This PC isn't joined to a domain." Same error would show when I did this prior to deleting the AD, too.
    • Running DsRegCmd /status and DsRegCmd /leave /debug. These command seem to show approximately the same information/trouble as Settings does - WorkplaceJoined:YES on the user state, a "Work Account 1" that appears to be what I'd like to remove, and "AzureADJoined:NO" for device state. /leave says "the NGC for the current user is being removed. To remove all rerun as SYSTEM" and doesn't seem to change anything about what DsRegCmd /status shows, not that I'd expect it to since it's not joined, and neither does running it as system, not that I'd expect that to make a difference since this seems an account-specific matter.


    I will not try, so please do not recommend -

    • Converting this account to a local account temporarily to try disconnecting then. I will not do this because I don't want to suffer any later consequences of this account temporarily being local - it has never been local before. It seems logical there'd be another option.


    What else can I try? Thanks!

    :)
     
    Wade Dorrell, Jan 26, 2021
    #1

  2. Can't remove a Work or School account from Windows 10

    This scenario occurs when you sign in with a personal Microsoft Account, and then add a Work or School organisational (Office 365) account.

    The aim is to remove a Work or School Account from the PC, so that a different Work or School account can be used.

    You should be signing in with a Personal Microsoft Account, and the PC should not be on a domain to reproduce this.

    Steps to repro

    1. Create a login on the PC using your Personal Microsoft Account

    2. Open Settings > Accounts > Access work or school

    3. Click "Connect"

    4. Enter the details for your Work or School Organisational Account (NOT another Personal MSA)

    This will then pull down the policy etc. and link the account to Windows. Seems to work fine, but then if you want to remove the account it is impossible. Try this:

    1. Open Settings > Accounts > Access work or school

    2. Click on the Organisational account you added previously

    3. Click on "Disconnect"

    4. A prompt will appear asking if you are sure

    5. Click Yes

    6. A further prompt will appear asking you to disconnect from the organisation

    7. Click Disconnect

    8. A yellow error message says "This PC isn't joined to a domain"

    This does not appear to be the correct behaviour - It should be possible to remove the account here. The message is technically correct...The device is not on a domain, but this should not stop the account being removed.

    What I am trying to do, is disconnect one account and add a different one. Adding two Work or School accounts does not seem to work, so removing the old one first is the only option but this is impossible due to the above mentioned error.

    Anybody know how to get around this without wiping the whole device?

    Moved from: Windows / Windows 10 / Network & internet / PC
     
    Danieltharris, Jan 26, 2021
    #2
  3. Brink Win User
    Join Windows 10 PC to a Domain  


    @rseiler,

    I just finished clean installing Windows 10 Enterprise build 17093 in a VM using a local account, and it still has the same steps in the tutorial for me.

    Is your PC already joined to a domain?


    Removing "Work or school account" when "This PC isn't joined to a domain." [​IMG]
     
    Brink, Jan 26, 2021
    #3
  4. Removing "Work or school account" when "This PC isn't joined to a domain."

    Can same PC have domain-joined and non-domain-joined accounts?

    Can the same PC have one account set up that's domain-joined (to work), and another personal account that's NOT domain-joined?

    I'm guessing the answer is more likely no, since domain seems to be a machine-level and not an account-level setting.

    What I'd like to be able to do is use my personal PC at home, with its large monitor, to connect to my work domain occasionally and work remotely. But I don't want corporate IT to take over my personal PC. ;-)

    Thanks!

    -Doug
     
    douglasl4321, Jan 26, 2021
    #4
Thema:

Removing "Work or school account" when "This PC isn't joined to a domain."

Loading...
  1. Removing "Work or school account" when "This PC isn't joined to a domain." - Similar Threads - Removing school account

  2. Work or school account issue when there isn't one

    in Windows 10 BSOD Crashes and Debugging
    Work or school account issue when there isn't one: As you can see it says one of my account requires attention however when I press fix now this pops up:When I click on the account it just loads and comes back to the same screen!...
  3. Joining the pc to domain issues

    in Windows 10 Customization
    Joining the pc to domain issues: Hi In our company ,when we join the pc to domain then user login with is credentials getting error that search & windows option is not getting and after restart the pc getting error black screen.please let me know solution for this....
  4. Removing "Work or school account" when "This PC isn't joined to a domain."

    in Windows 10 Customization
    Removing "Work or school account" when "This PC isn't joined to a domain.": Hi folks - The administrative Microsoft/personal account on our home PC somehow got associated with an Azure AD a few months back, and in the process this account now shows both the Microsoft account and a "Work or school account" under "Email & accounts" in Windows...
  5. Time on domain joined laptops isn't updating

    in Windows 10 Customization
    Time on domain joined laptops isn't updating: Hello, In the last 6 months it has become apparent that our laptops are not updating whenever GMT/BST changes +/- 1 hour. Once laptops are back on the LAN in the office, they update fine. I'm assuming there is a GPO/setting i can set/change that will make them pull the...
  6. Strange Local Administrator Accounts on Domain Joined PC

    in Windows 10 Customization
    Strange Local Administrator Accounts on Domain Joined PC: Hi, I am an IT specialist for a local public school in my area, I recently noticed two Administrator Accounts on my Windows 10 Machines, these are local Admin Accounts and NOT Domain accounts. They are tvsu_tmp_sgqtaSOXDD, and tvsu_tmp_tyrhxDHARR, I am attaching a...
  7. Cant remove work/school account

    in Windows 10 Customization
    Cant remove work/school account: Greetings, for past few hours i've been trying to remove my school account but sadly no luck so far. it just keeps telling me "this work or school account cannot be removed by system policy" i tried signing in with a local account and then disconnecting my school...
  8. Remove work or school account from PC

    in Windows 10 Customization
    Remove work or school account from PC: I have connected my school account to my PC a few weeks ago and now I'm realizing that some of my settings on my PC are controlled by my school. For example, I can not use a PIN in order to log on since my "organization" controls that setting. I have tried to remove the...
  9. Remove an account from school pc.

    in Windows 10 Ask Insider
    Remove an account from school pc.: Okay so I signed in to Microsoft PowerPoint on a school pc a few weeks ago and now it has signed me into windows. I have tried to do it my self but to no avail. there is no button for removing the account but I have removed the email. I live in Denmark but I don't know if...
  10. Can same PC have domain-joined and non-domain-joined accounts?

    in Windows 10 Network and Sharing
    Can same PC have domain-joined and non-domain-joined accounts?: Can the same PC have one account set up that's domain-joined (to work), and another personal account that's NOT domain-joined? I'm guessing the answer is more likely no, since domain seems to be a machine-level and not an account-level setting. What I'd like to be able to...