Junction Points)

Source: Internet
Author: User

Compared with XP and win2003, the default folder location of user data and system data in win7 and win2008 (including win2008r2) systems changes. For example, the file that stores user data in XP is% Systemdrive % \ Documents and Settings; % systemdriver % \ User in win7. Such changes undoubtedly apply to previous applicationsProgramIs it possible to bring compatibility issues smoothly in win7.To maximize compatibility with previous XP running programs, junction points (connection point) technology is adopted in win7. Through this technology, the original program running in XP can automatically change the data access operations under the % systemdrive % \ Documents and Settings folder to the % systemdriver % \ user folder.

We can regard Junction Point as a shortcut, which has the following features:

    • It has the attributes file_attribute_reparse_point, file_attribute_hidden, and file_attribute_system.
    • Access control lists (ACLs) is used to deny read operations on everyone.

In this way, in win7, only the system has the access permission, the old program will call the old path through junction point, and then access the user data files or system data folders under win7.

For example, if win7 creates a connection point for each user, the old c: \ Users \Username\ My Documents points to c: \ Users \ under win7 \Username\ Documents. The following table shows

Path in XP and Windows2003

Paths in win7 and windows2008

\ Documents ents and settings

\ Users

\ Documents and Settings \ Default User or
% Logonserver % \ netlogon \ Default User

\ Users \ default or
% Logonserver % \ netlogon \ default

\ Documents ents and Settings \ <user> \ My Documents ents

\ Users \ <user> \ Documents

\ Documents ents and Settings \ <user> \ My Documents ents \ my pictures

\ Users \ <user> \ pictures

\ Documents ents and Settings \ <user> \ My Documents ents \ my music

\ Users \ <user> \ music

\ Documents and Settings \ <user> \ favorites

\ Users \ <user> \ favorites

N/

\ Users \ <user> \ contacts

N/

\ Users \ <user> \ downloads

N/

\ Users \ <user> \ savedgames

\ Documents and Settings \ <user> \ Application Data

\ Users \ <user> \ appdata \ roaming

\ Documents and Settings \ <user> \ Local Settings \ Application Data

\ Users \ <user> \ appdata \ Local

\ Documents and Settings \ <user> \ Start Menu

\ Users \ <user> \ appdata \ roaming \ Microsoft \ Windows \ Start Menu

\ Documents and Settings \ All Users

\ Users \ public

\ Documents and Settings \ All Users \ Start Menu

\ Programdata \ Microsoft \ Windows \ Start Menu

\ Documents and Settings \ All Users \ Desktop

\ Users \ public \ Desktop

 

Refer:

1. Junction Point in Vista

2. Managing roaming user data delployment Guide

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.