I have External Hard and changed some security setting of files and now I am not able to access in my other system. I am admin in this system is there any tool that can make all setting of all content to default.
|
|
You can do this with the GUI -- take ownership and then reset everything -- Right click root folder > properties > security > advanced > owner (tab) > edit > choose your account from the list (or select from the Other Users or Groups button) and select "Replace Owner on subcontainers and objects"
There is also a "takeown" command, i.e. if the files are on a drive that you see as E: --
Once you have taken ownership, then you have to set the permissions; for this, you use ICACLS:
Alternative ways of changing the permissions with ICACLS can be found with "ICACLS /?" as you can explicitly add your permissions, replace, etc. There is a nice tutorial with screenshots (including the one here) at http://www.askvg.com/guide-how-to-take-ownership-permission-of-a-file-or-folder-manually-in-windows/ although it shows you how to do the whole process from the GUI. |
|||||||||||||||||||||
|
The command works fine.
The command did not work, but had to add an asterix (*) to it. As an example:
For those who bumped in to the same problem as me. |
|||||||||
|
|
Debra gave the suggestion which worked very well for me... Many many thanks Debra! I wish I had the repo to vote up for your answer :) Below is what my side of the story was and what I did to solve it.. My problem goes like this - I had Windows 7 Ultimate x86 installed on my dell studio earlier which developed some bad sectors over the years, and suddently the system started failing abruptly hence I replaced the hard disk with a new 500GB one and installed the same Windows 7 Ultimate x86 on the new one. I did not take backup of my personal user files which I kept inside old documents or desktop as I thought using the Administrator account it could be done from the new HDD as we used to do in Windows XP.Well thats where I went wrong!! WIndows 7 has some crancked up security inbuilt, which avoids any other guy to step inside your personal files just like that. Basically I couldn't access my old files when I connected the previous HDD. When I tried going into Users\Administrator or Users\MYUSER directory it just said - "Access is Denied" or went on showing the progress circle indicator for infitely long time and never actually opening it. So I followed this amazing tutorial about how to change ownership and permissions in Windows 7 using GUI - http://www.blogsdna.com/2159/how-to-take-ownership-grant-permissions-to-access-files-folder-in-windows-7.htm But it didn't work out for me as my permissions in old Windows also were pretty wasted. So I came to This article and it worked! Following is what I did in (order of appearance) -
F:\Users>TAKEOWN /F F:\Users\Administrator\ /R /D Y (all dirs under will be owned) F:\Users>TAKEOWN /F F:\Users\Administrator* /R /D Y (any left over files will be owned too) F:\Users>ICACLS "F:\Users\Administrator*" /reset /T
Hope it saves your weekend!! NRJ |
|||||||||
|
protected by Community♦ Dec 12 '15 at 3:55
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
