How to permanently remove the drive letter and hide the OEM Partition in Windows 10?

  1. Run PowerShell with administrator privileges

    Search -> powershell

    Windows PowerShell -> Right click -> Run as administrator

     

  2. Akojọ ti ipin pẹlu drive awọn lẹta

    GET-WMIOBJECT win32_logicaldisk | FORMAT-TABLE

    Ṣe akọsilẹ ti awọn drive lẹta ti o fẹ yoo yọ. O yoo nilo yi nigbamii lati patapata yọ awọn drive lẹta.

    Nibi ti a ti wa ni yọ awọn lẹta F:

     

  3. Open Diskpart

    iru diskpart ni PowerShell ki o si tẹ Tẹ

     

  4. Akojö awọn gbangba lori rẹ PC

    iru lis dis lẹhin DISKPART> ki o si tẹ Tẹ

    o wu:

      disk ###  Ipo Iwon Free Dyn Gpt
      --------  -------------  -------  -------  ---  ---
      disk 0    online          476 GB    10 MB        *
      disk 1    online          931 GB      0 B        *
      disk 2    online         3726 GB      0 B        *
      disk 3    online            8 GB      0 B        *
    

     

  5. Select the disk that contains the partition for which you would like to remove the drive letter

    Here we are selecting Disk 0

    sel dis 0

     

  6. List the partitions on the selected disk

    lis par

    o wu:

      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Recovery           300 MB  1024 KB
      Partition 2    System              99 MB   301 MB
      Partition 3    Reserved           128 MB   400 MB
      Partition 4    Primary            475 GB   528 MB
      Partition 5    Recovery           450 MB   476 GB
        

     

  7. Select the partition that requires the removal of the drive letter

    Here we are selecting the Recovery partition 5

    sel par 5

     

  8. Remove the drive letter for the partition

    remo

 

The above will remove the drive letter. Windows will reassign the drive letter on reboot as the drive letter assignment will be in the registry.

If you would like to permanently remove the drive letter, then the registry needs to be modified.

Pataki AKIYESI: Iyipada awọn iforukọsilẹ ko tọ le patapata ba kọmputa rẹ. Lorun afẹyinti awọn iforukọsilẹ ati ki o pataki awọn faili ṣaaju ki o to tẹsiwaju.

  1. Ṣii awọn iforukọsilẹ Olootu

    Search -> regedit

    Tẹ bẹẹni fun awọn User Account Iṣakoso tọ

     

  2. Lilö kiri si awọn ti eka fun drive lẹta iṣẹ ni awọn iforukọsilẹ Olootu

    Computer\HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

    Find the letter that you would like to remove from the list

    Here we are removing the drive letter F:, therefore we want to delete \Dos\Devices\F:

    Right click the entry that you would like to delete -> Delete

     

  3. Restart the PC to apply the changes

     

Fi kan Fesi