Sign in with
Sign up | Sign in
Your question

Security settings on drive set to deny all for everyone!!! D:

Last response: in Windows 7
Share
June 19, 2012 5:07:02 PM

Somehow a drive on one of my work computers got the security permissions for "everyone" set to deny. I need some type of work around to reset the permissions or a way to recover the data from the drive so I can format it. The bottom line is I need the data, so whatever I can do to make that happen I will do.

I tried cmd prompt command:

  1. icacls s:\ /grant Administrator:F /T /C


this returns:
  1. s:\: Access is denied


If there is a way to reset the security permissions that would be nice. Please let me know or link me to other discussions (though I've looked at many with no answers it seems... no one ever reports back on a solution)
a b $ Windows 7
June 19, 2012 6:00:49 PM

can't you simply right click on the drive in explorer, go to properties, then change the sharing permissions?
m
0
l
a b 8 Security
a b $ Windows 7
June 19, 2012 6:07:09 PM


Hello and welcome to Tom's Hardware Forums.

Go into Control Panel>Administrative Tools>Local Security Policy and modify the User Rights Assignments as you wish.


m
0
l
Related resources
June 19, 2012 6:10:39 PM

Saga Lout said:

Hello and welcome to Tom's Hardware Forums.

Good grief I don't like it when people do that. I'm sure newbies also hate it when people 'point out' that they're newbies. I know I would.

Sorry for off topic, it had to be said.
m
0
l
a b 8 Security
a b $ Windows 7
June 19, 2012 6:49:10 PM

Pherule said:
Good grief I don't like it when people do that. I'm sure newbies also hate it when people 'point out' that they're newbies. I know I would.





Each to his own, I suppose. I always think it's nice to be welcomed into a Forum and sometimes I've even been thanked for it. A little politeness can still go a long way in the modern world and those of us of, say, a certain age carry on the habits of a lifetime.


m
0
l
June 21, 2012 12:47:33 AM

What I ended up doing:
1 - boot into safe mode (hold f8 after POSTing)
2 - right click on drive that was locked and clicked properties
3 - opened security tab
4 - assigned ownership to the 'Administrators' group
5 - set permissions to allow all for 'Administrators' group (there are a few prompt that I had to go through bu I can't remember them off-hand)
6 - ran command prompt as admin (search cmd then hold ctrl+shift and press enter)
7 - ran the 'takeown' command to set ownership like so:
TAKEOWN /F {my drive} /R /A /D Y
8 - ran the 'icacls' command to set permissions like so:
icacls {my drive} /grant Administrators:F(OI)(CI) /T /C

Works well. I may have reversed 7 and 8... but if you get a bunch of errors you can always run the other one first. It took awhile to loop through all of my files but it worked so I'm not complaining
m
0
l
!