A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

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

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Security and Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Security and Windows Vista A forum for discussion on security issues with Windows Vista. (microsoft.public.windows.vista.security)

Denied permission to access folders



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 31st 07, 10:17 AM posted to microsoft.public.windows.vista.security
Jack K
external usenet poster
 
Posts: 11
Default 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

  #2 (permalink)  
Old May 31st 07, 06:02 PM posted to microsoft.public.windows.vista.security
Jimmy Brush
external usenet poster
 
Posts: 656
Default 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" 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

  #3 (permalink)  
Old May 31st 07, 08:09 PM posted to microsoft.public.windows.vista.security
Jack K
external usenet poster
 
Posts: 11
Default 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" wrote in message
...
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" 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


  #4 (permalink)  
Old June 1st 07, 01:02 AM posted to microsoft.public.windows.vista.security
Jimmy Brush
external usenet poster
 
Posts: 656
Default 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" 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" wrote in message
.. .
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" 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

  #5 (permalink)  
Old June 1st 07, 04:54 AM posted to microsoft.public.windows.vista.security
Jack K
external usenet poster
 
Posts: 11
Default Denied permission to access folders


"Jimmy Brush" wrote in message
...
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.


  #6 (permalink)  
Old June 1st 07, 05:58 AM posted to microsoft.public.windows.vista.security
Jesper
external usenet poster
 
Posts: 839
Default 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

  #7 (permalink)  
Old June 1st 07, 07:41 AM posted to microsoft.public.windows.vista.security
Jack K
external usenet poster
 
Posts: 11
Default Denied permission to access folders


"Jesper" wrote in message
...

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


  #8 (permalink)  
Old June 1st 07, 10:00 AM posted to microsoft.public.windows.vista.security
Steve C-R
external usenet poster
 
Posts: 1
Default 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
  #9 (permalink)  
Old June 1st 07, 03:40 PM posted to microsoft.public.windows.vista.security
Jesper
external usenet poster
 
Posts: 839
Default 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

  #10 (permalink)  
Old June 1st 07, 03:41 PM posted to microsoft.public.windows.vista.security
Jesper
external usenet poster
 
Posts: 839
Default 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

 




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 On



All times are GMT. The time now is 09:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.