dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
567
share rss forum feed


aurgathor

join:2002-12-01
Lynnwood, WA
kudos:1
Reviews:
·Frontier Communi..

write protecting NTFS partitions against change

Is it possible to protect the partitions on an external USB HD against change?

I do not want the partitions themselves to be write protected (want to be able write or delete data as I wish) -- I only want to make sure that the existing partitions cannot be removed or changed.

A poorly written install script nuked my external HD yesterday....
--
Wacky Races 2012!


Cthen

join:2004-08-01
Detroit, MI
Reviews:
·Verizon Wireless..
Could you at least name the software with the bad install script so the rest of us know to avoid it? I'm sure other inquiring minds would like to know as well.
--
"I like to refer to myself as an Adult Film Efficienato." - Stuart Bondek


aurgathor

join:2002-12-01
Lynnwood, WA
kudos:1
Cannot. It's an internal tool and I work under NDA.

JoelC707
Premium
join:2002-07-09
Lanett, AL
kudos:5
reply to aurgathor
So you want to keep the actual partition from being modified or deleted? That's more on the lines of an MBR/GPT issue than an NTFS (or other file system) issue. If an install script nuked a partition on a drive, especially without prompting you, that goes way beyond poorly written. For what it's worth, if the partition was simply deleted, testdisk may be able to recover it but using this program can also destroy anything else on the drive so I'd try using it only as a last resort (sounds like you might be there).

It does not appear this is doable, at least according to this: »social.msdn.microsoft.com/Forums···bdd70a5/ Specifically, read the 3rd reply.

The thing is there are such things as protected partitions. There's a GPT Protective Partition but it looks like it's more trouble than it's worth. »www.tech-faq.com/gpt-protective-···ion.html. Searching for an MBR variant shows several potentials but I'm honestly not that sure about this.


aurgathor

join:2002-12-01
Lynnwood, WA
kudos:1
Reviews:
·Frontier Communi..
said by JoelC707:

So you want to keep the actual partition from being modified or deleted?

Both.

That's more on the lines of an MBR/GPT issue than an NTFS (or other file system) issue. If an install script nuked a partition on a drive, especially without prompting you, that goes way beyond poorly written.

I already started bitching about that. The script assumed that there would be 2 drives there, one containing the install script and the image being installed, and the target drive. For whatever reason the target drive wasn't recognized in the BIOS, so after the script loaded itself into memory it promptly repartitioned the source disk, and then erred out because it couldn't find the rest of itself.


if the partition was simply deleted, testdisk may be able to recover it but using this program can also destroy anything else on the drive so I'd try using it only as a last resort (sounds like you might be there).

Based on a cursory look of the script, all the formats were quick, but when I tried NTFS undelete in the new partition, it couldn't find anything. There were nothing really irreplaceable on that USB HD and I have a roughly 10 days old backup, but my work for the last 4 - 5 days are gone. I can probably redo it in 2 - 3 days, but that still sucks.


It does not appear this is doable, at least according to this: »social.msdn.microsoft.com/Forums···bdd70a5/ Specifically, read the 3rd reply.


That sucks.
Of course the irony of this is when I want to run certain programs, I have to confirm that yes, I really want to run them, but then some half witted install script can wipe my USB HD before I realize WTH is going on.
--
Wacky Races 2012!


norwegian
Premium
join:2005-02-15
Outback
Daily or incremental back ups every hour if you use tools as such?


ImpldConsent
Under Siege
Premium
join:2001-03-04
Mcdonough, GA
Reviews:
·AT&T U-Verse
·magicjack.com
reply to aurgathor
If you do this often (as is the case with many NDA devices / software), I'd toss some money into a HDD write blocker device. You can read all the data you want from your external, but it will not write anything to the disk.
--
That's "MISTER" Kafir to you.

HarryH3
Premium
join:2005-02-21
kudos:3
Reviews:
·Suddenlink
reply to aurgathor
Sounds to me like you need two systems. One to do most of your work on and another to test new software on. Problem solved!


aurgathor

join:2002-12-01
Lynnwood, WA
kudos:1
Reviews:
·Frontier Communi..
Depending on how a "system" is defined, I may have over a dozen on the 1.5 benches I occupy...

I don't think I'll invest in a HDD write blocker (not sure if they available for USB in the first place)

Yeah, I know I should've kept more backups
I was about to post the whole thing onto a network share, and the only think was missing is the user manual, and I wanted to post everything at once.
--
Wacky Races 2012!