Solved

Dealing With Directory / Subdirectory Locks

Posted on 2011-03-18
7
294 Views
Last Modified: 2012-05-11
Hello Experts -

I have a computer with a newly installed release of Windows 7.

I notice that some directories like "Documents and Settings" are locked, whereas in other OSs like XP this same directory was unlocked by default.

Can you tell why that is?  And, how I can unlock it?  Also, how I can lock other directories?
0
Comment
Question by:gbmcneil
  • 3
  • 2
  • 2
7 Comments
 
LVL 59

Expert Comment

by:LeeTutor
ID: 35167726
Documents and Settings is not really a folder any more on Vista and Windows 7.  It's there as a "link" used by the operating system so that old XP programs that reference that folder rather than use system calls to get the new Document subfolder under Users will still work...
   
Documents and Settings is now a "junction".  See this page for a bit more info:

http://www.devsource.com/article2/0,1895,1999637,00.asp
Finding the User Settings in Vista
0
 
LVL 4

Expert Comment

by:Tekyguy
ID: 35168045
What your are looking for has been moved:  new location in vista/win7 is here:
C:\Users\"your user name"\Documents\

0
 

Author Comment

by:gbmcneil
ID: 35169215
Thanks guys for responding.

Can you tell me how to unlock a locked directory?  Or, lock an unlocked one?

Also, there must be a special feature about the lock, if programs can read and write to it, but we can't open it by clicking.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 59

Expert Comment

by:LeeTutor
ID: 35169252
The directory Documents and Settings is not locked; it is just not a directory it is a POINTER to the directory Users which is what Vista and Windows 7 use instead.  Programs read and write to the Users directory by means of the pointer contains in Documents and Settings.  
0
 
LVL 4

Expert Comment

by:Tekyguy
ID: 35169329
You don't need to open it.  it's only there for backwards compatibly.   It only shows up because you have enabled the 'show protected system folders' in folder options.  To hide this system folder so it doesn't bug you, just to go Control Panel - Folder Options - select Hide Protected OS files/folders.
0
 

Author Comment

by:gbmcneil
ID: 35170351
Can you tell me how to lock / unlock any subdirectory? Forget "C:\Documents and Settings" for the moment.

My interest has more to do with synchronizing the contents of directories between two computers and eliminating certain directories like C:\Windows that I would prefer not to mess with.

If I can lock them, maybe I can prevent any synchronization from taking place where it could get me into trouble.  
0
 
LVL 4

Accepted Solution

by:
Tekyguy earned 125 total points
ID: 35170366
NTFS permissions, but do it at the user level.  Don't lock your self out.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now