Discussion:
SP2 Installation Error - cacls.exe open or in use
(too old to reply)
Tim
2007-09-26 13:08:05 UTC
Permalink
When I try to install SP2 on Windows Server 2003 I get the following error:

The file c:\windows\system32\cacls.exe is open or in use by another
application.
Close all other applications and then click Retry.

Any ideas why I'm getting this error and how I can fix it? Thanks.
Pegasus (MVP)
2007-09-26 13:11:49 UTC
Permalink
Post by Tim
The file c:\windows\system32\cacls.exe is open or in use by another
application.
Close all other applications and then click Retry.
Any ideas why I'm getting this error and how I can fix it? Thanks.
Maybe unlocker.exe will fix it:
http://ccollomb.free.fr/unlocker/
Tim
2007-09-26 13:34:03 UTC
Permalink
Post by Pegasus (MVP)
Post by Tim
The file c:\windows\system32\cacls.exe is open or in use by another
application.
Close all other applications and then click Retry.
Any ideas why I'm getting this error and how I can fix it? Thanks.
http://ccollomb.free.fr/unlocker/
Thanks for your response, but that didn't work. When I tried to run
Unlocker on cacls.exe it said there was no locking handle found.

I'm not really sure what cacls.exe does and why it would be in use when I'm
not explicitly using it. I've searched all over the net and haven't found
anyone else with the same problem. When trying to install SP2, I've made
sure there wasn't anything else running and that cacls.exe wasn't running in
the background in task manager.
Pegasus (MVP)
2007-09-26 14:19:50 UTC
Permalink
Post by Tim
Post by Pegasus (MVP)
Post by Tim
The file c:\windows\system32\cacls.exe is open or in use by another
application.
Close all other applications and then click Retry.
Any ideas why I'm getting this error and how I can fix it? Thanks.
http://ccollomb.free.fr/unlocker/
Thanks for your response, but that didn't work. When I tried to run
Unlocker on cacls.exe it said there was no locking handle found.
I'm not really sure what cacls.exe does and why it would be in use when I'm
not explicitly using it. I've searched all over the net and haven't found
anyone else with the same problem. When trying to install SP2, I've made
sure there wasn't anything else running and that cacls.exe wasn't running in
the background in task manager.
If you don't know what a command does, get its inbuilt helpfile like so:

cacls /?

CACLS displays or modifies access control lists (ACLs) of files

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user [...]]
filename Displays ACLs.
/T Changes ACLs of specified files in
the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
/R user Revoke specified user's access rights (only valid with /E).
/P user:perm Replace specified user's access rights.
Perm can be: N None
R Read
W Write
C Change (write)
F Full control
/D user Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.

Abbreviations:
CI - Container Inherit.
The ACE will be inherited by directories.
OI - Object Inherit.
The ACE will be inherited by files.
IO - Inherit Only.
The ACE does not apply to the current file/directory.

Since cacls is not an essential program, you can reboot the
machine in Safe Mode and rename it temporarily to cacls.ex.
baskar k
2011-12-16 16:32:27 UTC
Permalink
caclc test /p everyone:n

cacls test /f everyone:f

that folder thus not open access denied
Post by Tim
The file c:\windows\system32\cacls.exe is open or in use by another
application.
Close all other applications and then click Retry.
Any ideas why I'm getting this error and how I can fix it? Thanks.
Post by Pegasus (MVP)
http://ccollomb.free.fr/unlocker/
Post by Tim
Thanks for your response, but that didn't work. When I tried to run
Unlocker on cacls.exe it said there was no locking handle found.
I'm not really sure what cacls.exe does and why it would be in use when I'm
not explicitly using it. I've searched all over the net and haven't found
anyone else with the same problem. When trying to install SP2, I've made
sure there wasn't anything else running and that cacls.exe wasn't running in
the background in task manager.
Post by Pegasus (MVP)
cacls /?
CACLS displays or modifies access control lists (ACLs) of files
CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user [...]]
filename Displays ACLs.
/T Changes ACLs of specified files in
the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
/R user Revoke specified user's access rights (only valid with /E).
/P user:perm Replace specified user's access rights.
Perm can be: N None
R Read
W Write
C Change (write)
F Full control
/D user Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.
CI - Container Inherit.
The ACE will be inherited by directories.
OI - Object Inherit.
The ACE will be inherited by files.
IO - Inherit Only.
The ACE does not apply to the current file/directory.
Since cacls is not an essential program, you can reboot the
machine in Safe Mode and rename it temporarily to cacls.ex.
Loading...