Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

Vista - You have been denied permission to access...

Reply
 
Old 12-20-2006   #11 (permalink)
Faycal


 
 

Re: You have been denied permission to access...

hi
sorry to come back with this permissions things but i have a problem and
maybe someone can help
so i've done a clean installation of vista, everythings works fine and can
access my files saved under Xp. But i wanted to restrict acces for some
others users and hereS' where my problems started, somehow i denied acces to
all the usergroups include my account (set as administrator) even under XP
the folders and files are now unaccessible.
I tried to undo it on the parent directory but the change won' apply to
subfolders.
I can still undo it but i have to do it for every single files and that'S
too long.
So is there an option to do it for multiples files?
thank for yours answers and sorry my english isn't so good

Faycal

"Jimmy Brush" wrote:

> Hello,
>
> The solution is NOT to change ownership; rather, you need to add a
> permission in Vista via the security tab to the folder where these files
> resides that gives your username read/write access. The permission applied
> to the folder will automatically apply to all the files that you created
> inside of that folder.
>
>
> --
> - JB
>
> Windows Vista Support Faq
> http://www.jimmah.com/vista/
>


My System SpecsSystem Spec
Old 12-23-2006   #12 (permalink)
Jimmy Brush


 
 

Re: You have been denied permission to access...

Hello,

When I was first introduced to Windows NT many moons ago I did the same
thing myself ... except I ended up locking everyone (including SYSTEM) out
of my entire disk drive, even after multiple warnings from Windows about how
that wasn't such a good idea. lol. Needless to say, the system wouldn't boot
and I ended up reformatting.

Anyway, based on what you've said, it sounds like you added a DENY
permission. Deny permissions override any other ALLOW permissions on the
file.

Example: allowing the Administrators group access to a file and then DENYing
the users group access to that file.

This would seem to block normal users but allow administrators access, but
that's not what happens. Since deny permissions take precedence, both
administrators and users are denied access, since all administrators are
users and users are denied.

Most of the time you should never need to set a deny permission. If you do,
DON'T deny access to a file to a well-known group (such as users or
administrators) - set deny permissions on a single user account or create a
new group (such as "blocked users") and put that group in the deny
permissions.

In this case, you will need to take ownership of the files in order to be
able to change their permissions.

Following these steps should allow you to change the permissions on the
files:

1) open admin command prompt

- Click start
- Type: cmd
- right-click it under programs
- click Run As Administrator

2) take ownership of everything

- browse to the folder that you need access to
(for example, "cd c:\users\jimmy\documents\folder")

In the command prompt, type:
takeown /F . /A /R /D Y

and press enter.

3) change permissions

You should now be able to remove the deny permissions and make any other
changes, and then have those changes propogated down the folder heirarchy.


--
- JB

Windows Vista Support Faq
http://www.jimmah.com/vista/


My System SpecsSystem Spec
Old 12-23-2006   #13 (permalink)
Faycal


 
 

Re: You have been denied permission to access...

thx man very helpful

"Jimmy Brush" wrote:

> Hello,
>
> When I was first introduced to Windows NT many moons ago I did the same
> thing myself ... except I ended up locking everyone (including SYSTEM) out
> of my entire disk drive, even after multiple warnings from Windows about how
> that wasn't such a good idea. lol. Needless to say, the system wouldn't boot
> and I ended up reformatting.
>
> Anyway, based on what you've said, it sounds like you added a DENY
> permission. Deny permissions override any other ALLOW permissions on the
> file.
>
> Example: allowing the Administrators group access to a file and then DENYing
> the users group access to that file.
>
> This would seem to block normal users but allow administrators access, but
> that's not what happens. Since deny permissions take precedence, both
> administrators and users are denied access, since all administrators are
> users and users are denied.
>
> Most of the time you should never need to set a deny permission. If you do,
> DON'T deny access to a file to a well-known group (such as users or
> administrators) - set deny permissions on a single user account or create a
> new group (such as "blocked users") and put that group in the deny
> permissions.
>
> In this case, you will need to take ownership of the files in order to be
> able to change their permissions.
>
> Following these steps should allow you to change the permissions on the
> files:
>
> 1) open admin command prompt
>
> - Click start
> - Type: cmd
> - right-click it under programs
> - click Run As Administrator
>
> 2) take ownership of everything
>
> - browse to the folder that you need access to
> (for example, "cd c:\users\jimmy\documents\folder")
>
> In the command prompt, type:
> takeown /F . /A /R /D Y
>
> and press enter.
>
> 3) change permissions
>
> You should now be able to remove the deny permissions and make any other
> changes, and then have those changes propogated down the folder heirarchy.
>
>
> --
> - JB
>
> Windows Vista Support Faq
> http://www.jimmah.com/vista/
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Denied permission to access folders Vista security
permission required access denied for .exe file Vista security
Re: destination folder access denied you need permission to perform this action Vista security
LOTRO Access Denied! Permission Issues Vista Games
Permission denied to access folders Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46