Need Help Fast...Access Denied to My Drive

  • Thread starter Thread starter Jared
  • Start date Start date
J

Jared

I am the administrative account on my computer. I have 2
HD's in my pc. I turned off simple sharing and was trying
to set security for 1 of the HD's with my work related
info on it so only my user and the admin would beable to
access it. I thought I had it setup right but not it says
access denied when I try to open it. Also, I logged on
the admin and same thing. What gives...If the admin can't
get it...who can?! I need help fast here...

Thanks a lot
 
If you set Deny permissions for the User's group, that's your problem.
Administrators are also part of the Users group, and Deny permissions take
precedence over Allow permissions.

Open a command prompt window and type in CACLS.EXE /?

This will give you the command line reference for this utility. Try various
combinations of the path (with and without trailing slashes) to the files
that you've locked yourself out of. You might get lucky. Sorry, I can't
give you a specific reference, but I've done the same as you have and this
is what eventually got me out of it.
 
I have many, many files and I need to get into the
folders. I wish I never did this. So there is no other way
to "undo" the permissions? How about restore? I just did
it today.
 
Only via CACLS, and as I said, you'll need to experiment with the command
line options.
 
I'm not exactly sure how to go about this. The
explanation from typing cacls.exe/? didn't help much. I
typed cacls.exe e:\restore\jared and it said access
denied. e: is the drive I set the permissions on, restore
is a folder on the drive, and jared is the user I want to
change permissions for. Any advice? Thanks for the help
 
You need to use the additional switches to Grant permissions /G
<username>:perm, and you may want to use the /E for edit or the /P for
replace switches. The /E switch is probably your best bet.

As before, you may need to try combinations of:

e:\restore\jared
e:\restore\jared\
e:\restore
e:\restore\
 
Hi (e-mail address removed),

In microsoft.public.windowsxp.general you remarked...
I'm not exactly sure how to go about this. The
explanation from typing cacls.exe/? didn't help much. I
typed cacls.exe e:\restore\jared and it said access
denied. e: is the drive I set the permissions on, restore
is a folder on the drive, and jared is the user I want to
change permissions for. Any advice? Thanks for the help
Search for "cacls" in XP's Help and Support.
 
Ok I still can't get anywhere....

When I open command prompt this is what is there:

C:\Documents and Settings\Jared>

Then this is what I type after it...

C:\Documents and Settings\Jared>cacls restore/g
jared:permission

Restore is the Folder name (I don't know ANY file names)
Jared is the user name

After I hit enter...is just shows all of the commands and
nothing happens...

Thanks for the help guys...
 
Then you're not entering it correctly. Its not permission, its perm.

First, move back to the root directory. At the command prompt type CD \

Then

CACLS C:\Documents and Settings\Jared\Restore /T /G jared:perm
CACLS C:\Documents and Settings\Jared\Restore\ /T /G jared:perm

You may need to play with other combinations of the command line switches
that relate to Granting permissions. And make sure that you put spaces
between each command line switch, as in the above example.
 
Ok I think I might be on the right track now. BTW, the
Restore folder is not on the C: drive, it is on the E:
drive (another HD) (E:\Restore). So I typed CD\ to get
back to the C prompt. Then I typed cacls E:\restore /T /G
jared:perm ... I tried different combos and stuff but it
usually says invalid arguments.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top