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.
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.
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.
>
>