Solved

Dealing With Directory / Subdirectory Locks

Posted on 2011-03-18
7
304 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

947 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

17 Experts available now in Live!

Get 1:1 Help Now