Lock Icon on Files and Folders - Remove in Windows 7

How to Remove the Lock Icon from Files and Folders in Windows 7


   Information
In Windows 7, the padlock overlay icon on a file or folder indicates that the item is shared with nobody, which is to say, the item can only be accessed by a single user (with exceptions). Consequently, if you can access a folder that has a golden lock, you are likely the only user who may access that item on your PC. A more technical definition follows.

Criteria determining whether an item features a golden lock icon overlay:
  1. The item must have zero or only a single allow Access Control Entry (ACE) specifying any user. Exceptions: allow ACEs that apply to “This folder only” or “Files only”.
  2. The item must not have any group allow ACEs. Exceptions: the ‘Administrators’ group, and allow ACEs that apply to “This folder only” or “Files only”.
  3. The immediate parent folder must have at least one group allow ACE. Exceptions: the ‘Administrators’ group, and allow ACEs that apply to “This folder only” or “Files only”.
  4. Finally, your user account must be the user that satisfies condition 1, OR
  5. you must be the owner of the item, OR
  6. the item must include an ‘Administrators’ ACE with the ‘Read permission’ access right, and Explorer must be running elevated.
In short, the golden padlock denotes a private item that resides in a public folder.

Note that ‘NT Authority\SYSTEM’ and ‘NT Service\TustedInstaller’ should not be confused as users or groups. The former is a special Windows identity while the latter is a service.

This tutorial will show you how to remove or restore the lock icon overlay on files and folders for all users without altering any sharing settings or neutralising any of the conditions above in Windows 7.

You must be logged in as an administrator to be able to do the steps in this tutorial.


EXAMPLE: Lock icon on folder
Lock_Icon_on_Folder.png





Here's How:

1. Do step 2, 3, or 4 below for what you would like to do, and if you have a 32-bit or 64-bit Windows 7.


2. To Remove Lock Icon on Files and Folders in 32-bit and 64-bit Windows 7
A) Click on the Download button below to download the .bat file below, and go to step 5 below.

Remove_Lock_Icon_from_Files_Folders.bat


Download


3. To Restore Lock Icon on Files and Folders in 32-bit Windows 7
NOTE: This is the default setting in 32-bit Windows 7.
A) Click on the Download button below to download the .bat file below, and go to step 5 below.

32-bit_Restore_Lock_Icon_on_Files_Folders.bat


Download


4. To Restore Lock Icon on Files and Folders in 64-bit Windows 7
NOTE: This is the default setting in 64-bit Windows 7.
A) Click on the Download button below to download the .bat file below, and go to step 5 below.

64-bit_Restore_Lock_Icon_on_Files_Folders.bat


Download


5. Save the .bat file to your desktop.

6. Right click on the downloaded .bat file, and click on Run as administrator.

7. If prompted, click on Run and Yes to approve.
NOTE: If you like, you can stop getting the Run prompt by unblocking the downloaded .bat file.

8. You will now notice a command prompt quickly flash open and close and your screen flicker as the registry changes are applied and explorer is restarted.


That's it,
Shawn





 

Attachments

Last edited:
Thanks. That should help others like me.
 

My Computer My Computer

At a glance

win 7 pro x64T7700 Intel4GB
Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo T61p
OS
win 7 pro x64
CPU
T7700 Intel
Memory
4GB
I'm always happy to try and help more. :)
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top