A Microsoft file hosting and synchronization service.
Use this order:
- Remove the work or school account from Windows on the friend’s PC:
- Open Settings > Accounts > Access work or school.
- If the old university account appears there, select it and choose Disconnect.
- Confirm with Yes.
- This removes the sign-in information and data from that device; it does not delete the account itself.
- If the account is only visible under OneDrive, remove it from OneDrive:
- Select the OneDrive cloud icon in the notification area.
- Select Help and Settings > Settings.
- Open the Account tab.
- Select Unlink this PC > Unlink account.
- This does not delete files from OneDrive on the web.
- If the account still keeps reappearing or sign-in is stuck, clear cached credentials on that PC:
- Press Windows key + R.
- Run:
%localappdata%\Microsoft\OneDrive\settings - Delete PreSignInSettingsConfig.json.
- Then start OneDrive again.
- If that still does not resolve it, uninstall and reinstall OneDrive on the friend’s PC.
- This can clear stale account state.
- Files are not lost by disabling or uninstalling OneDrive; they remain accessible on OneDrive on the web.
- If the old school account still shows in Windows and only Manage appears instead of Disconnect, contact the organization’s IT helpdesk, service desk, or admin for the work/school account.
Important notes for this scenario:
- Changing the password alone does not remove the account from Windows or OneDrive on that PC.
- Removing or disconnecting the account from the device removes local sign-in information from the device, not the Microsoft account itself.
- If the account is a work or school account, device/account cleanup may need to be completed from Access work or school, not from Microsoft account device pages.