[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

Dealing With Directory / Subdirectory Locks

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
gbmcneil
Asked:
gbmcneil
  • 3
  • 2
  • 2
1 Solution
 
LeeTutorretiredCommented:
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
 
TekyguyCommented:
What your are looking for has been moved:  new location in vista/win7 is here:
C:\Users\"your user name"\Documents\

0
 
gbmcneilAuthor Commented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LeeTutorretiredCommented:
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
 
TekyguyCommented:
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
 
gbmcneilAuthor Commented:
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
 
TekyguyCommented:
NTFS permissions, but do it at the user level.  Don't lock your self out.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now