15 Eylül 2022 Perşembe

Windows mountvol komutu

/p seçeneği - remove the volume
Örnek
Şöyle yaparız
1. Enter mountvol to list all the volumes. D should look something like -
   \\?\Volume{b77a3ed1-0651-5gdf-90b1-d1a3672d96e4}\
        D:\
You should remember which one was D for later.

2. Enter mountvol D: /p which will unmount D.
3. Enter diskpart
4. Enter list volume and note volume D's index in the ### column. Let's say it's 1.
5. Enter sel vol 1 to select volume D.
6. Enter att vol set readonly yo make D read only.
7. Enter det vol to see the volume's info and confirm that D is now read only.
8. Enter exit to go back to the command prompt.
9. Enter mountvol D: \\?\Volume{b77a3ed1-0651-5gdf-90b1-d1a3672d96e4}\ to remount D. Of course, replace the gibberish address from this example with the one you have listed in mountvol.
10. reboot.