Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Denied permission to access folders

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 06-01-2007   #11 (permalink)
Steve C-R
Guest


 

Re: Denied permission to access folders

Doing what was recommended by Jimmy Brush, was long winded and would of been
easier going into the permissions section for the folder, as it happens,
after doing what was recomended, Windows Mail no longer had permission to
write to the Windows Mail folder in my users account, so all had to be reset.

"Jesper" wrote:

> 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
Old 06-01-2007   #12 (permalink)
Jimmy Brush
Guest


 

Re: Denied permission to access folders

What folder did you apply the permission changes to?

- JB

On Fri, 1 Jun 2007 09:52:00 -0700, Steve C-R
<SteveCR@discussions.microsoft.com> wrote:

>Doing what was recommended by Jimmy Brush, was long winded and would of been
>easier going into the permissions section for the folder, as it happens,
>after doing what was recomended, Windows Mail no longer had permission to
>write to the Windows Mail folder in my users account, so all had to be reset.
>
>"Jesper" wrote:
>
>> 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
Old 08-28-2007   #13 (permalink)
Taxee
Guest


 

Re: Denied permission to access folders

I am having a similar problem to the OP but with one difference.

I am trying to run an exe file from a CD. I tried running it from the run
window but receive the message "you don't have permission to open this file.
Contact the file owner or administrator to obtain permission".

I have full admin rights and the CD is a standard commercial program (i.e. I
purchased it).

I tried using explorer and am unable to even right click on the file (i.e. I
right click on it but the menu does not appear). I am able to right click on
other files (non-apps) but not on the exe file.

I tried the commands in your post but:

1. There was no choice to "run as administrator" when right-clicking on the
box. However, the title on the cmd box did indicate "Administrator c:\...

2. I could not get the drive to change to d:\setup (the directory the file
is in) but assume this is because the CD is read only.

Any suggestions as why Vista won't let me run the file?



"Jimmy Brush" wrote:
Quote:

> 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@xxxxxx> wrote:
>
Quote:

> >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 08-29-2007   #14 (permalink)
pls
Newbie


Join Date: Aug 2007
Windows Vista Home Premium
 
Rep Power: 9
pls is on a distinguished road
  pls is offline

Re: Denied permission to access folders

Quote:
Jimmy Brush
View Post
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
Working on the same problem but not sure what the purpose of the smiley face is? Without it, both my user name and USERS are rejected as invalid.
My System SpecsSystem Spec
Old 09-08-2007   #15 (permalink)
Zoonotics
Guest


 

Re: Denied permission to access folders

I can't get onto my E:\ hard drive with the commands you gave I am familiar
with the old DOS commands. When I type cd e:\backup or cd e:\ or cd e:, the
command goes back to c:\, even when I cd.. back from windows directory.

"Jimmy Brush" wrote:
Quote:

> 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@xxxxxx> wrote:
>
Quote:

> >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 09-11-2007   #16 (permalink)
Seth
Guest


 

Re: Denied permission to access folders

"Zoonotics" <Zoonotics@xxxxxx> wrote in message
news:12FC5A2E-220E-4014-BAD8-59E317AD2888@xxxxxx
Quote:

>I can't get onto my E:\ hard drive with the commands you gave I am familiar
> with the old DOS commands. When I type cd e:\backup or cd e:\ or cd e:,
> the
> command goes back to c:\, even when I cd.. back from windows directory.

That's because none of the commands you typed tell the machine to go to
drive E:, just to change the current directory on drive E:.

Try simply...
E: [Enter]
....to change your current drive to E: Then you can "cd" around the E: drive
all you want.

My System SpecsSystem Spec
Old 09-12-2007   #17 (permalink)
Mark Bourne
Guest


 

Re: Denied permission to access folders

pls wrote:
Quote:

> Jimmy Brush;329363 Wrote:
Quote:

>> 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@xxxxxx> wrote:
>>
Quote:

>>> I recently purchased a new external hard drive and I set about
>> transferring
Quote:

>>> files from my old XP computer to my new hard drive that I then
>> connected to
Quote:

>>> my Sony Vaio laptop. Most files on the new hard drive are accessible
>> on my
Quote:

>>> Vista laptop, but a large group (100 Gig) of video editing folders and
>> files
Quote:

>>> are not accessible. I get these messages:
>>>
>>> "You don't currently have permission to access this folder. Click
>> "continue"
Quote:

>>> to gain access."
>>>
>>> Then "You have been denied permission to access this folder - To gain
>> access
Quote:

>>> you will need to use the security tab."
>>>
>>> I have tried to follow the instructions on the help file: "Take
>> ownership of
Quote:

>>> a file or folder", but although I have at least managed to get the
>> video
Quote:

>>> files visible, Windows Media Player cannot play them. I can't do
>> anything
Quote:

>>> with these files, not even delete them or copy them!!
>>>
>>> Can anyone give me some advice please, this unexpected problem is
>> driving me
Quote:

>>> nuts!
>>>
>>> Thanks, Jim
> Working on the same problem but not sure what the purpose of the smiley
> face is? Without it, both my user name and USERS are rejected as
> invalid.
>
>
Are you referring to a smiley after "USER" in this line?:
Quote:
Quote:

>> - Type: icacls . /grant USEROI)(CI)(F) /L /T /Q
That's whatever you're using to read the message substituting graphics
for text smilies. It should be ""USER : ( O I )..." but without the
spaces - I've inserted them to stop your reader recognising a smiley!
It's probably replacing the colon-open parenthesis with a sad face

It can be quite amusing looking at some online archives where complex
command lines come up full of smilies... unless of course you're the one
trying to use the command! ;o)
My System SpecsSystem Spec
Old 03-09-2008   #18 (permalink)
Newbie


Join Date: Mar 2008
Vista Home Basic
 
Rep Power: 6
remon is on a distinguished road
  remon is offline

Re: Denied permission to access folders

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:
  1. Click Start
  2. Type: cmd
  3. Right-click cmd when it appears and select Run As Administrator.
  4. Change location to the folder you need access to (e.g. cd e:\folder).
  5. Type: takeown /F . /R /A /D Y > NUL
  6. Press the Enter key and wait for the command to complete.
  7. Type: icacls . /grant Users:(OI)(CI)(F) /L /T /Q
  8. Press the Enter key.
Should come in handy for future visitors.
My System SpecsSystem Spec
Old 04-30-2008   #19 (permalink)
btgavin
Guest


 

Re: Denied permission to access folders

Jimmy,
Are there any other switches that need to be added for Vista? I made the
mistake of loading AOL software and now I can't delete the files, even after
using the fix you provided.
Thanks
Brian

"Jimmy Brush" wrote:
Quote:

> 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@xxxxxx> wrote:
>
Quote:

> >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 04-30-2008   #20 (permalink)