Desmond said:
Hi Guys. This might sound silly but I am a bit of a geek and have built and repared computers. I have a hard disl and windows is screwing up. It is the only parttion on it. I like to partiton a hard disk with a windows only partition but in this case I am stuffed.
I re-booted the PC with another disk and installed windows. This works fine.
I plugged in the SATA cable to the internal disk. Using MS DOS diskpart I made it inactive. As I am not booting of this internal disk, I tried to delete the windows partiton. It apears I need permission to perform this operation. This is a stand alone PC. I am the sole owner of it. Why do I need permission to delete a folder of another hard disk that is not active and I am not booting from it? HELP ME PLEASE (Desperate)
TIA
Desmond.
Diskpart "clean", seems to remove MBR contents (no partition
table any more). So that would be a quick way to remove the
*entire* contents of a disk. Rather drastic though.
http://www.sevenforums.com/tutorials/52129-disk-clean-clean-all-diskpart-command.html
And that's not a "secure delete", merely the fastest way to
hide what was previously on there. Wouldn't take much in the
way of forensics to bring it all back (TestDisk).
*******
People first experience the problem with the Windows folder,
when deleting "Windows.old" on an repair/upgrade install. The
OS usually resists this, and it would be a permission problem.
(Disk Cleanup actually handles that case quite nicely. I was
just using that example as an illustration of a "pit full of
snakes" that you'd find inside a Windows folder. I think I tried
that once, manually, and met instant resistance
)
A solution for that is Take Ownership. Followed by "Full Control".
http://www.sevenforums.com/tutorials/1911-take-ownership-shortcut.html
(Ref:
http://www.vistax64.com/tutorials/112795-context-menu-take-ownership.html )
But being a lazy guy, I just boot a Linux LiveCD or pen drive,
and permissions mean nothing from there. You can delete what
you want
You don't learn anything doing it that way though.
I guess you can see why I don't really need a Take Ownership
context menu entry
I'm that lazy.
Actually, there is some science to deleting, but it only becomes
necessary to use brain power, when deleting a lot of stuff. For
example, if you attempt to use the trash bin on WinXP, and throw
a million files in there, it'll lock up for sure. If you use
command prompt, and say "del filename", that seems to execute
pretty fast (compared to any Trash bin shenanigans). So there
will be occasions, when you need to know the absolutely best
way to delete something, that runs as fast as possible. On WinXP,
I'd be just as likely to "format" a partition, as to try to erase
a major folder, due to how crappy the Explorer implementation is.
And that's still going to be true of the other OSes. Typically,
an OS is not allowed to "optimize" file operations - even though
as users, we could say ("just rewrite the entire $MFT and remove
all the references to those million files in one shot"), such a
jumping to conclusions is not allowed in the file system business.
It's "one at a time, for safety". And that sucks.
Paul