Problems with "is not accessible" in Windows 7,8 (application default profile storage location)

Source: Internet
Author: User

Windows 7, 8 users will not be able to open and be prompted "C:\xxxx is not accessible when they access the Programdata directory and the Documents and Settings directories. Access is denied. " Access is denied because of insufficient permissions. This is because in Windows Vista's later Windows operating system, the default Application data location has been modified for use with a wide range of Windows XP, and these directories exist for compatibility while trying to access their old programs.

It covers all files under Documents and settings and Programdata, including configuration directories, cache directories, and so on.

You don't have to use some tools or commands to get access to these directories, because we can easily access them by their corresponding paths.

Just a change of position.

Save user data (My Documents, my music, etc.) and application configuration by default under Windows XP, Application data (Local settings,application data, etc.) is placed in the "Documents and Settings" directory, Starting with Windows Vista, including Windows 7,windows 8, Windows 8.1, and Windows 10, which is not yet officially released, Microsoft has optimized the directory structure (simplifying directory names and removing spaces, reducing directory depth, Adjust part of the content of the way), make it more easy to use and reasonable.

Generally speaking, they are transferred to the C:\User directory. I'll give you a complete list in the back.
It may be more common to:

    • C:\Documents and Settings\ username \local Settings\ into C:\Users\ username \appdata\local\
    • C:\Documents and Settings\ username \application Data\ into C:\Users\ username \appdata\roaming\

The division of "Data" and "Configuration" at the developer's point of view is sometimes blurred, but becoming "local data" and "roaming data" is a much better understanding. Simply put: Suppose a network synchronization function of the RPG game, I separately in two different configurations of the machine to play, different machines I configured a different screen effect level, they are only acting on the local profile, and my game progress is to roam the data on each machine.

Permissions

For compatibility reasons, Microsoft has also retained a few junction points (like Linux hard links) called Programdata,documents and Settings, as a shortcut to a friend who has not touched the concept. But because the directory is replaced by the full one by one mapping (the user can find all the files in the new way), and from Microsoft's point of view do not want users to use the old partitioning method, so Microsoft will default to their Read permission to Everyone-deny.

    • Want to see the complete list of junction point? Open a CMD with administrator privileges, enter in the system disk dir /aL /s .
Complete Correspondence Table

Parent folder Junction requirements:

location
Directory Junction CreationDestination
.. \documents and Settings\ .. \users\

User Data Legacy folder junction requirements:

location
Directory Junction CreationDestination
.. \documents and Settings\UserName\My Documents .. \users\username\documents
.. \documents and Settings\UserName\My Documents\My Music .. \users\username\music
.. \documents and Settings\UserName\My Documents\My Pictures .. \users\username\pictures
.. \documents and Settings\UserName\My Documents\My Videos .. \users\username\videos

Per-user Application Data Legacy folder junction requirements:

location
Directory Junction CreationDestination
.. \documents and Settings\username\Local Settings\ .. \users\username\appdata\local
.. \documents and Settings\username\Local Settings\Application Data .. \users\username\appdata\local
.. \documents and Settings\username\Local Settings\Temporary Internet Files .. \users\username\appdata\local\microsoft\windows\temporary Internet Files
.. \documents and Settings\username\Local Settings\History .. \users\username\appdata\local\microsoft\windows\history
.. \documents and Settings\username\application Data\ .. \users\username\appdata\roaming

Per-user OS Settings Legacy folder junction requirements:

location
Directory Junction CreationDestination
.. \documents and Settings\username\cookies\ .. \roaming\microsoft\windows\cookies
.. \documents and Settings\username\recent .. \roaming\microsoft\windows\recent
.. \documents and Settings\username\nethood\ .. \roaming\microsoft\windows\network shortcuts
.. \documents and Settings\username\printhood\ .. \roaming\microsoft\windows\printer shortcuts
.. \documents and Settings\username\sendto\ .. \roaming\microsoft\windows\send to
.. \documents and Settings\username\startmenu\ .. \roaming\microsoft\windows\startmenu
.. \documents and Settings\username\templates\ .. \roaming\microsoft\windows\templates

Legacy profile folders where junctions is not required:

Location
LegacyReasoning
.. \documents and Settings\username\desktop Covered by the junction at Documents and Settings
.. \documents and Settings\username\favorites Covered by the junction at Documents and Settings
.. \documents and Settings\username\Local Settings\Temp Covered by the junction for the local Settings folder to local

All Users Legacy folder junction requirements:

Location
Sym Links CreationDestination
.. \users\all Users .. \programdata

User Junction points:

location
Directory Junction CreationDestination
.. \programdata\desktop .. \users\public\desktop
.. \programdata\documents .. \users\public\documents
.. \programdata\favorites .. \users\public\favorites
.. \users\public\documents\my Music .. \users\public\music
.. \users\public\documents\my Pictures .. \users\public\pictures
.. \users\public\documents\my Videos .. \users\public\videos
.. \programdata\application data\ .. \programdata
.. \programdata\start menu\ .. \programdata\microsoft\windows\startmenu
.. \programdata\templates\ .. \programdata\microsoft\windows\templates

Default User Legacy folder junction requirements:

location
Directory Junction CreationDestination
.. \documents and Settings\Default User .. \Users\Default
.. \documents and Settings\Default User\Desktop .. \users\default\desktop
.. \documents and Settings\Default User\my Documents .. \users\default\documents
.. \documents and Settings\Default User\favorites .. \users\default\favorites
.. \documents and Settings\Default User\my Documents\My Music .. \users\default\music
.. \documents and Settings\Default User\my Documents\My Pictures .. \users\default\pictures
.. \documents and Settings\Default User\my Documents\My Videos .. \users\default\videos
.. \documents and Settings\Default User\application data\ .. \users\default\appdata\roaming
.. \documents and Settings\Default Users\Start Menu\ .. \users\default\appdata\roaming\microsoft\windows\startmenu
.. \documents and Settings\Default User\templates\ .. \users\default\appdata\roaming\microsoft\windows\templates

Program Files junction points:

location
Directory Junction CreationDestination
.. \program Files (localized name) .. \program Files
.. \program Files\Common Files (localized Name) .. \program Files\local Files

Resources:

    • https://social.technet.microsoft.com/Forums/windows/en-US/1c3e806a-0412-4591-b94a-ac2b71074b28/ Forum-faqwhy-application-data-folder-is-not-accessible?forum=w7itprogeneral
    • Https://msdn.microsoft.com/en-us/library/bb756982.aspx

Problems with "is not accessible" in Windows 7,8 (application default profile storage location)

Related Article

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.