Denied permission to access folders

C

chrayres

I'm having similar issues similar to this. I created my own topic since
all scenarios that I've looked up are different and don't seem to work.
This one might work, but I think I'm doing something wrong. I'm using
Windows XP Pro SP2.

I formatted my C: and 3 of 7 folders on my F: are now giving me issues,
says Access is Denied. I used to fix it in the Security tab but there
isn't one showing. I'm the only user and I'm logged in as the admin.
The folder says that there's 0 files and 0 bytes, I only have 70gb free
on a 465gb HDD but the folders only add up to 174gb. So there's a
couple hundred gigs that are on the drive but are not counting.

I tried the solution given here by going to the cmd prompt, switching
to the F: (by typing F: and hitting enter. When I try the commands
listed it says that 'takeown' is not recognized as an internal or
external command, operable program, or batch file. The folder in
question is at this path: F:\desktop. I cannot access that folder
through the command prompt either. I can access other folders on the
drive, just not the 3 in question.

There is another thread at
'http://forums.techarena.in/operating-systems1058851.htm\'
(http://forums.techarena.in/operating-systems/1058851.htm) that I
created originally. Any help is appreciated.


--
chrayres
------------------------------------------------------------------------
chrayres's Profile: http://forums.techarena.in/members/chrayres.htm
View this thread: http://forums.techarena.in/vista-security/757183.htm

http://forums.techarena.in
 

My Computer

F

FromTheRafters

Use a Linux (or other) penetration disk.

"chrayres" <[email protected]> wrote in message
news:[email protected]

>
> I'm having similar issues similar to this. I created my own topic since
> all scenarios that I've looked up are different and don't seem to work.
> This one might work, but I think I'm doing something wrong. I'm using
> Windows XP Pro SP2.
>
> I formatted my C: and 3 of 7 folders on my F: are now giving me issues,
> says Access is Denied. I used to fix it in the Security tab but there
> isn't one showing. I'm the only user and I'm logged in as the admin.
> The folder says that there's 0 files and 0 bytes, I only have 70gb free
> on a 465gb HDD but the folders only add up to 174gb. So there's a
> couple hundred gigs that are on the drive but are not counting.
>
> I tried the solution given here by going to the cmd prompt, switching
> to the F: (by typing F: and hitting enter. When I try the commands
> listed it says that 'takeown' is not recognized as an internal or
> external command, operable program, or batch file. The folder in
> question is at this path: F:\desktop. I cannot access that folder
> through the command prompt either. I can access other folders on the
> drive, just not the 3 in question.
>
> There is another thread at
> 'http://forums.techarena.in/operating-systems1058851.htm\'
> (http://forums.techarena.in/operating-systems/1058851.htm) that I
> created originally. Any help is appreciated.
>
>
> --
> chrayres
> ------------------------------------------------------------------------
> chrayres's Profile: http://forums.techarena.in/members/chrayres.htm
> View this thread: http://forums.techarena.in/vista-security/757183.htm
>
> http://forums.techarena.in
>
 

My Computer

G

Guest

I think that some data maybe damaged or the uninstall of the system causes
some problems of recognizing you right to read the files , though existing,
but not being available through the file management of the operating system.
It is certainly not available through command line.
If you want to have your data recovered, you may use some professional
software such as Handy Recovery, or asking professional data rescue team for
help.
And, I've no idea about the meaning of 'takeown'.

Opinion above is only for reference. Make your own decision.

"chrayres" <[email protected]> дÈëÏûÏ¢
news:[email protected]

>
> I'm having similar issues similar to this. I created my own topic since
> all scenarios that I've looked up are different and don't seem to work.
> This one might work, but I think I'm doing something wrong. I'm using
> Windows XP Pro SP2.
>
> I formatted my C: and 3 of 7 folders on my F: are now giving me issues,
> says Access is Denied. I used to fix it in the Security tab but there
> isn't one showing. I'm the only user and I'm logged in as the admin.
> The folder says that there's 0 files and 0 bytes, I only have 70gb free
> on a 465gb HDD but the folders only add up to 174gb. So there's a
> couple hundred gigs that are on the drive but are not counting.
>
> I tried the solution given here by going to the cmd prompt, switching
> to the F: (by typing F: and hitting enter. When I try the commands
> listed it says that 'takeown' is not recognized as an internal or
> external command, operable program, or batch file. The folder in
> question is at this path: F:\desktop. I cannot access that folder
> through the command prompt either. I can access other folders on the
> drive, just not the 3 in question.
>
> There is another thread at
> 'http://forums.techarena.in/operating-systems1058851.htm\'
> (http://forums.techarena.in/operating-systems/1058851.htm) that I
> created originally. Any help is appreciated.
>
>
> --
> chrayres
> ------------------------------------------------------------------------
> chrayres's Profile: http://forums.techarena.in/members/chrayres.htm
> View this thread: http://forums.techarena.in/vista-security/757183.htm
>
> http://forums.techarena.in
>
 

My Computer

F

FromTheRafters

You stated that the easy methods didn't work.

http://support.microsoft.com/default.aspx?scid=kb;en-us;308421&Product=winxp

Maybe "BackTrack" will.

http://www.remote-exploit.org/backtrack.html

"chrayres" <[email protected]> wrote in message
news:[email protected]

>
> yeah I dont know what that means. maybe like a super easy graphical
> button I can push and check a little radio button or something would be
> more up my alley.
>
>
> --
> chrayres
> ------------------------------------------------------------------------
> chrayres's Profile: http://forums.techarena.in/members/chrayres.htm
> View this thread: http://forums.techarena.in/vista-security/757183.htm
>
> http://forums.techarena.in
>
 

My Computer

J

Jimmy Brush

FYI the OP has resolved this issue at another forum by disabling simple file
sharing, which turns on the security tab in XP.

- JB


"chrayres" <[email protected]> wrote in message
news:[email protected]

>
> I'm having similar issues similar to this. I created my own topic since
> all scenarios that I've looked up are different and don't seem to work.
> This one might work, but I think I'm doing something wrong. I'm using
> Windows XP Pro SP2.
>
> I formatted my C: and 3 of 7 folders on my F: are now giving me issues,
> says Access is Denied. I used to fix it in the Security tab but there
> isn't one showing. I'm the only user and I'm logged in as the admin.
> The folder says that there's 0 files and 0 bytes, I only have 70gb free
> on a 465gb HDD but the folders only add up to 174gb. So there's a
> couple hundred gigs that are on the drive but are not counting.
>
> I tried the solution given here by going to the cmd prompt, switching
> to the F: (by typing F: and hitting enter. When I try the commands
> listed it says that 'takeown' is not recognized as an internal or
> external command, operable program, or batch file. The folder in
> question is at this path: F:\desktop. I cannot access that folder
> through the command prompt either. I can access other folders on the
> drive, just not the 3 in question.
>
> There is another thread at
> 'http://forums.techarena.in/operating-systems1058851.htm\'
> (http://forums.techarena.in/operating-systems/1058851.htm) that I
> created originally. Any help is appreciated.
>
>
> --
> chrayres
> ------------------------------------------------------------------------
> chrayres's Profile: http://forums.techarena.in/members/chrayres.htm
> View this thread: http://forums.techarena.in/vista-security/757183.htm
>
> http://forums.techarena.in
>
 

My Computer

gjgerber

New Member
I just tried Jimmy Brush's suggestion and it worked fine, except for the little error created by the insertion of the sad face in the command string.

I tried every combination of letters and characters I could think of until I googled the search string and saw that it should read:

Type: icacls . /grant USER:(OI)(CI)(F) /L /T /Q

So, since my user name was owner-pc, the correct string to type in the command line would be:

icacls . /grant owner-pc:(OI)(CI)(F) /L /T /Q

Once I typed in that string, it immediately granted me access to all the files in the folder.

Another trick is to find your real user name. I always assumed it was my screen name, but it wasn't. To find your user name in Vista, click on Start, Control Panel, User Accounts and Family Safety. Then click on User Accounts again.

You will see your screen name, user type and picture on the far right. On the far left, you'll see a list of options. Click on Configure Advanced User Profile Properties and a new window will open showing your "official" user name. In my case it was Owner-PC.
 

My Computer

A

ariars850

i have the same problem. occured while trying to set up a network. now i
cant access drive c i keep getting access is denied. but i cant run cmd
prompt as administrater as it wont let me. i get the message
c:\windows\system32\cmd.exe the parameter is incorrect. i dont
think anybody knows how to cure this as ive been trying for days. i just
seem to get stupid questions like is your copy of vista legal.


--
ariars850
------------------------------------------------------------------------
ariars850's Profile: http://forums.techarena.in/members/89999.htm
View this thread: http://forums.techarena.in/vista-security/757183.htm

http://forums.techarena.in
 

My Computer

fogjuice

New Member
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:
[LIST=1]
[*]Click [B]Start[/B]
[*] Type: [FONT=Courier New][COLOR=Green]cmd[/COLOR][/FONT]
[*] Right-click [FONT=Courier New][COLOR=Green]cmd[/COLOR][/FONT] when it appears and select [B]Run As Administrator[/B].
[*] Change location to the folder you need access to (e.g. [FONT=Courier New][COLOR=Green]cd e:\folder[/COLOR][/FONT]).
[*] Type: [FONT=Courier New][COLOR=Green]takeown /F . /R /A /D Y > NUL[/COLOR][/FONT]
[*]Press the Enter key and wait for the command to complete.
[*] Type: [FONT=Courier New][COLOR=Green]icacls . /grant Users:(OI)(CI)(F) /L /T /Q[/COLOR][/FONT]
[*]Press the Enter key.
[/LIST]
Should come in handy for future visitors. :)


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! :)

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?
 

My Computer

davpolitics

New Member
I'm having these same problems. It's actually my brother's laptop, he's running Vista 32bit. We were downloading a game in RAR format. I have XP on my comp and after the install it setup just fine and worked immediately after. He tried to extract it and all the files extracted except setup.exe. It gave him an error in WinRAR and aborted the process. I decided to send him the setup.exe alone in a RAR format. It wouldn't extract, same error. I uploaded the .exe file on Rapidshare, he downloaded it, but then got a "Permission Denied" prompt, as adminstrator he clicked continue. It gave him the access denied error with only retry and cancel as options, so it failed.

We tried the command prompts. The first one with the takeown would begin but eventually got an error something like windows couldn't open some file or another...sorry, forgot the message and now his computer is having even more trouble....so we ran the other prompt with icacls which worked, but didn't change anything for the download.

Most recently he recieves errors after opening pretty much anything. He can't even begin any downloads in Internet explorer. Now we tried a system restore, which hopefully will at least put us at square one before all the errors...

I have been trying to get this one file to load on his computer for about 4 days or so now and it's getting to be pretty annoying. Sometimes the WinRAR would extract everything 100% with no errors but when you go to the folder it extracted to Setup.exe would not be there. I'ts getting pretty frustrating. PLEASE help!

~EDIT~

Ok, now we're having trouble with system restore...it says "windows cannot access the specified device path or file. You may not have the appropriate permissions to access the item"

Also when he opens Internet Explorer it gives the same error as the system restore. Also when he tries to download something it gives the error "Internet Explorer cannot download ____ from ___. Internet explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. Please try again later." He got this trying to "save target as" on ANYTHING on ANY page.
 

My Computer

acesilver

New Member
easy fix for when I needed to delete a folder that I could not because of permission problems.

This is for people who still need help with this, I'm kinda late on helping the original person but here it is....

Run cmd prompt as administrator, then type in....
net user administrator /active:yes

that opens up a new admin account and gives you access to everything. I was able to delete the folder then =) i hope this helps!:D
 

My Computer

M

MowGreen

acesilver wrote:

> easy fix for when I needed to delete a folder that I could not because
> of permission problems.
>
> This is for people who still need help with this, I'm kinda late on
> helping the original person but here it is....
>
> Run cmd prompt as administrator, then type in....
> net user administrator /active:yes
>
> that opens up a new admin account and gives you access to everything. I
> was able to delete the folder then =) i hope this helps!:D
>
>

You forgot a *really important* step:

net user administrator /active:no

Leaving the Admin account active is an unnecessary security risk after
the folders have been deleted. It's quicker than changing Perms or
taking Ownership of the folders but leaving the Admin account active is
not wise as *anything* that installs when it's active will have the same
rights as the Admin on the system.


MowGreen
================
*-343-* FDNY
Never Forgotten
================

banthecheck.com
"Security updates should *never* have *non-security content* prechecked
 

My Computer

B

Bjorn Jensen

Hi

"acesilver" <[email protected]> skrev i meddelelsen
news:[email protected]

>
> easy fix for when I needed to delete a folder that I could not because
> of permission problems.
>
> This is for people who still need help with this, I'm kinda late on
> helping the original person but here it is....
>
> Run cmd prompt as administrator, then type in....
> net user administrator /active:yes
>
> that opens up a new admin account and gives you access to everything. I
> was able to delete the folder then =) i hope this helps!:D
>
>
> --
> acesilver

Do your little guide also work 100% in Windows 7 ?

--
Bjorn
 

My Computer

Top