Documents and Settings icon was changed from lock to shortcut

Jegbert

New member
Local time
9:20 PM
Messages
2
I don't want to have permission of this folder all I want to due is get it back the way it was to begin with. When I first click on Documents and Setting folder it said access denied right click went to properties ,click on it went to security tab to look at the permission went to advanced button click on it some how I did something when I got out of the folder, the folder icon no longer had a lock but a shortcut on it. When I went back into properties the next time and to security tab it no longer had the same information. On the screen was Objet Name C:/Documents and Settings info icon that said "You do not have permission to view or edit the object's permission settings". When you click on the advanced button lower right corner Three of the four tab which are Permissions, Auditing, Effective Permissions have the same info icon with the same sentence. The Owner tab screen has the Object name C:/Documents and Settings.
current owner which says "Unable to display current owner" Change owner to section has "Administrators (name of Pc\Administrators) and on the second line it has my name(name of the Pc\my name).
I did a restore before this happened and it didn't take of the problem. I'm able to solve this on my own I would appreciate some help.
 

My Computer My Computer

At a glance

Windows 7 64 bit SP1i7 -3960X16 GBDual Navidia GTX680
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 64 bit SP1
CPU
i7 -3960X
Motherboard
Asus Rampage IV Extreme
Memory
16 GB
Graphics Card(s)
Dual Navidia GTX680
Hard Drives
Samsung 830 256 GB SSD and WD 2TB and WD 500 GB
Antivirus
Webroot SecureAnywhere
Browser
Explore 11 and Chrome
This is pretty easy to fix. Delete "Documents and Settings" nothing uses it anymore. Any software that needs it would most likely not run in the first place.
 

My Computer My Computer

At a glance

Windows 10 Pro (x64)Intel Core i7-3930K (3.2GHz - 4.5GHz)4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)Nvidia Geforce GTX 690
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
Copy and paste the following script in to a .bat file and run. Delete the script when done.

Code:
@echo off
net session >NUL 2>&1|| powershell Start-Process '%0' -Verb RunAs&& exit /b|| exit /b
set "target=C:\Documents and Settings"
takeown /f "%TARGET%"
icacls "%TARGET%" /inheritance:r
for /f "delims=" %%I in (' 
	powershell "((Get-Acl '%TARGET%').access | foreach {$_.identityreference.value})" 
') do icacls "%TARGET%" /remove "%%I"
icacls "%TARGET%" /grant "NT AUTHORITY\SYSTEM:(F)" "BUILTIN\Administrators:(F)" "Everyone:(RX)" /deny "Everyone:(S,RD)"
icacls "%TARGET%" /setowner "NT AUTHORITY\SYSTEM"


As for the lock icon on the folder ("C:/Documents and Settings" is actually a junction), right-click > Share with > Nobody.


Logic's suggestion above works equally as well too.
 

My Computer My Computer

At a glance

Windows 10, Windows 8.1 Pro, Windows 7 Profes...
Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
Problem solved

I appreciate both of you answer my question extremely fast. I went with the batch file method because I like to have things back the way they started. Again thank you
 

My Computer My Computer

At a glance

Windows 7 64 bit SP1i7 -3960X16 GBDual Navidia GTX680
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 64 bit SP1
CPU
i7 -3960X
Motherboard
Asus Rampage IV Extreme
Memory
16 GB
Graphics Card(s)
Dual Navidia GTX680
Hard Drives
Samsung 830 256 GB SSD and WD 2TB and WD 500 GB
Antivirus
Webroot SecureAnywhere
Browser
Explore 11 and Chrome
Back
Top