It’s a sad day for me. Logging on to my Windows 7 system, I found I had no task bar icons, no desktop icons and no files in my start folders. Definitely not good!! Upon investigation, I found that the files and objects were there but hidden, and found that I could not unhide them. After many hours of attempted to repair, I chose to rebuild my system. In order to save my data, since I am the only user on this desktop I bought a new 1TB drive, formatted and partitioned it, and “rolled” off all my data to the new HDD.
My problem is all the data on the new drive is in the same state, read only and hidden.
Since we are talking about 100,000 files, mostly images,
xls files, is there a way, using
icacls to set these files back to “factory” ownership and permissions.
Upon waiting for an answer to that question, I've further complicated the issue by "monkeying around" with the
attrib command and trying to set permissions/and ownership using the Windows Explorer properties GUIs. Now in my folder
Properties > General tab indicates that I have 5000 files and 400 folders (which I do have), but when I click to the
My_Stuff folder, there are no files or subdirectories shown. My bad!
When I run the
icacls . /T command on the
My_Stuff directory, it shows ACEs for the 5000 files and folders, but when I run
dir, it shows no files or folders.
I believe that the objects are still there, but I am no longer able to "see" them.
How can I reset my permissions and/or ownership to have access to those files and directories?
The ACE for the folder My_Stuff is:
/My Stuff D:AI(A;OICI;FA;;;S-1-5-21-1901188621-1686581908-1501539319-1000) (A;OICIID;FA;;;LA)(A;OICIID;FA;;;AU)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;BU)
The ACE to one of the subdirectories is:
Any ideas! Help!