Recovery partition will be visible in certain tools, like Disk Management, but can be hidden in Explorer or various other programs that might display it.
The common steps are:
- Right click the Start menu and select Disk Management.
- Locate the partition you’d like to hide and click to select it.
- Right-click the partition (or disk) and select Change Drive Letter and Paths from the list of options.
- Click the Remove button.This won’t delete anything.
- Click Yes on the warning confirming you’d like to hide the disk or partition. If the drive is currently in use, you’ll need to restart your PC after this step.
If we want to use diskpart command:
Run Command Prompt as Administrator
Run this command and hit Enter
diskpart
Run this command and hit Enter
list volume
Note down the letter associated with that new drive
Run these commands one at a time and hit Enter (replace X with the correct drive letter)
select volume X
remove letter=X
Close Command Prompt and restart your PC
Source:
https://answers.microsoft.com/en-us/windows/forum/windows_10-files/remove-driver-letter-for-oem-partition/58ced1a5-9604-4ac2-a96b-c53f73c14f71
Similar case:
Windows 10 after restoring the system from an image in a recovery partition, assigns it a letter
https://superuser.com/questions/1455292/windows-10-after-restoring-the-system-from-an-image-in-a-recovery-partition-ass
Please note: With MBR disks attributes HIDDEN, READONLY and NODEFAULTDRIVELETTER are applied to the whole disk
-------------------------------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
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.