SOLVED

How do I unlink my PC for an O365 tenant for which I can no longer log in?

%3CLINGO-SUB%20id%3D%22lingo-sub-10070%22%20slang%3D%22en-US%22%3EHow%20do%20I%20unlink%20my%20PC%20for%20an%20O365%20tenant%20for%20which%20I%20can%20no%20longer%20log%20in%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-10070%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20do%20I%20remove%20a%20sync%20for%20an%20old%20company%20that%20I%20no%20longer%20work%20for%20and%20no%20longer%20have%20a%20valid%20login%3F%20%26nbsp%3BMy%20OneDrive.exe%20client%20is%20still%20connected%20and%20wants%20me%20to%20log%20in%20every%20time%20I%20start%20my%20machine.%20%26nbsp%3BI%20would%20like%20to%20remove%20the%20connection%20so%20it%20no%20longer%20knows%20anything%20about%20that%20company%20but%20I%20don't%20see%20any%20way%20to%20do%20that%20without%20being%20able%20to%20log%20in%20to%20the%20O365%20tenant%20to%20unlink%20the%20PC.%20%26nbsp%3BThe%20blue%20cloud%20still%20shows%20in%20my%20Explorer%20menu.%20%26nbsp%3BMy%20password%20has%20long%20since%20expired%20and%20I%20no%20longer%20have%20a%20valid%20login%20to%20that%20tenant.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-60113%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20unlink%20my%20PC%20for%20an%20O365%20tenant%20for%20which%20I%20can%20no%20longer%20log%20in%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-60113%22%20slang%3D%22en-US%22%3EIs%20this%20still%20the%20best%20solution%3F%20I'm%20having%20this%20problem%20with%20the%2017.3.6799.0327%20client.%20I've%20got%20a%20few%20GBs%20of%20content%20synced%20with%20consumer%20OneDrive%20so%20I%20don't%20want%20to%20flush%20and%20fill%20and%20reconfigure%20everything%20if%20I%20can%20avoid%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-10083%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20unlink%20my%20PC%20for%20an%20O365%20tenant%20for%20which%20I%20can%20no%20longer%20log%20in%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-10083%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%2C%20that%20did%20the%20trick!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-10081%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20unlink%20my%20PC%20for%20an%20O365%20tenant%20for%20which%20I%20can%20no%20longer%20log%20in%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-10081%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Kevin%2C%3CBR%20%2F%3E%3CBR%20%2F%3EFrom%20your%20description%2C%20it%20seems%20that%20you%20are%20using%20the%20OneDrive%20for%20Business%20Next%20Generation%20Sync%20Client.%20Since%20you%20can%20no%20longer%20authenticate%20your%20Office%20365%20account%20to%20use%20the%20client%20normally%2C%20I%20suggest%20you%20uninstall%20the%20client%2C%20re-install%20it%20and%20use%20it%20with%20another%20active%20account.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20are%20using%20Windows%2010%2C%20I%20suggest%20you%20follow%20the%20steps%20below%20to%20uninstall%20it.%3CBR%20%2F%3E1.Log%20into%20your%20Windows%20system%20as%20Administrator%20%26gt%3B%20open%20command%20prompt%20%26gt%3B%20run%20taskkill%20%2Ff%20%2Fim%20OneDrive.exe%3CBR%20%2F%3E2.For%2064-bit%20Windows%2C%20run%20%25SystemRoot%25%5CSysWOW64%5COneDriveSetup.exe%20%2Funinstall%20to%20uninstall%20OneDrive%20(For%2032-bit%20Windows%2C%20replace%20SysWOW64%20to%20system32)%3CBR%20%2F%3E3.Access%20this%20path%3A%20C%3A%5CUsers%5Cyourname%5CAppData%5CLocal%5CMicrosoft%5COneDrive%20and%20empty%20all%20documents%20and%20folders.%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20uninstalling%2C%20please%20re-install%20it%20from%20%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FTransition-from-the-previous-OneDrive-for-Business-sync-client-4100df3a-0c96-464f-b0a8-c20de34da6fa%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FTransition-from-the-previous-OneDrive-for-Business-sync-client-4100df3a-0c96-464f-b0a8-c20de34da6fa%3C%2FA%3E%20.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-10079%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20unlink%20my%20PC%20for%20an%20O365%20tenant%20for%20which%20I%20can%20no%20longer%20log%20in%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-10079%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20response%20but%20that%20doesn't%20work%20because%20I%20don't%20have%20a%20blue%20cloud%20unless%20I%20can%20successfully%20log%20in%20to%20the%20tenant.%20%26nbsp%3BI%20don't%20have%20a%20valid%20password%20so%20I%20can't%20do%20that.%20%26nbsp%3BThere%20doesn't%20seem%20to%20be%20a%20way%20to%20unlink%20without%20actually%20logging%20in.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-10076%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20unlink%20my%20PC%20for%20an%20O365%20tenant%20for%20which%20I%20can%20no%20longer%20log%20in%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-10076%22%20slang%3D%22en-US%22%3E%3CP%3ERight-click%20on%20the%20blue%20cloud%20-%26gt%3B%20Settings%20-%26gt%3B%20Account%20-%26gt%3B%20Unlink%20this%20PC.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

How do I remove a sync for an old company that I no longer work for and no longer have a valid login?  My OneDrive.exe client is still connected and wants me to log in every time I start my machine.  I would like to remove the connection so it no longer knows anything about that company but I don't see any way to do that without being able to log in to the O365 tenant to unlink the PC.  The blue cloud still shows in my Explorer menu.  My password has long since expired and I no longer have a valid login to that tenant.

5 Replies
Highlighted

Right-click on the blue cloud -> Settings -> Account -> Unlink this PC.

Highlighted

Thanks for the response but that doesn't work because I don't have a blue cloud unless I can successfully log in to the tenant.  I don't have a valid password so I can't do that.  There doesn't seem to be a way to unlink without actually logging in.

Highlighted
Best Response confirmed by Kevin Hoyt (Frequent Contributor)
Solution

Hi Kevin,

From your description, it seems that you are using the OneDrive for Business Next Generation Sync Client. Since you can no longer authenticate your Office 365 account to use the client normally, I suggest you uninstall the client, re-install it and use it with another active account.

If you are using Windows 10, I suggest you follow the steps below to uninstall it.
1.Log into your Windows system as Administrator > open command prompt > run taskkill /f /im OneDrive.exe
2.For 64-bit Windows, run %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall to uninstall OneDrive (For 32-bit Windows, replace SysWOW64 to system32)
3.Access this path: C:\Users\yourname\AppData\Local\Microsoft\OneDrive and empty all documents and folders.

After uninstalling, please re-install it from https://support.office.com/en-us/article/Transition-from-the-previous-OneDrive-for-Business-sync-cli... .

Highlighted
Highlighted
Is this still the best solution? I'm having this problem with the 17.3.6799.0327 client. I've got a few GBs of content synced with consumer OneDrive so I don't want to flush and fill and reconfigure everything if I can avoid it.