Thank you for posting your question in the Microsoft Q&A forum.
Regarding your issue, this occurs because system settings were changed during troubleshooting specifically drive encryption (BitLocker/Device Encryption) was enabled or reconfigured, causing drives to lock after restart. Unlinking OneDrive only stops syncing and does not remove existing local folders. The Windows key issue is a separate system or keyboard setting/driver change made during the repair process.
Here are a few steps you can try:
- Disabling BitLocker
- Open Control Panel > System and Security > BitLocker Drive Encryption.
- Select the drives containing your data and click Turn off BitLocker.
- Note: Decryption can take a while depending on the drive size. Do not power down the machine during this process.
- For more details, please refer to: Disable BitLocker
- Cleaning up the OneDrive folder
- Open your C:\Users[your folder name]\OneDrive folder.
- Select the entire OneDrive > Right click > Always keep on this device or copy your folders (Documents, Pictures, etc.) and paste them into the local parent directory (C:\Users[your folder name]).
- Once the files are moved, the "OneDrive" folder is empty which you can delete.
- Run appwiz.cpl > Uninstall OneDrive.
- For more details, please refer to: Turn off, disable, or uninstall OneDrive
- Troubleshooting the Windows Key
- Many keyboards have a physical shortcut (often Fn + Windows Key or a button with a joystick/padlock icon) that disables the key for gaming.
- Navigate to Settings > Accessibility > Keyboard. Ensure Filter Keys is toggled OFF.
- Open Task Manager (Ctrl + Shift + Esc), find Windows Explorer, right-click it, and select Restart.
Hopefully it will help work with your issue and if you have any other questions or need further assistance, feel free to ask.
Please understand that our forum is a public platform, and we will modify your question to cover your personal information including your folder name in the description. Please notice to hide this personal information next time you post error or some information to protect personal data.
I have moved the information to the Private message if you need to add any more privacy information please add it in the Private message.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.