amiga.org
     
iconAll times are GMT -6. The time now is 02:36 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » The "Not Quite Amiga but still computer related category" » Alternative Operating Systems » need help deleting files under NTFS

Alternative Operating Systems This forum is dedicated to discussions of alternatives to the Commodore Amiga Platform, such as Linux distributions, FreeBSD, OpenBSD, and others.

Reply
 
Thread Tools Display Modes
Old 05-13-2009, 12:28 AM   #1
DamageX
Technoid
Points: 7,151, Level: 56 Points: 7,151, Level: 56 Points: 7,151, Level: 56
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Jun 2005
Posts: 313
Default need help deleting files under NTFS

A failed Windows 7 RC install left behind multiple GBs of crap on my HDD that can't be deleted. How do I get rid of this $#!t?
DamageX is offline   Reply With Quote
Old 05-13-2009, 12:41 AM   #2
bloodline
Master Sock Abuser
Points: 37,111, Level: 100 Points: 37,111, Level: 100 Points: 37,111, Level: 100
Activity: 10% Activity: 10% Activity: 10%
 
bloodline's Avatar
 
Join Date: Mar 2002
Location: London, UK
Posts: 11,656
Blog Entries: 3
Default Re: need help deleting files under NTFS

Format it.
__________________
My iPhone Game: Puny Humans -
http://itunes.apple.com/gb/app/puny-...362230281?mt=8
bloodline is offline   Reply With Quote
Old 05-13-2009, 12:50 AM   #3
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: need help deleting files under NTFS

It's probably down to the fact that your current administrator account has a different uid to the one that was in the process of being created during the install. Windows idea of file ACLs are strange like that.

Back in the day I would have suggested Winternals ERD Commander to deal with this sort of gripe but it got bought up by MS at some point. Probably won't work with Vista/Win7.

However, if the NTFS version is at least Vista compatible, shove the drive into a "current" linux box that has ntfs3g installed and you can delete anything from it, as long as you are root (probably works even if you aren't, provided the drive was mounted under your user).

Failing that, format the bugger.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 05-13-2009, 01:03 AM   #4
Retro_71
Cult Member
Points: 6,458, Level: 52 Points: 6,458, Level: 52 Points: 6,458, Level: 52
Activity: 1% Activity: 1% Activity: 1%
 
Retro_71's Avatar
 
Join Date: Nov 2007
Location: Sydney
Posts: 725
Default Re: need help deleting files under NTFS

If you want to wipe the drives and you have a windows Xp CD.Boot off the CD and go to the screen that has what drive you can pick to install xp on and just delete all the partitions and then format one ntfs, if you don't want to install xp just reset the pc and put whatever os u want on there.
OR if u have another pc take the hard drive out and pigback it to another computer and wipe it.
OR if you already have a OS and you were going to dual boot windows7 then right click on my computer then click on manage then disk mangement and from there you can delete, repartition and format what you want that is ofcourse if you are using windows.......
__________________
2 x C=64, 2 x C64C (1 x 1541 II ultimate II and Chameleon), C128 (jiffydos), C128D, 3 x A500 (1 x 030),
A1000, 2 x A2000 (1 x 040 + indivision), A3000 GVP IV24 & Emplant, 3 x A1200 (1 x 030, Indivision and IDE-Fix), 2 x A4000 (4060, Deneb, Indivsion), CD32.
2 x Apple IIe and A IIGS, + 3 x Megadrives (CD and 32), 2 x Saturns, and a dreamcast..
Retro_71 is offline   Reply With Quote
Old 05-13-2009, 02:16 AM   #5
amiga_3k
Technoid
Points: 4,416, Level: 42 Points: 4,416, Level: 42 Points: 4,416, Level: 42
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Apr 2006
Posts: 467
Send a message via MSN to amiga_3k
Default Re: need help deleting files under NTFS

Under Windows XP I would normally open a DOS box and use the old DOS DEL command to remove un-removable files.
__________________
[img align=left]http://www.elf8.nl/AMIGA_BANNER_2.gif[/img]Get a SAM, while you can! The new AMIGA is here!
amiga_3k is offline   Reply With Quote
Old 05-13-2009, 02:51 AM   #6
Bazzaq
Technoid
Points: 4,685, Level: 43 Points: 4,685, Level: 43 Points: 4,685, Level: 43
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Sep 2005
Location: Liverpool, UK.
Posts: 363
Default Re: need help deleting files under NTFS

Apparently the 32bit windows7 rc has a problem with fresh install regarding the access rights to the root of the hard disk, there is an update via windows update to restore access rights.
__________________
--------------
A4000T 060@50/PPC@233/128MB,Prometheus/Voodoo3/Lan,DCE SD/FF,Prelude
Bazzaq is offline   Reply With Quote
Old 05-13-2009, 03:13 AM   #7
InTheSand
Defender of the Faith
Points: 10,151, Level: 67 Points: 10,151, Level: 67 Points: 10,151, Level: 67
Activity: 1% Activity: 1% Activity: 1%
 
InTheSand's Avatar
 
Join Date: Nov 2004
Location: Nelson, NZ
Posts: 1,766
Default Re: need help deleting files under NTFS

Quote:
Karlos wrote:
... shove the drive into a "current" linux box that has ntfs3g installed and you can delete anything from it, as long as you are root...
Or leave the drive in place and boot the machine with a Linux-based live/rescue CD with a recent ntfs3g preinstalled, such as SystemRescueCD. Very useful to have a copy of that around.

- Ali
InTheSand is offline   Reply With Quote
Old 05-13-2009, 04:28 AM   #8
mingle
Cult Member
Points: 12,932, Level: 74 Points: 12,932, Level: 74 Points: 12,932, Level: 74
Activity: 4% Activity: 4% Activity: 4%
 
mingle's Avatar
 
Join Date: Jun 2003
Location: Melbourne, Australia
Posts: 615
Default Re: need help deleting files under NTFS

Hi,

As others have said, a rescue CD is the way to go.

I recommend the latest Hiren Boot CD, which is Windows/DOS based.

Then you can use one of the file-managers (ie: Volkov Commander) in conjunction with NTFSDOS to easily delete any offending files...

Cheers,

Mike.
mingle is offline   Reply With Quote
Old 05-13-2009, 04:43 AM   #9
stevil2k
Beginner
Points: 2,850, Level: 32 Points: 2,850, Level: 32 Points: 2,850, Level: 32
Activity: 3% Activity: 3% Activity: 3%
 
stevil2k's Avatar
 
Join Date: Sep 2005
Location: Scarborough, UK
Posts: 28
Send a message via MSN to stevil2k
Default Re: need help deleting files under NTFS

Quote:
Or leave the drive in place and boot the machine with a Linux-based live/rescue CD with a recent ntfs3g preinstalled, such as SystemRescueCD. Very useful to have a copy of that around.

- Ali
This is definatly the best advice, I have rescued lots of machines in my workplace using this method with very high success.

One thing to note is that the NTFS filesystem will protect itself (if you have shut down incorrectly) and refuse to mount under linux.You can override this easy enough then use the MC file manager to delete the files.

System Rescue CD

Unet Bootin This is a great tool for making Live USB linux disks.
stevil2k is offline   Reply With Quote
Old 05-13-2009, 07:27 AM   #10
pjhutch
Technoid
Points: 9,253, Level: 64 Points: 9,253, Level: 64 Points: 9,253, Level: 64
Activity: 1% Activity: 1% Activity: 1%
 
pjhutch's Avatar
 
Join Date: Mar 2002
Location: West Yorks, England.
Posts: 438
Send a message via AIM to pjhutch Send a message via MSN to pjhutch Send a message via Yahoo to pjhutch
Default Re: need help deleting files under NTFS

You can sometimes take ownership of the folder with the files in it and then you can gain full access to the files to delete them.

1. Open explorer and browse to the folder in question
2. Open properties of folder and select Security tab
3. Click on Advanced button
4. Select the Owner tab
5. Select a new Owner from the list
6. Tick box for 'Replace owner on subcontainers and objects
7. Click ok twice.

__________________
Peter Hutchison
http://www.pcguru.plus.com/
pjhutch is offline   Reply With Quote
Old 05-13-2009, 07:36 AM   #11
fryguy
Technoid
Points: 6,585, Level: 53 Points: 6,585, Level: 53 Points: 6,585, Level: 53
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Nov 2004
Posts: 228
Default Re: need help deleting files under NTFS

Get Unlocker
fryguy is offline   Reply With Quote
Old 05-13-2009, 07:59 AM   #12
Thomas
Kindred of Babble-on
Points: 13,942, Level: 76 Points: 13,942, Level: 76 Points: 13,942, Level: 76
Activity: 13% Activity: 13% Activity: 13%
 
Thomas's Avatar
 
Join Date: Jun 2002
Posts: 2,925
Default Re: need help deleting files under NTFS

Quote:
pjhutch wrote:
2. Open properties of folder and select Security tab
3. Click on Advanced button
XP Home does not have these options.

Bye,
Thomas
__________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de/
Thomas is offline   Reply With Quote
Old 05-13-2009, 08:12 AM   #13
ferrellsl
Cult Member
Points: 8,201, Level: 61 Points: 8,201, Level: 61 Points: 8,201, Level: 61
Activity: 4% Activity: 4% Activity: 4%
 
Join Date: Jan 2005
Posts: 579
Default Re: need help deleting files under NTFS

pjhutch's instructions are spot on. The files aren't being deleted because you don't own them any longer. The admin user account IDs have changed. After you take ownership of the files under your new admin account you will have full rights to delete these files.
ferrellsl is offline   Reply With Quote
Old 05-13-2009, 01:26 PM   #14
DamageX
Technoid
Points: 7,151, Level: 56 Points: 7,151, Level: 56 Points: 7,151, Level: 56
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Jun 2005
Posts: 313
Default Re: need help deleting files under NTFS

Thanks for the tips, you guys rock. I tried to take ownership of the files while logged in as admin under win2k (my main OS) but it came back with an "access denied." Same thing with the cacl command. I booted Ubuntu and deleted the stuff and it was moved to a trash directory. So I deleted the trash directory and now most of it is gone, there were about a dozen files that still refused to budge. I haven't tried unlocker yet.
DamageX is offline   Reply With Quote
Old 05-13-2009, 01:50 PM   #15
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: need help deleting files under NTFS

Quote:
DamageX wrote:
Thanks for the tips, you guys rock. I tried to take ownership of the files while logged in as admin under win2k (my main OS) but it came back with an "access denied." Same thing with the cacl command. I booted Ubuntu and deleted the stuff and it was moved to a trash directory. So I deleted the trash directory and now most of it is gone, there were about a dozen files that still refused to budge. I haven't tried unlocker yet.
If you delete from a shell, as root, using rm -rf on a directory will delete it for sure.

Be very careful with that command. Make absolutely sure you are about to remove the directory you mean to.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Reply

Bookmarks

Tags
deleting , files , ntfs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting Folders error(3.9) nasty Amiga Software Issues and Discussion 9 12-22-2005 06:37 AM
Can't mount NTFS HD, help! Dragster Amiga Software Issues and Discussion 5 11-23-2005 09:07 AM
A big fat, NTFS question blobrana Amiga Emulation 4 08-11-2005 11:36 AM
Reading NTFS partition on a win98 Box JJ Amiga Software Issues and Discussion 13 05-20-2003 11:31 PM
Yam crashing after deleting base64-encoded files DanDude Amiga Software Issues and Discussion 3 11-08-2002 11:14 AM