Re: Denied permission to access folders

R

remon

Just wanted to drop by to say that the instructions and commands worked
beautifully.

I restored the primary [C:] hard drive from an old computer running
Windows XP to a new one as a secondary/additional hard drive on Windows
Vista, and got a "You have been denied permission to access this folder"
message.

Found this page via Google. Thank you, *Jimmy Brush*.


Code:
--------------------

- Click *Start*
- Type: cmd
- Right-click cmd when it appears and select *Run As
Administrator*.
- Change location to the folder you need access to (e.g. cd
e:\folder).
- Type: takeown /F . /R /A /D Y > NUL
- Press the Enter key and wait for the command to complete.
- Type: icacls . /grant Users:(OI)(CI)(F) /L /T /Q
- Press the Enter key.
--------------------
Should come in handy for future visitors.
smile.gif



--
remon
 
F

fogjuice

remon640598 Wrote:
> Just wanted to drop by to say that the instructions and commands worked
> beautifully.
>
> I restored the primary [C:] hard drive from an old computer running
> Windows XP to a new one as a secondary/additional hard drive on Windows
> Vista, and got a "You have been denied permission to access this folder"
> message.
>
> Found this page via Google. Thank you, *Jimmy Brush*.
>
> >

Code:
--------------------
> >
> > >

- Click *Start*
- Type: cmd
- Right-click cmd when it appears and select *Run As
> Administrator*.

- Change location to the folder you need access to (e.g. cd
> e:folder).

- Type: takeown /F . /R /A /D Y > NUL
- Press the Enter key and wait for the command to complete.
- Type: icacls . /grant Users:(OI)(CI)(F) /L /T /Q
- Press the Enter key.
> > >

>
--------------------
> > Should come in handy for future visitors.
smile.gif



Just wanted to say this worked perfectly for me. I had a bunch of old
folders on an old hard drive that I needed to regain permissions to. I
plugged it into my Windows 7 x64 machine, ran this command, and it
worked!
smile.gif


Now the scary part is, if this can regain permissions to folders that
users aren't supposed to have perms on, how can one truly prevent users
from gaining access to a windows folder?


--
fogjuice
 

Similar threads

E
Replies
0
Views
29
elichwn
E
J
Replies
0
Views
19
Jitendar Yadav1
J
J
Replies
0
Views
17
Jitendar Yadav1
J
A
Replies
0
Views
31
Abdullah Ali5
A
Back
Top Bottom