Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Denied permission to access folders

microsoft.public.windows.vista.security






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

Posts: n/a
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

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-31-2007
Jimmy Brush
 

Posts: n/a
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

Reply With Quote
  #3 (permalink)  
Old 05-31-2007
Jack K
 

Posts: n/a
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


Reply With Quote
  #4 (permalink)  
Old 06-01-2007
Jimmy Brush
 

Posts: n/a
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

Reply With Quote
  #5 (permalink)  
Old 06-01-2007
Jack K
 

Posts: n/a
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.


Reply With Quote
  #6 (permalink)  
Old 06-01-2007
Jesper
 

Posts: n/a
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

Reply With Quote
  #7 (permalink)  
Old 06-01-2007
Jack K
 

Posts: n/a
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
>


Reply With Quote
  #8 (permalink)  
Old 06-01-2007
Steve C-R
 

Posts: n/a
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
Reply With Quote
  #9 (permalink)  
Old 06-01-2007
Jesper
 

Posts: n/a
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

Reply With Quote
  #10 (permalink)  
Old 06-01-2007
Jesper
 

Posts: n/a
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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied to access folders =?Utf-8?B?cnlwdXJkdWU=?= microsoft.public.windows.vista.administration accounts passwords 9 10-19-2007 21:00
Access denied to folders jefffarq microsoft.public.windows.vista.general 1 05-28-2007 22:50
Access denied to files and folders Joachim microsoft.public.windows.vista.file management 4 05-10-2007 11:20
Access Denied in Profile Folders? GeekUnit microsoft.public.windows.vista.file management 2 02-28-2007 14:13
Re: You have been denied permission to access... =?Utf-8?B?RmF5Y2Fs?= microsoft.public.windows.vista.administration accounts passwords 2 02-28-2007 14:10




All times are GMT +1. The time now is 15:10.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120