Kerry - After processing video files for burning onto a dvd I cannot delete
some of the files. Listed below is what I am seeing when I attempt to remove
the files now that I am done processing them. I am logged in as myself, UAC
is disabled and the cmd.exe prompt I am running from was started with "Run as
Administrator". Any suggestions?
C:\CRZ0NNW7>dir
Volume in drive C has no label.
Volume Serial Number is 14DF-1F4C
Directory of C:\CRZ0NNW7
03/23/2007 05:15 PM <DIR> .
03/23/2007 05:15 PM <DIR> ..
03/27/2007 07:59 AM <DIR> VIDEO_TS
0 File(s) 0 bytes
3 Dir(s) 78,866,128,896 bytes free
C:\CRZ0NNW7>icacls VIDEO_TS
VIDEO_TS NT AUTHORITY\Authenticated Users

I)(OI)(CI)(F)
BUILTIN\Administrators

I)(F)
BUILTIN\Administrators

I)(OI)(CI)(IO)(F)
NT AUTHORITY\SYSTEM

I)(F)
NT AUTHORITY\SYSTEM

I)(OI)(CI)(IO)(F)
BUILTIN\Users

I)(OI)(CI)(RX)
NT AUTHORITY\Authenticated Users

I)(OI)(CI)(IO)(M)
Successfully processed 1 files; Failed processing 0 files
C:\CRZ0NNW7>whoami
amd64\rich
C:\CRZ0NNW7>cd VIDEO_TS
C:\CRZ0NNW7\VIDEO_TS>dir
Volume in drive C has no label.
Volume Serial Number is 14DF-1F4C
Directory of C:\CRZ0NNW7\VIDEO_TS
03/27/2007 07:59 AM <DIR> .
03/27/2007 07:59 AM <DIR> ..
03/23/2007 05:16 PM 227,594,240 VTS_10_0.VOB
03/23/2007 05:22 PM 1,073,739,776 VTS_10_2.VOB
03/23/2007 05:24 PM 1,073,739,776 VTS_10_3.VOB
03/23/2007 05:26 PM 1,073,739,776 VTS_10_4.VOB
03/23/2007 05:31 PM 1,073,739,776 VTS_10_6.VOB
03/23/2007 05:36 PM 24,932,352 VTS_22_1.VOB
6 File(s) 4,547,485,696 bytes
2 Dir(s) 78,865,952,768 bytes free
C:\CRZ0NNW7\VIDEO_TS>icacls *
VTS_10_0.VOB: Access is denied.
Successfully processed 0 files; Failed processing 1 files
C:\CRZ0NNW7\VIDEO_TS>icacls VTS_10_0.VOB /setowner rich
Access is denied.
Successfully processed 0 files; Failed processing 1 files
C:\CRZ0NNW7\VIDEO_TS>icacls VTS_10_0.VOB /setowner Administrator
Access is denied.
Successfully processed 0 files; Failed processing 1 files
C:\CRZ0NNW7\VIDEO_TS>icacls VTS_10_0.VOB /setowner amd64\rich
Access is denied.
Successfully processed 0 files; Failed processing 1 files
C:\CRZ0NNW7\VIDEO_TS>
---------------------------------------------------------------------------------------
"Kerry Brown" wrote:
>
> You need to take ownership of the file. You may not be able to do this
> through the GUI. Open an elevated cmd prompt by right clicking on the
> Command Prompt icon and picking Run as administrator. Use the icacls command
> to take ownership and give yourself full control of the file.
>
> icacls file_name /setowner your_user_name
>
> icacls file_name /grant your_user_name:F
>
> You should then be able to delete the file. System files are protected from
> accidental, or even deliberate deletion by a rogue program, by not having
> any permissions for any accounts other than the system.
>
> --
> Kerry Brown
> Microsoft MVP - Shell/User
> http://www.vistahelp.ca
>
>
>