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 security

Vista - Denied permission to access folders

Reply
 
Old 05-31-2007   #1 (permalink)
Jack K


 
 

Denied permission to access folders

I recently purchased a new external hard drive and I set about transferring
files from my old XP computer to my new hard drive that I then connected to
my Sony Vaio laptop. Most files on the new hard drive are accessible on my
Vista laptop, but a large group (100 Gig) of video editing folders and files
are not accessible. I get these messages:

"You don't currently have permission to access this folder. Click "continue"
to gain access."

Then "You have been denied permission to access this folder - To gain access
you will need to use the security tab."

I have tried to follow the instructions on the help file: "Take ownership of
a file or folder", but although I have at least managed to get the video
files visible, Windows Media Player cannot play them. I can't do anything
with these files, not even delete them or copy them!!

Can anyone give me some advice please, this unexpected problem is driving me
nuts!

Thanks, Jim


My System SpecsSystem Spec
Old 05-31-2007   #2 (permalink)
Jimmy Brush


 
 

Re: Denied permission to access folders

Hello,

This is a common problem with files that you created from another
installation of Windows.

This has to do with the security settings that Windows XP applied to
these files. Since they were created from your user account in XP,
they do not apply to your user account in Vista, and so you are denied
access in some circumstances.

To fix this, you can follow these steps:

- Click Start
- Type: cmd
- Right-click cmd when it appears
- Click 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
- Type: icacls . /grant USEROI)(CI)(F) /L /T /Q
(Where USER is your username - you will only have access from your
XP and Vista machine in this case)
(Or, replace USER with Users if you want anyone [on any computer
your hard drive is plugged into] to have full access to these files)

- JB

On Thu, 31 May 2007 22:17:31 +1200, "Jack K" <Jack@kcaj.com> wrote:

>I recently purchased a new external hard drive and I set about transferring
>files from my old XP computer to my new hard drive that I then connected to
>my Sony Vaio laptop. Most files on the new hard drive are accessible on my
>Vista laptop, but a large group (100 Gig) of video editing folders and files
>are not accessible. I get these messages:
>
>"You don't currently have permission to access this folder. Click "continue"
>to gain access."
>
>Then "You have been denied permission to access this folder - To gain access
>you will need to use the security tab."
>
>I have tried to follow the instructions on the help file: "Take ownership of
>a file or folder", but although I have at least managed to get the video
>files visible, Windows Media Player cannot play them. I can't do anything
>with these files, not even delete them or copy them!!
>
>Can anyone give me some advice please, this unexpected problem is driving me
>nuts!
>
>Thanks, Jim

My System SpecsSystem Spec
Old 05-31-2007   #3 (permalink)
Jack K


 
 

Re: Denied permission to access folders

Thanks very much Jimmy for this information, I will give this a method a
try, but I'm a bit nervous about doing this! Is there a method that can be
used without resorting to programming techniques? The folder and files are
still accessible from the external drive on my old XP computer, even though
I can't get access to them on my Vista laptop.

Incidentally, I tried copying one of the folders again from my XP computer
to a new folder on my external hard drive, and this time it was accessible
on my laptop Vista machine. So it seems that it's just one particular folder
that Vista has problems with, it's not a consistent problem, so this is
rather odd.

Regards, Jim


"Jimmy Brush" <jb@mvps.org> wrote in message
news:qs2u53pb66j7bfcnet832e8qpr9qgn963f@4ax.com...
> Hello,
>
> This is a common problem with files that you created from another
> installation of Windows.
>
> This has to do with the security settings that Windows XP applied to
> these files. Since they were created from your user account in XP,
> they do not apply to your user account in Vista, and so you are denied
> access in some circumstances.
>
> To fix this, you can follow these steps:
>
> - Click Start
> - Type: cmd
> - Right-click cmd when it appears
> - Click 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
> - Type: icacls . /grant USEROI)(CI)(F) /L /T /Q
> (Where USER is your username - you will only have access from your
> XP and Vista machine in this case)
> (Or, replace USER with Users if you want anyone [on any computer
> your hard drive is plugged into] to have full access to these files)
>
> - JB
>
> On Thu, 31 May 2007 22:17:31 +1200, "Jack K" <Jack@kcaj.com> wrote:
>
>>I recently purchased a new external hard drive and I set about
>>transferring
>>files from my old XP computer to my new hard drive that I then connected
>>to
>>my Sony Vaio laptop. Most files on the new hard drive are accessible on my
>>Vista laptop, but a large group (100 Gig) of video editing folders and
>>files
>>are not accessible. I get these messages:
>>
>>"You don't currently have permission to access this folder. Click
>>"continue"
>>to gain access."
>>
>>Then "You have been denied permission to access this folder - To gain
>>access
>>you will need to use the security tab."
>>
>>I have tried to follow the instructions on the help file: "Take ownership
>>of
>>a file or folder", but although I have at least managed to get the video
>>files visible, Windows Media Player cannot play them. I can't do anything
>>with these files, not even delete them or copy them!!
>>
>>Can anyone give me some advice please, this unexpected problem is driving
>>me
>>nuts!
>>
>>Thanks, Jim


My System SpecsSystem Spec
Old 05-31-2007   #4 (permalink)
Jimmy Brush


 
 

Re: Denied permission to access folders

To be honest, it is much easier to use these commands than to use the
explorer interface, as it is a bit of a pain to work with.

Basically, what this does is set the "Administrators" group as the
owner of the folder you select, as well as all the files and folders
contained within that folder. You can do this from the GUI inside of
the security tab, under advanced, and under the owner tab, and
checking the replace owner checkbox.

The second command adds a permission giving either you specifically or
all users full access to the folder and every folder and file
underneath the folder you select.

You can do this from the security tab by adding a permission from the
GUI, assigning it to either your username or the users group, and
checking the allow box under full control.

- JB

On Fri, 1 Jun 2007 08:09:57 +1200, "Jack K" <Jack@kcaj.com> wrote:

>Thanks very much Jimmy for this information, I will give this a method a
>try, but I'm a bit nervous about doing this! Is there a method that can be
>used without resorting to programming techniques? The folder and files are
>still accessible from the external drive on my old XP computer, even though
>I can't get access to them on my Vista laptop.
>
>Incidentally, I tried copying one of the folders again from my XP computer
>to a new folder on my external hard drive, and this time it was accessible
>on my laptop Vista machine. So it seems that it's just one particular folder
>that Vista has problems with, it's not a consistent problem, so this is
>rather odd.
>
>Regards, Jim
>
>
>"Jimmy Brush" <jb@mvps.org> wrote in message
>news:qs2u53pb66j7bfcnet832e8qpr9qgn963f@4ax.com...
>> Hello,
>>
>> This is a common problem with files that you created from another
>> installation of Windows.
>>
>> This has to do with the security settings that Windows XP applied to
>> these files. Since they were created from your user account in XP,
>> they do not apply to your user account in Vista, and so you are denied
>> access in some circumstances.
>>
>> To fix this, you can follow these steps:
>>
>> - Click Start
>> - Type: cmd
>> - Right-click cmd when it appears
>> - Click 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
>> - Type: icacls . /grant USEROI)(CI)(F) /L /T /Q
>> (Where USER is your username - you will only have access from your
>> XP and Vista machine in this case)
>> (Or, replace USER with Users if you want anyone [on any computer
>> your hard drive is plugged into] to have full access to these files)
>>
>> - JB
>>
>> On Thu, 31 May 2007 22:17:31 +1200, "Jack K" <Jack@kcaj.com> wrote:
>>
>>>I recently purchased a new external hard drive and I set about
>>>transferring
>>>files from my old XP computer to my new hard drive that I then connected
>>>to
>>>my Sony Vaio laptop. Most files on the new hard drive are accessible on my
>>>Vista laptop, but a large group (100 Gig) of video editing folders and
>>>files
>>>are not accessible. I get these messages:
>>>
>>>"You don't currently have permission to access this folder. Click
>>>"continue"
>>>to gain access."
>>>
>>>Then "You have been denied permission to access this folder - To gain
>>>access
>>>you will need to use the security tab."
>>>
>>>I have tried to follow the instructions on the help file: "Take ownership
>>>of
>>>a file or folder", but although I have at least managed to get the video
>>>files visible, Windows Media Player cannot play them. I can't do anything
>>>with these files, not even delete them or copy them!!
>>>
>>>Can anyone give me some advice please, this unexpected problem is driving
>>>me
>>>nuts!
>>>
>>>Thanks, Jim

My System SpecsSystem Spec
Old 06-01-2007   #5 (permalink)
Jack K


 
 

Re: Denied permission to access folders


"Jimmy Brush" <jb@mvps.org> wrote in message
news:1qru53ppc3qimq4mqp0kq7l4go0p6t1lf4@4ax.com...
> To be honest, it is much easier to use these commands than to use the
> explorer interface, as it is a bit of a pain to work with.
>
> Basically, what this does is set the "Administrators" group as the
> owner of the folder you select, as well as all the files and folders
> contained within that folder. You can do this from the GUI inside of
> the security tab, under advanced, and under the owner tab, and
> checking the replace owner checkbox.
>
> The second command adds a permission giving either you specifically or
> all users full access to the folder and every folder and file
> underneath the folder you select.
>
> You can do this from the security tab by adding a permission from the
> GUI, assigning it to either your username or the users group, and
> checking the allow box under full control.
>
> - JB


Thanks Jimmy for your help with this frustrating problem. On this occasion,
I have taken the "easy" way out, which was to open a new folder on my
portable hard drive and redo the whole copying job from my XP computer into
this folder. Fortunately, my Vista laptop has recognised all the files in
this new folder on the portable hard drive without any problems so far. But
I can see that, if you understand, and are confident using your direct
programming method, you would get the permission altered faster than using
the explorer interface, which I found most difficult to work with. However,
if you use this programming method, will you have a problem when you connect
your portable hard drive to an XP computer?

I am now wondering whether my Vista computer somehow corrupted just one
folder on my portable hard drive, even though my XP computer could still
access the portable hard drive without difficulty. It was time consuming to
recopy all the 100 gig of files into a new folder, but at least it has
worked.


My System SpecsSystem Spec
Old 06-01-2007   #6 (permalink)
Jesper


 
 

Re: Denied permission to access folders


> I am now wondering whether my Vista computer somehow corrupted just one
> folder on my portable hard drive, even though my XP computer could still
> access the portable hard drive without difficulty. It was time consuming to
> recopy all the 100 gig of files into a new folder, but at least it has
> worked.


The Vista computer did not corrupt the folder. The problem is that XP set
the permissions on the folder to only Administrators. That works well on XP
because virtually every user is member of Administrators and so can access
it. On Vista, even if you are a member of Administrators you cannot actually
access resources as them without jumping through certain hoops. Jimmy's
work-around basically just jumps through the hoops for you. This is how Vista
is designed. if you are interested in why, Mark Russinovich's UAC article is
a good, although very technical, read:
http://www.microsoft.com/technet/tec...C/default.aspx.
You may find the book below useful too.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20

My System SpecsSystem Spec
Old 06-01-2007   #7 (permalink)
Jack K


 
 

Re: Denied permission to access folders


"Jesper" <Jesper@discussions.microsoft.com> wrote in message
news:C910D96C-7304-462F-90E5-900BE96AC574@microsoft.com...
>
>> I am now wondering whether my Vista computer somehow corrupted just one
>> folder on my portable hard drive, even though my XP computer could still
>> access the portable hard drive without difficulty. It was time consuming
>> to
>> recopy all the 100 gig of files into a new folder, but at least it has
>> worked.

>
> The Vista computer did not corrupt the folder. The problem is that XP set
> the permissions on the folder to only Administrators. That works well on
> XP
> because virtually every user is member of Administrators and so can access
> it. On Vista, even if you are a member of Administrators you cannot
> actually
> access resources as them without jumping through certain hoops. Jimmy's
> work-around basically just jumps through the hoops for you. This is how
> Vista
> is designed. if you are interested in why, Mark Russinovich's UAC article
> is
> a good, although very technical, read:
> http://www.microsoft.com/technet/tec...C/default.aspx.
> You may find the book below useful too.
> ---
> Your question may already be answered in Windows Vista Security:
> http://www.amazon.com/gp/product/047...otectyourwi-20


Thanks Jesper for these interesting references. What puzzles me is how this
denial of permission has happened only once on one particular folder that I
created on an external hard drive on a Windows XP computer. I have a brand
new Seagate Freeagent 500 Gig external hard drive, but I think the drive is
working well and was not part of the problem? The fact that I was able to
reperform on my XP computer the job of creating a 100 GIG folder on an
external drive and this second attempt created no problems on my Vista
computer, was a surprise to me because it shows perhaps, that the security
system is not being applied consistently by Vista. Or perhaps I unwittingly
did something different when I recreated the file.

Incidentally, any file that is added to the offending folder, immediately
becomes locked and unable to be read, copied or deleted on my Vista
computer.

Regards, Jim
>


My System SpecsSystem Spec
Old 06-01-2007   #8 (permalink)
Steve C-R


 
 

Re: Denied permission to access folders

Hi, I had the exact same problem after importing my files and settings from
an old XP install, now, I find after resetting permissions, I can no longer
download emails, I am assuming this is an off-shoot of this, as it happened
right at the same time as sorting permissions.

Thanks.

0x80070005 report from windows mail
My System SpecsSystem Spec
Old 06-01-2007   #9 (permalink)
Jesper


 
 

Re: Denied permission to access folders

> Thanks Jesper for these interesting references. What puzzles me is how this
> denial of permission has happened only once on one particular folder that I
> created on an external hard drive on a Windows XP computer.


It has to do with the permissions on that folder. XP set them to allow only
Administrators full access. That works on XP, but not on Vista.

> Incidentally, any file that is added to the offending folder, immediately
> becomes locked and unable to be read, copied or deleted on my Vista
> computer.


Without going into a very long explanation, this has to do with how
permission inheritance works. Any new file you add to the folder gets the
permissions the folder specifies to put on it, which is usually, but not
always, the same as the permissions on the folder. The longer description is
in the book.

---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20

My System SpecsSystem Spec
Old 06-01-2007   #10 (permalink)
Jesper


 
 

Re: Denied permission to access folders

It may not. Can you give us more detail on the problem? What error messages
do you see? What did you do to the folders to fix the problem? Which e-mail
program are you using?
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Steve C-R" wrote:

> Hi, I had the exact same problem after importing my files and settings from
> an old XP install, now, I find after resetting permissions, I can no longer
> download emails, I am assuming this is an off-shoot of this, as it happened
> right at the same time as sorting permissions.
>
> Thanks.
>
> 0x80070005 report from windows mail

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
permission required access denied for .exe file Vista security
LOTRO Access Denied! Permission Issues Vista Games
Permission denied to access folders Vista account administration
Denied Permission to Folders Vista General
You have been denied permission to access... 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