卸载OneDrive后出现无法访问的E盘(BitLocker提示未检测到有效USB key),寻求访问或挂载方法
Hey there, let's work through this tricky E-drive issue that popped up after you uninstalled OneDrive. That "valid USB key wasn't detected" message makes it clear this partition is BitLocker-encrypted—it’s almost certainly a leftover from OneDrive’s local sync setup that used encryption. Here’s how you can tackle it:
First, get clear on the partition details
Start by confirming exactly what this E-drive is:
- Press
Win + Xand pick Disk Management from the menu. - Look for the E-drive here: note its size, whether it’s marked as "BitLocker Encrypted", and its status (like "Locked"). This will help you pick the right next step.
Option 1: Locate and use your BitLocker recovery key
If you had BitLocker enabled for this OneDrive sync partition, you might have a recovery key saved somewhere:
- Check your Microsoft account: If you linked your PC to a Microsoft account when setting up BitLocker, the recovery key is probably stored in your account’s device settings (look for "BitLocker recovery keys" under your device details).
- Check physical backups: Did you print the recovery key, save it to a separate USB drive, or store it in a text file on another drive?
- Once you have the key: Right-click the E-drive in File Explorer, select Unlock BitLocker, then enter the 48-digit recovery key. That should unlock the drive so you can access its contents.
Option 2: Format the drive if you don’t need the data
If you can’t find the recovery key and don’t care about any data on the E-drive, you can format it to reuse the space:
- Right-click the E-drive in File Explorer and choose Format.
- Pick NTFS (the standard file system for Windows), add a label if you want, then click Start. Heads up: This will erase everything on the drive, so only do this if you’re sure you don’t need the data.
Option 3: Use DiskPart to clean up the residual partition
If formatting doesn’t work or you want a more thorough cleanup, use the DiskPart command-line tool:
- Open Command Prompt as an administrator (search "Command Prompt" in Start, right-click and select Run as administrator).
- Type
diskpartand hit Enter. - Next, type
list diskto see all connected disks. Find the disk number that matches your E-drive’s size (from Disk Management). - Type
select disk X(replace X with your disk number) and press Enter. - Type
list partitionto view all partitions on that disk. Find the partition number for your E-drive. - Type
select partition Y(replace Y with your partition number) and hit Enter. - Finally, type
delete partition overrideand press Enter. This will force-delete the partition, and you can then create a new, usable partition in Disk Management.
备注:内容来源于stack exchange,提问作者Francesco Mantovani

