Solved

Dealing With Directory / Subdirectory Locks

Posted on 2011-03-18
7
316 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

803 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