Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Dealing With Directory / Subdirectory Locks

Posted on 2011-03-18
7
323 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
logon time 6 37
Conventions for Large Program Data 1 22
How to block internet connection for windows7 11 50
Supermicro 91 error 8 29
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

792 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