Cant' delete file
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Cant' delete file

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System
Author Message
Chris
Guest





Posted: Mon Oct 31, 2005 5:16 pm    Post subject: Cant' delete file Reply with quote

All,

I have a student who saved a 700 meg video file to our storage server.
I went in the other day to delete it and no matter what I do, I have gotten
the following error message upon attempting to delet the file.

Cannot delete file "Bowling for Columbine.avi" The file is in use by another
program.

This file was saved in the 'My Pictures' system folder, which is being
redirected to the users home directory. So far I have tried the following:

1. Given myself explicit permissions to the folder. I replaced all
permissions on files and subdirectories.

2. Stopped sharing the folder and attempted to delete the file.

3. Attempted to cut and paste the file to another location

4. Attempted to rename the file.

Chris
Back to top
Dave Patrick
Guest





Posted: Mon Oct 31, 2005 5:16 pm    Post subject: Re: Cant' delete file Reply with quote

After backup you might try running;
chkdsk /r
from the recovery console command line. (/r implies /f and /p)

To start the Recovery Console, start the computer from the Windows 2000
Setup CD or the Windows 2000 Setup floppy disks. If you do not have Setup
floppy disks and your computer cannot start from the Windows 2000 Setup CD,
use another Windows 2000-based computer to create the Setup floppy disks. At
the "Welcome to Setup" screen. Press F10 or R to repair a Windows 2000
installation, and then press C to use the Recovery Console. The Recovery
Console then prompts you for the administrator password. If you do not have
the correct password, Recovery Console does not allow access to the
computer. If an incorrect password is entered three times, the Recovery
Console quits and restarts the computer. Note If the registry is corrupted
or missing or no valid installations are found, the Recovery Console starts
in the root of the startup volume without requiring a password. You cannot
access any folders, but you can carry out commands such as chkdsk, fixboot,
and fixmbr for limited disk repairs. Once the password has been validated,
you have full access to the Recovery Console, but limited access to the hard
disk. You can only access the following folders on your computer: drive
root, %systemroot% or %windir%

Also you can try deleting from the recovery console. First you'll need to;
Control Panel|Admin Tools|Local Security Policy Recovery console:
"Allow floppy copy and access to all drives/folders" set to enabled

Then from the recovery console command line;
SET allowallpaths = TRUE

to gain access to all folders and try deleting from here.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Chris" wrote:
Quote:
All,

I have a student who saved a 700 meg video file to our storage server.
I went in the other day to delete it and no matter what I do, I have
gotten the following error message upon attempting to delet the file.

Cannot delete file "Bowling for Columbine.avi" The file is in use by
another program.

This file was saved in the 'My Pictures' system folder, which is being
redirected to the users home directory. So far I have tried the
following:

1. Given myself explicit permissions to the folder. I replaced all
permissions on files and subdirectories.

2. Stopped sharing the folder and attempted to delete the file.

3. Attempted to cut and paste the file to another location

4. Attempted to rename the file.

Chris
Back to top
Pat [MSFT]
Guest





Posted: Tue Nov 01, 2005 9:16 am    Post subject: Re: Cant' delete file Reply with quote

Check out Sysinternals.com. They have a free utility called FileMon that
will tell you what app has the file locked. If the answer is System.exe,
then the issue is almost certainly the AV filter.

Pat

"Chris" <cbate@crec.org> wrote in message
news:u69r37i3FHA.3636@TK2MSFTNGP09.phx.gbl...
Quote:
All,

I have a student who saved a 700 meg video file to our storage server.
I went in the other day to delete it and no matter what I do, I have
gotten the following error message upon attempting to delet the file.

Cannot delete file "Bowling for Columbine.avi" The file is in use by
another program.

This file was saved in the 'My Pictures' system folder, which is being
redirected to the users home directory. So far I have tried the
following:

1. Given myself explicit permissions to the folder. I replaced all
permissions on files and subdirectories.

2. Stopped sharing the folder and attempted to delete the file.

3. Attempted to cut and paste the file to another location

4. Attempted to rename the file.

Chris
Back to top
Eric Bursley [MVP]
Guest





Posted: Tue Nov 01, 2005 5:13 pm    Post subject: Re: Cant' delete file Reply with quote

If a simple reboot doesn't do the trick to remove the file lock, I would try
the suggestions by Pat and Dave.

Eric Bursley
eric at bursley dot net
Microsoft MVP
RHCE, MCSE, BCFP, EEIE-CS, ESCE-CS
GPG Signature:
Key fingerprint = CEAE CF3A 3876 7ECE 9DA7 946F DA9F DDCA C392 6DCB




"Chris" <cbate@crec.org> wrote in message
news:u69r37i3FHA.3636@TK2MSFTNGP09.phx.gbl...
Quote:
All,

I have a student who saved a 700 meg video file to our storage server.
I went in the other day to delete it and no matter what I do, I have
gotten the following error message upon attempting to delet the file.

Cannot delete file "Bowling for Columbine.avi" The file is in use by
another program.

This file was saved in the 'My Pictures' system folder, which is being
redirected to the users home directory. So far I have tried the
following:

1. Given myself explicit permissions to the folder. I replaced all
permissions on files and subdirectories.

2. Stopped sharing the folder and attempted to delete the file.

3. Attempted to cut and paste the file to another location

4. Attempted to rename the file.

Chris
Back to top
Chris
Guest





Posted: Tue Nov 01, 2005 5:17 pm    Post subject: Re: Cant' delete file Reply with quote

All,

Thank you for your suggestions. I found that Destktop.ini gets copied as
part of the redirected 'My Pictures' folder. As soon as I deleted
desktop.ini, I was able to delete the files within the My Pictures folder.
I'm not sure why that is the case.

Chris

"Eric Bursley [MVP]" <ebursley at swbell dot net> wrote in message
news:eQZwVVt3FHA.3952@TK2MSFTNGP10.phx.gbl...
Quote:
If a simple reboot doesn't do the trick to remove the file lock, I would
try the suggestions by Pat and Dave.

Eric Bursley
eric at bursley dot net
Microsoft MVP
RHCE, MCSE, BCFP, EEIE-CS, ESCE-CS
GPG Signature:
Key fingerprint = CEAE CF3A 3876 7ECE 9DA7 946F DA9F DDCA C392 6DCB




"Chris" <cbate@crec.org> wrote in message
news:u69r37i3FHA.3636@TK2MSFTNGP09.phx.gbl...
All,

I have a student who saved a 700 meg video file to our storage server.
I went in the other day to delete it and no matter what I do, I have
gotten the following error message upon attempting to delet the file.

Cannot delete file "Bowling for Columbine.avi" The file is in use by
another program.

This file was saved in the 'My Pictures' system folder, which is being
redirected to the users home directory. So far I have tried the
following:

1. Given myself explicit permissions to the folder. I replaced all
permissions on files and subdirectories.

2. Stopped sharing the folder and attempted to delete the file.

3. Attempted to cut and paste the file to another location

4. Attempted to rename the file.

Chris


Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB