Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Tom's Hardware > Forum > Windows 2000/NT > General Discussion > ERROR DELETING FILE OR FOLDER

ERROR DELETING FILE OR FOLDER

Forum Windows 2000/NT : General Discussion ERROR DELETING FILE OR FOLDER

Word :    Username :           
 

Archived from groups: microsoft.public.win2000.security (More info?)

 

Hi, i'm currently facing problem while trying to delete a
folder in Win2000. I've logged on to the PC using
Administrator a/c but still unable to delete that
particular folder.

The following are the error messages appeared:
- Error deleting file or folder
- Cannot delete file and folder, the directory is not
empty.
- Cannot delete ntuser.pol:Access is denied. The source
file may be in use.
- Error performing inpage operation.

Thank you very much for your kind attention.

Reply to Anonymous
Register or log in to remove.

Archived from groups: microsoft.public.win2000.security (More info?)

 

Hi,

Whose profile does ntuser.pol belong to? If you are e.g. trying to delete
profile name "Mike" you can't be loged on as Mike at the same time. You must
use some other account that is administrator on the system.

Try also to first reboot the computer and then delete the file.

I hope this helps,

Mike

"Infocool" <infocool@hotmail.com> wrote in message
news:b1e701c488de$5965af50$a601280a@phx.gbl...
> Hi, i'm currently facing problem while trying to delete a
> folder in Win2000. I've logged on to the PC using
> Administrator a/c but still unable to delete that
> particular folder.
>
> The following are the error messages appeared:
> - Error deleting file or folder
> - Cannot delete file and folder, the directory is not
> empty.
> - Cannot delete ntuser.pol:Access is denied. The source
> file may be in use.
> - Error performing inpage operation.
>
> Thank you very much for your kind attention.

Reply to Anonymous

Archived from groups: microsoft.public.win2000.security (More info?)

 

Miha's correct, try rebooting then attempt to delete the file. Sometimes an
open handle can survive the reboot though.

Ultimately, you may consider using HANDLE.EXE (from
http://www.sysinternals.com) to identify the pricess ID (PID) which has the
file open, then use KILL.EXE to stop that PID.

C:\Tools>handle /?

Handle v2.10
Copyright (C) 1997-2003 Mark Russinovich
Sysinternals - www.sysinternals.com

usage: handle [-a] [-p <processname>] [name]
-a Dump all handle information
-p Dump handles belonging to process (partial name accepted)
name Search for handles to objects with <name> (fragment accepted)

No arguments will dump all file references

C:\Tools>kill.exe /?
Microsoft (R) Windows NT (TM) Version 3.5 KILL
Copyright (C) 1994-1998 Microsoft Corp. All rights reserved

usage: KILL [options] <<pid> | <pattern>>*

[options]:
-f Force process kill

<pid>
This is the process id for the task
to be killed. Use TLIST to get a
valid pid

<pattern>
The pattern can be a complete task
name or a regular expression pattern
to use as a match. Kill matches the
supplied pattern against the task names
and the window titles.

Tim Springston
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

"Miha Pihler" <mihap-news@atlantis.si> wrote in message
news:uwy3fFRiEHA.2880@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> Whose profile does ntuser.pol belong to? If you are e.g. trying to delete
> profile name "Mike" you can't be loged on as Mike at the same time. You
> must
> use some other account that is administrator on the system.
>
> Try also to first reboot the computer and then delete the file.
>
> I hope this helps,
>
> Mike
>
> "Infocool" <infocool@hotmail.com> wrote in message
> news:b1e701c488de$5965af50$a601280a@phx.gbl...
>> Hi, i'm currently facing problem while trying to delete a
>> folder in Win2000. I've logged on to the PC using
>> Administrator a/c but still unable to delete that
>> particular folder.
>>
>> The following are the error messages appeared:
>> - Error deleting file or folder
>> - Cannot delete file and folder, the directory is not
>> empty.
>> - Cannot delete ntuser.pol:Access is denied. The source
>> file may be in use.
>> - Error performing inpage operation.
>>
>> Thank you very much for your kind attention.
>
>

Reply to Anonymous

I had a problem like that. This worked for me!

[url=https://www.longpathtool.com][/url]

It works for all of these errors:

Path too long.


Error cannot delete file: cannot read from source file or disk


Cannot delete file: Access is denied


There has been a sharing violation.


Cannot delete file or folder The file name you specified

is not valid or too long. Specify a different file name.


The source or destination file may be in use.


Reply to philbart

BenedictOfas


try this software long path error fixer. Here is the link:

http://****


its really helpful!

Reply to BenedictOfas

If you have problems like "Error Deleting File or Folder" , one of the best tools for solving this would be Long Path Tool found at http://****.

Long Path Tool can simplify and probably end your problems in unlocking, managing and renaming files that appear to have a long filename.



If you encounter errors as :


• Path too long

• Error cannot delete file: cannot read from source file or disk

• Cannot delete file: Access is denied

• There has been a sharing violation.

• Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name.

• The source or destination file may be in use.

• The file is in use by another program or user.

• Error Deleting File or Folder

• Make sure the disk is not full or write-protected and that the file is not currently in use.

• Error Copying File or Folder.

• Cannot remove folder.

• The filename or extension is too long.

• Path too deep.

• Destination Path Too Long.

• Could not find this item.

• Filename is not valid.

• The file could not be accessed.

• The path you entered, is too long. Enter a shorter path.

• File Name could not be found. Check the spelling of the filename, and verify that the file location is correct.



Your best solution is Long Path Tool . Go to http://**** and see the trial version to convince yourself.

Reply to DanOrtega
Register or log in to remove.
Tom's Hardware > Forum > Windows 2000/NT > General Discussion > ERROR DELETING FILE OR FOLDER
Go to:

There are 494 identified and unidentified users. To see the list of identified users, Click here.

  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them