I feel like this is a really simple and fundamental function that Windows should have, but so far Google has been telling me it isn't possible. How can I mount an NTFS partition read-only in Windows?
Everett's answer works! (Thanks.)
Additional info about diskpart
:
-
If you have multiple volumes in a disk, neither
detail vol
norattr vol
shows the correct read-only status. It shows the read-only status of the last modified volume. Try these:sel vol 1
,attr vol set readonly
,sel vol 2
,attr vol clear readonly
,sel vol 1
. Nowdetail vol
shows that volume 1 is not read-only, but it actually is. -
If you modify a volume with Linux's
ntfs-3g
and then bring it to Windows, it cannot be mount read-only. -
If you run
attr disk set readonly
, none of the disk's volume can be mounted.
Best Answer
mountvol.exe /N
diskpart
list volume
select volume X
(where X is the correct volume number from the previous command)att vol set readonly
detail vol
and ensure the read-only bit is setNow you can mount the volume and it will be read-only.
See also: http://crawlmsdn.microsoft.com/en-us/magazine/cc302206.aspx