Can't access a Win7 SYMBOLIC LINK from WinXP (now getting "File Not Found")

130206_1000est

 

Hi,

 

Having problems in a HOME NETWORK setting

 

FROM machines running either WinXP (SP3) or Win2k (SP4)

 

getting "READ and execute" access to the "C:\Users\All Users" (ALLUSE~1) SYMBOLIC LINK (TARGET= C:\ProgramData) on a machine running Win7.

 

(I am quite confident the sharing setups on the Win7 machine are OK as I'm having no problem accesing most all objects from the other machines)

 

I've searched these Microsoft Community FORUMS and Microsoft Support without much success (sorry if I missed something)

I've searched the web and not found much except a number of posts discussing JUNCTIONs, SYMLINKs, etc and numerous 3rd party tools (people have apparently used to get around various problems....none of which fit my situation).

 

Since it seemed some key COMMAND LINE queries and actual responses would be the most effective way to "describe this situation and problem",

please find same PASTED at the end of this post...

 

 

IF anybody knows the easiest way to get around this problem, I'd appreciate your REPLYING with your suggestions.

 

Thanks,

Steveg722 (tempalias=Steveg722_thatsme)

USA_RI_02917

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

FROM \\HELENSDELLLAPD2 (WinXP) then in a std CMD window (logged on as me with Admin rights)

 

C:\>net view
Server Name            Remark

-------------------------------------------------------------------------------
\\D8HW0F41             mg_dellpc
\\HELENSDELLLAPD2      HELENSDELLLAPD2YHTN71
\\HELENSNETBOOK        Helen's Asus Netbook
\\IBMPCSG              Tue 10/23/2007 10:01:28.86  blbilodeau
The command completed successfully.

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

C:\Documents and Settings\steveg>pushd \\helensnetbook\c

Z:\>net use
New connections will be remembered.


Status       Local     Remote                    Network

-------------------------------------------------------------------------------
OK           Z:        \\helensnetbook\c         Microsoft Windows Network
OK                     \\HELENSDELLLAPD2\MY DOCUMENTS
                                                 Microsoft Windows Network
OK                     \\IBMPCSG\MY DOCUMENTS    Microsoft Windows Network
The command completed successfully.

 


\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


Z:\>cd users

 

Z:\Users>dir /x /q /a:d
 Volume in drive Z has no label.
 Volume Serial Number is AE07-327D

 Directory of Z:\Users

01/23/2013  11:09 PM    <DIR>                       BUILTIN\Administrators .
01/23/2013  11:09 PM    <DIR>                       BUILTIN\Administrators ..
07/13/2009  11:53 PM    <JUNCTION>     ALLUSE~1     BUILTIN\Administrators All U
sers
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Defau
lt
07/13/2009  11:53 PM    <JUNCTION>     DEFAUL~1     BUILTIN\Administrators Defau
lt User
01/23/2013  11:22 PM    <DIR>                       NT AUTHORITY\SYSTEM    Helen

01/23/2013  11:09 PM    <DIR>                       BUILTIN\Administrators Publi
c
               0 File(s)              0 bytes
               7 Dir(s)  51,462,270,976 bytes free

Z:\Users>

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

Z:\Users>junction

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

The first usage is for displaying reparse point information, the
second usage is for creating a junction point, and the last for
deleting a junction point:
usage: junction [-s] [-q] <file or directory>
       -q     Don't print error messages (quiet)
       -s     Recurse subdirectories

usage: junction <junction directory> <junction target>
       example: junction d:\link c:\windows

usage: junction -d <junction directory>

Z:\Users>

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

RE ALLUSE~1

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

Z:\Users>dir ALLUSE~1
 Volume in drive Z has no label.
 Volume Serial Number is AE07-327D

 Directory of Z:\Users\ALLUSE~1

File Not Found

Z:\Users>

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

 

Z:\Users>cacls ALLUSE~1

Z:\Users\All Users NT AUTHORITY\Authenticated Users:(OI)(CI)C
                   NT AUTHORITY\SYSTEM:(OI)(CI)F
                   BUILTIN\Administrators:(OI)(CI)F
                   Everyone:(OI)(CI)R
                   BUILTIN\Users:(OI)(CI)R


Z:\Users>

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

Z:\Users>junction ALLUSE~1

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Z:\Users\All Users: SYMBOLIC LINK
   Print Name     : C:\ProgramData
   Substitute Name: \??\C:\ProgramData


Z:\Users>

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

RE DEFAUL~1

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

Z:\Users>dir DEFAUL~1
 Volume in drive Z has no label.
 Volume Serial Number is AE07-327D

 Directory of Z:\Users\defaul~1

01/23/2013  10:48 PM    <DIR>          Contacts
01/23/2013  10:48 PM    <DIR>          Desktop
01/23/2013  10:48 PM    <DIR>          Documents
01/23/2013  10:48 PM    <DIR>          Downloads
01/23/2013  10:48 PM    <DIR>          Favorites
01/23/2013  10:48 PM    <DIR>          Links
01/23/2013  10:48 PM    <DIR>          Music
01/23/2013  10:48 PM    <DIR>          Pictures
01/23/2013  10:48 PM    <DIR>          Saved Games
01/23/2013  10:48 PM    <DIR>          Searches
01/23/2013  10:48 PM    <DIR>          Videos
               0 File(s)              0 bytes
              11 Dir(s)  52,339,515,392 bytes free

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

Z:\Users>cacls DEFAUL~1
Z:\Users\Default User NT AUTHORITY\Authenticated Users:(OI)(CI)C
                      NT AUTHORITY\SYSTEM:(OI)(CI)F
                      BUILTIN\Administrators:(OI)(CI)F
                      Everyone:(OI)(CI)R
                      BUILTIN\Users:(OI)(CI)R


Z:\Users>

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

Z:\Users>junction DEFAUL~1

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Z:\Users\Default User: JUNCTION
   Print Name     : C:\Users\Default
   Substitute Name: C:\Users\Default


Z:\Users>

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

130206_1045_edit

 

 

FYI, ADDING

 

1) INFO:  Initially ran into this problem on WinXP trying to Robocopy ALLUSE~1 from the Win7 machine to an Ext HD in this HOME NETWORK.

 

2) two CMD queries and the responses using LINKD.exe

 

Z:\Users>linkd alluse~1
alluse~1  is not linked to another directory.

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

Z:\>linkd DEFAUL~1
Could not open: DEFAUL~1

 

 

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

END OF POST

HI

 

Symbolic links, otherwise known as symlinks, are basically advanced shortcuts. You can create symbolic links to individual files or folders, and then these will appear like they are stored in the folder with the symbolic link even though the symbolic link only points to their real location.

There are two types of symbolic links: hard and soft. Soft symbolic links work essentially the same as a standard shortcut. When you open a soft link, you will be redirected to the folder where the files are stored. However, a hard link makes it appear as though the file or folder actually exists at the location of the symbolic link, and your applications won’t know any different. Thus, hard links are of the most interest in this article.

Why should I use Symbolic Links?

There are many things we use symbolic links for, so here’s some of the top uses we can think of:

  • Sync any folder with Dropbox – say, sync your Pidgin Profile Across Computers
  • Move the settings folder for any program from its original location
  • Store your Music/Pictures/Videos on a second hard drive, but make them show up in your standard Music/Pictures/Videos folders so they’ll be detected my your media programs (Windows 7 Libraries can also be good for this)
  • Keep important files accessible from multiple locations
  • And more!

If you want to move files to a different drive or folder and then symbolically link them, follow these steps:

  • Close any programs that may be accessing that file or folder
  • Move the file or folder to the new desired location
  • Follow the correct instructions below for your operating system to create the symbolic link.

Caution: Make sure to never create a symbolic link inside of a symbolic link. For instance, don’t create a symbolic link to a file that’s contained in a symbolic linked folder. This can create a loop, which can cause millions of problems you don’t want to deal with. Seriously.

Create Symlinks in Any Edition of Windows in Explorer

Creating symlinks is usually difficult, but thanks to the free Link Shell Extension, you can create symbolic links in all modern version of Windows pain-free. You need to download both Visual Studio 2005 redistributable, which contains the necessary prerequisites, and Link Shell Extension itself (links below). Download the correct version (32 bit or 64 bit) for your computer.

 

 

 

 

http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/wireless-printing-problem-windows-7-and-hp-printer/da166f79-4f6b-4337-a29c-da44b8d51c2d

 

 

 

http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/df33aeeb-609e-4ab3-8fae-f49f22ad8461

 

 

/J creates a “Directory Junction”

A Directory Junction is actually just a hard link to a directory. This is a feature that existed prior to Vista as well. If you are trying to symlink to a directory using a hard link, then you should use this option.

Understanding Hard vs Soft Links

Hard Link

A hard link directly points to the file, and acts to the operating system as if it is the file itself. You’ll want to use this option the majority of the time if you are trying to fake an application’s directory.

Soft Link

A soft link is essentially a shortcut to a file or folder – if you are using Windows explorer, you’ll be redirected to the directory if you double-click on a shortcut, it won’t pretend its part of the filesystem. You can still directly reference or open a file with the symlinked path, and it mostly works.

Using Symlinks from a Network Share

One of the things that’s been extensively discussed is that you cannot use the Vista symlinks from another operating system (not surprising), but you cannot use them from a network share either. This is troublesome if you expect to use this feature on a web server or a file server.

 

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

130207_1851est

 

Hi Glory,

 

Thanks for the REPLY and the primer re SYMLINKS vs JUNCTIONS etc.

 

I'm just getting back here so sorry for my delay but given your knowledge of these objects and how they are intended to work, I'd be interested in knowing IF (given the info I shared in my orig post) you can point to the most likely ROOT CAUSE(s) for the specific problem I'm having (ALLUSE~1 = NOTFOUND)?

 

When I got here I was about to post some additional "investigative data" using CMD from the Win7 machine (looking at itself) but when I saw your REPLY I decided to get back to you first.

 

Thanks for your interest and for your REPLY.

 

Be Well,

Steveg722

USA_RI_02917

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

130207_1900est


Good evening (here anyway),


Since my post has not elicted any REPLY as yet (maybe everyone else is as puzzled by this as I am),
I proceeded to do and document some more investigating via CMD
EXCEPT NOW from ??YYYY (Win7) looking at ??YYYY (Win7) [vs from ??XXXX (WinXP) looking at ??YYYY PRIOR]

     website wouldn't accept prior text (no pictures or links allowed)
     looked for \ as 1st char on ea line and where found put that line in " "
        still bombed; then replaced those "\ as 1st chars on ea line with "? THEN TRY AGAIN

Understand its "a lot of data" but seems this data should now be adequate for someone to ID the ROOT CAUSE of this problem.

IF anyone can now ID the (or likely) ROOT CAUSE and give me the MS recommended FIX (or best workaround opts), I'd very much

appreciate your REPLYING with your suggestions.

 

Thanks,

Steveg722 (tempalias=Steveg722_thatsme)

USA_RI_02917

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
FROM ??YYYY (Win7) then in a std CMD window (logged on as me with Admin rights)
OBJECTIVE
EXAMINE

C:\>
C:\Users>

Re <JUNCTION> <SYMLINKD> and TARGETS of same
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
??YYYY?C
C:\>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


C:\>dir /x /q /a:d
 Volume in drive C has no label.
 Volume Serial Number is AE07-327D

 Directory of C:\

01/23/2013  09:17 PM    <DIR>                       BUILTIN\Administrators $Recy
cle.Bin
01/23/2013  09:17 PM    <DIR>          ASUSVI~1     BUILTIN\Administrators AsusV
ibeData
05/12/2011  07:21 AM    <DIR>                       BUILTIN\Administrators aws
01/23/2013  09:17 PM    <DIR>          BIGFIS~1     HelensNetbook\Helen    BigFi
shGamesCache
02/23/2012  11:16 PM    <DIR>                       BUILTIN\Administrators Boot
07/13/2009  11:53 PM    <JUNCTION>     DOCUME~1     BUILTIN\Administrators Docum
ents and Settings [C:\Users]
06/24/2010  10:59 AM    <DIR>                       BUILTIN\Administrators Intel

01/23/2013  09:17 PM    <DIR>                       ...                    MSOCa
che
07/13/2009  09:37 PM    <DIR>                       BUILTIN\Administrators PerfL
ogs
01/23/2013  11:09 PM    <DIR>          PROGRA~1     NT SERVICE\TrustedInstaProgr
am Files
01/23/2013  10:48 PM    <DIR>          PROGRA~2     BUILTIN\Administrators Progr
amData
01/29/2011  05:23 PM    <DIR>                       ...                    Recov
ery
02/07/2013  06:39 AM    <DIR>          SYSTEM~1     ...                    Syste
m Volume Information
01/23/2013  11:09 PM    <DIR>                       BUILTIN\Administrators Users

01/23/2013  11:20 PM    <DIR>                       NT SERVICE\TrustedInstaWindo
ws
01/22/2013  11:38 PM    <DIR>          _$ROBO~2     HelensNetbook\Helen    _$Rob
ocopyDEST_hnetbook
01/22/2013  11:37 PM    <DIR>          _$ROBO~1     HelensNetbook\Helen    _$Rob
ocopySOURCE_hnetbook
               0 File(s)              0 bytes
              17 Dir(s)  51,280,654,336 bytes free

C:\>


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

C:\>dir /x /q /a:dL
 Volume in drive C has no label.
 Volume Serial Number is AE07-327D

 Directory of C:\

07/13/2009  11:53 PM    <JUNCTION>     DOCUME~1     BUILTIN\Administrators Docum
ents and Settings [C:\Users]
               0 File(s)              0 bytes
               1 Dir(s)  51,280,650,240 bytes free

C:\>

 

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 

C:\>junction *

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

"?\?\C:\Documents and Settings: JUNCTION"
   Print Name     : C:\Users
   Substitute Name: C:\Users

Failed to open \\?\C:\hiberfil.sys: The process cannot access the file because i
t is being used by another process.

Failed to open \\?\C:\MSOCache: Access is denied.

Failed to open \\?\C:\pagefile.sys: The process cannot access the file because i
t is being used by another process.

Failed to open \\?\C:\Recovery: Access is denied.

Failed to open \\?\C:\System Volume Information: Access is denied.


C:\>

 

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

C:\>junction DOCUME~1

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

C:\Documents and Settings: JUNCTION
   Print Name     : C:\Users
   Substitute Name: C:\Users


C:\>


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 

C:\>cacls DOCUME~1
C:\Documents and Settings Everyone:R
                          NT AUTHORITY\SYSTEM:F
                          BUILTIN\Administrators:F


C:\>cacls DOCUME~1 /L
C:\Documents and Settings Everyone:R
                          NT AUTHORITY\SYSTEM:F
                          BUILTIN\Administrators:F


C:\>cacls PROGRA~2
C:\ProgramData NT AUTHORITY\SYSTEM:(OI)(CI)F
               BUILTIN\Administrators:(OI)(CI)F
               CREATOR OWNER:(OI)(CI)(IO)F
               BUILTIN\Users:(OI)(CI)R
               BUILTIN\Users:(CI)(special access:)
                                 FILE_WRITE_DATA
                                 FILE_APPEND_DATA
                                 FILE_WRITE_EA
                                 FILE_WRITE_ATTRIBUTES

 

C:\>cacls PROGRA~2 /L
C:\ProgramData NT AUTHORITY\SYSTEM:(OI)(CI)F
               BUILTIN\Administrators:(OI)(CI)F
               CREATOR OWNER:(OI)(CI)(IO)F
               BUILTIN\Users:(OI)(CI)R
               BUILTIN\Users:(CI)(special access:)
                                 FILE_WRITE_DATA
                                 FILE_APPEND_DATA
                                 FILE_WRITE_EA
                                 FILE_WRITE_ATTRIBUTES

 


C:\>cacls USERS
C:\Users NT AUTHORITY\Authenticated Users:(OI)(CI)(ID)C
         NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
         BUILTIN\Administrators:(OI)(CI)(ID)F
         Everyone:(OI)(CI)(ID)R
         BUILTIN\Users:(OI)(CI)(ID)R

 


C:\>cacls SYSTEM~1
C:\System Volume Information
Access is denied.

C:\>

 


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 


C:\>icacls DOCUME~1
DOCUME~1 Everyone:(RX)
         NT AUTHORITY\SYSTEM:(F)
         BUILTIN\Administrators:(F)

Successfully processed 1 files; Failed processing 0 files

C:\>icacls DOCUME~1 /L
DOCUME~1 Everyone:(RX)
         NT AUTHORITY\SYSTEM:(F)
         BUILTIN\Administrators:(F)

Successfully processed 1 files; Failed processing 0 files

C:\>icacls PROGRA~2
PROGRA~2 NT AUTHORITY\SYSTEM:(OI)(CI)(F)
         BUILTIN\Administrators:(OI)(CI)(F)
         CREATOR OWNER:(OI)(CI)(IO)(F)
         BUILTIN\Users:(OI)(CI)(RX)
         BUILTIN\Users:(CI)(WD,AD,WEA,WA)

Successfully processed 1 files; Failed processing 0 files

C:\>icacls PROGRA~2 /L
PROGRA~2 NT AUTHORITY\SYSTEM:(OI)(CI)(F)
         BUILTIN\Administrators:(OI)(CI)(F)
         CREATOR OWNER:(OI)(CI)(IO)(F)
         BUILTIN\Users:(OI)(CI)(RX)
         BUILTIN\Users:(CI)(WD,AD,WEA,WA)

Successfully processed 1 files; Failed processing 0 files


C:\>icacls USERS
USERS NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
      NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
      BUILTIN\Administrators:(I)(OI)(CI)(F)
      Everyone:(I)(OI)(CI)(RX)
      BUILTIN\Users:(I)(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files

 


C:\>icacls SYSTEM~1
SYSTEM~1: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:\>


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


CHECK SECURITY VIA WinExplorer

C:\System Volume Information
C:\>SYSTEM~1

hnetbook,FROM
PROPERTIES; SECURITY TAB
GROUPS PERMISSIONS OWNER
SYSTEM FULL  NOT AVAILBLE

NO ADVANCED BUTTON SHOWING (so can't get to OWNER data)

(NOTE; quick trip to hlaptop found no security tab showing)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
??YYYY?C
C:\Users>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Helen>cd..

C:\Users>dir /x /q /a:d
 Volume in drive C has no label.
 Volume Serial Number is AE07-327D

 Directory of C:\Users

01/23/2013  11:09 PM    <DIR>                       BUILTIN\Administrators .
01/23/2013  11:09 PM    <DIR>                       BUILTIN\Administrators ..
07/13/2009  11:53 PM    <SYMLINKD>     ALLUSE~1     BUILTIN\Administrators All U
sers [C:\ProgramData]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Defau
lt
07/13/2009  11:53 PM    <JUNCTION>     DEFAUL~1     BUILTIN\Administrators Defau
lt User [C:\Users\Default]
01/23/2013  11:22 PM    <DIR>                       NT AUTHORITY\SYSTEM    Helen

01/23/2013  11:09 PM    <DIR>                       BUILTIN\Administrators Publi
c
               0 File(s)              0 bytes
               7 Dir(s)  51,015,692,288 bytes free

C:\Users>


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


C:\Users>dir /x /q /a:dL
 Volume in drive C has no label.
 Volume Serial Number is AE07-327D

 Directory of C:\Users

07/13/2009  11:53 PM    <SYMLINKD>     ALLUSE~1     BUILTIN\Administrators All U
sers [C:\ProgramData]
07/13/2009  11:53 PM    <JUNCTION>     DEFAUL~1     BUILTIN\Administrators Defau
lt User [C:\Users\Default]
               0 File(s)              0 bytes
               2 Dir(s)  51,446,972,416 bytes free

C:\Users>


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


C:\Users>linkd ALLUSE~1
'linkd' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


C:\Users>junction -e

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

No matching files were found.


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


C:\Users>junction *

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

"?\?\C:\Users\All Users: SYMBOLIC LINK"
   Print Name     : C:\ProgramData
   Substitute Name: \??\C:\ProgramData

"?\?\C:\Users\Default User: JUNCTION"
   Print Name     : C:\Users\Default
   Substitute Name: C:\Users\Default


C:\Users>

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


C:\Users>junction ALLUSE~1

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

C:\Users\All Users: SYMBOLIC LINK
   Print Name     : C:\ProgramData
   Substitute Name: \??\C:\ProgramData


C:\Users>junction DEFAUL~1

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

C:\Users\Default User: JUNCTION
   Print Name     : C:\Users\Default
   Substitute Name: C:\Users\Default


C:\Users>

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 

C:\Users>icacls ALLUSE~1 /L
ALLUSE~1 NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
         NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
         BUILTIN\Administrators:(I)(OI)(CI)(F)
         Everyone:(I)(OI)(CI)(RX)
         BUILTIN\Users:(I)(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files


C:\Users>icacls DEFAUL~1 /L
DEFAUL~1 NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
         NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
         BUILTIN\Administrators:(I)(OI)(CI)(F)
         Everyone:(I)(OI)(CI)(RX)
         BUILTIN\Users:(I)(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files

C:\Users>


C:\Users>icacls DEFAULT
DEFAULT NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
        NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
        BUILTIN\Administrators:(I)(OI)(CI)(F)
        Everyone:(I)(OI)(CI)(RX)
        BUILTIN\Users:(I)(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files

C:\Users>

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 

C:\Users>cacls ALLUSE~1
C:\Users\All Users NT AUTHORITY\SYSTEM:(OI)(CI)F
                   BUILTIN\Administrators:(OI)(CI)F
                   CREATOR OWNER:(OI)(CI)(IO)F
                   BUILTIN\Users:(OI)(CI)R
                   BUILTIN\Users:(CI)(special access:)
                                     FILE_WRITE_DATA
                                     FILE_APPEND_DATA
                                     FILE_WRITE_EA
                                     FILE_WRITE_ATTRIBUTES

 

C:\Users>cacls DEFAUL~1
C:\Users\Default User NT AUTHORITY\Authenticated Users:(OI)(CI)(ID)C
                      NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
                      BUILTIN\Administrators:(OI)(CI)(ID)F
                      Everyone:(OI)(CI)(ID)R
                      BUILTIN\Users:(OI)(CI)(ID)R


C:\Users>

 

 

C:\Users>cacls DEFAULT
C:\Users\Default NT AUTHORITY\Authenticated Users:(OI)(CI)(ID)C
                 NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
                 BUILTIN\Administrators:(OI)(CI)(ID)F
                 Everyone:(OI)(CI)(ID)R
                 BUILTIN\Users:(OI)(CI)(ID)R


C:\Users>

 


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 


C:\Users>dir ALLUSE~1 /x /q /a:d
 Volume in drive C has no label.
 Volume Serial Number is AE07-327D

 Directory of C:\Users\ALLUSE~1

01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators .
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators ..
01/23/2013  09:23 PM    <DIR>                       BUILTIN\Administrators Adobe

07/13/2009  11:53 PM    <JUNCTION>     APPLIC~1     BUILTIN\Administrators Appli
cation Data [C:\ProgramData]
01/23/2013  10:48 PM    <DIR>          ASUSWE~1     BUILTIN\Administrators ASUS
WebStorage
06/24/2010  11:02 AM    <DIR>                       BUILTIN\Administrators Ather
os
01/23/2013  09:23 PM    <DIR>          BIGFIS~1     BUILTIN\Administrators Big F
ish Games
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators Deskt
op [C:\Users\Public\Desktop]
07/13/2009  11:53 PM    <JUNCTION>     DOCUME~1     BUILTIN\Administrators Docum
ents [C:\Users\Public\Documents]
06/24/2010  11:08 AM    <DIR>                       BUILTIN\Administrators EBI
07/13/2009  11:53 PM    <JUNCTION>     FAVORI~1     BUILTIN\Administrators Favor
ites [C:\Users\Public\Favorites]
01/29/2011  05:30 PM    <DIR>                       BUILTIN\Administrators GoBoi
ngo
11/22/2012  04:29 PM    <DIR>                       BUILTIN\Administrators McAfe
e
01/23/2013  10:48 PM    <DIR>          MICROS~1     BUILTIN\Administrators Micro
soft
01/23/2013  10:48 PM    <DIR>          MICROS~2     HelensNetbook\Helen    Micro
soft Help
01/23/2013  09:24 PM    <DIR>          OBERON~1     BUILTIN\Administrators Obero
nGameConsole
01/23/2013  09:24 PM    <DIR>          RALINK~1     BUILTIN\Administrators Ralin
k Driver
06/24/2010  11:08 AM    <DIR>                       BUILTIN\Administrators RSMR
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Skype

07/13/2009  11:53 PM    <JUNCTION>     STARTM~1     BUILTIN\Administrators Start
 Menu [C:\ProgramData\Microsoft\Windows\Start Menu]
01/10/2013  12:37 PM    <DIR>                       BUILTIN\Administrators TEMP
07/13/2009  11:53 PM    <JUNCTION>     TEMPLA~1     BUILTIN\Administrators Templ
ates [C:\ProgramData\Microsoft\Windows\Templates]
01/23/2013  09:24 PM    <DIR>          TRENDM~1     BUILTIN\Administrators Trend
 Micro
09/03/2012  08:32 PM    <DIR>          USTECH~1     BUILTIN\Administrators USTec
hSupport
01/31/2011  05:40 PM    <DIR>          VIRTUA~1     BUILTIN\Administrators Virtu
alizedApplications
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Xilis
oft
               0 File(s)              0 bytes
              26 Dir(s)  51,280,748,544 bytes free

C:\Users>

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 

C:\Users>dir DEFAUL~1 /x /q /a:d
 Volume in drive C has no label.
 Volume Serial Number is AE07-327D

 Directory of C:\Users\DEFAUL~1

01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators .
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators ..
01/23/2013  09:24 PM    <DIR>                       BUILTIN\Administrators AppDa
ta
07/13/2009  11:53 PM    <JUNCTION>     APPLIC~1     BUILTIN\Administrators Appli
cation Data [C:\Users\Default\AppData\Roaming]
01/23/2013  10:48 PM    <DIR>                       NT AUTHORITY\SYSTEM    Conta
cts
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators Cooki
es [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Cookies]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Deskt
op
01/23/2013  10:48 PM    <DIR>          DOCUME~1     BUILTIN\Administrators Docum
ents
01/23/2013  10:48 PM    <DIR>          DOWNLO~1     BUILTIN\Administrators Downl
oads
01/23/2013  10:48 PM    <DIR>          FAVORI~1     BUILTIN\Administrators Favor
ites
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Links

07/13/2009  11:53 PM    <JUNCTION>     LOCALS~1     BUILTIN\Administrators Local
 Settings [C:\Users\Default\AppData\Local]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Music

07/13/2009  11:53 PM    <JUNCTION>     MYDOCU~1     BUILTIN\Administrators My Do
cuments [C:\Users\Default\Documents]
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators NetHo
od [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Pictu
res
07/13/2009  11:53 PM    <JUNCTION>     PRINTH~1     BUILTIN\Administrators Print
Hood [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators Recen
t [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent]
01/23/2013  10:48 PM    <DIR>          SAVEDG~1     BUILTIN\Administrators Saved
 Games
01/23/2013  10:48 PM    <DIR>                       NT AUTHORITY\SYSTEM    Searc
hes
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators SendT
o [C:\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo]
07/13/2009  11:53 PM    <JUNCTION>     STARTM~1     BUILTIN\Administrators Start
 Menu [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu]
07/13/2009  11:53 PM    <JUNCTION>     TEMPLA~1     BUILTIN\Administrators Templ
ates [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Templates]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Video
s
               0 File(s)              0 bytes
              24 Dir(s)  51,280,674,816 bytes free

C:\Users>


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 


C:\Users>dir DEFAULT /x /q /a:d
 Volume in drive C has no label.
 Volume Serial Number is AE07-327D

 Directory of C:\Users\DEFAULT

01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators .
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators ..
01/23/2013  09:24 PM    <DIR>                       BUILTIN\Administrators AppDa
ta
07/13/2009  11:53 PM    <JUNCTION>     APPLIC~1     BUILTIN\Administrators Appli
cation Data [C:\Users\Default\AppData\Roaming]
01/23/2013  10:48 PM    <DIR>                       NT AUTHORITY\SYSTEM    Conta
cts
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators Cooki
es [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Cookies]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Deskt
op
01/23/2013  10:48 PM    <DIR>          DOCUME~1     BUILTIN\Administrators Docum
ents
01/23/2013  10:48 PM    <DIR>          DOWNLO~1     BUILTIN\Administrators Downl
oads
01/23/2013  10:48 PM    <DIR>          FAVORI~1     BUILTIN\Administrators Favor
ites
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Links

07/13/2009  11:53 PM    <JUNCTION>     LOCALS~1     BUILTIN\Administrators Local
 Settings [C:\Users\Default\AppData\Local]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Music

07/13/2009  11:53 PM    <JUNCTION>     MYDOCU~1     BUILTIN\Administrators My Do
cuments [C:\Users\Default\Documents]
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators NetHo
od [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Pictu
res
07/13/2009  11:53 PM    <JUNCTION>     PRINTH~1     BUILTIN\Administrators Print
Hood [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators Recen
t [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent]
01/23/2013  10:48 PM    <DIR>          SAVEDG~1     BUILTIN\Administrators Saved
 Games
01/23/2013  10:48 PM    <DIR>                       NT AUTHORITY\SYSTEM    Searc
hes
07/13/2009  11:53 PM    <JUNCTION>                  BUILTIN\Administrators SendT
o [C:\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo]
07/13/2009  11:53 PM    <JUNCTION>     STARTM~1     BUILTIN\Administrators Start
 Menu [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu]
07/13/2009  11:53 PM    <JUNCTION>     TEMPLA~1     BUILTIN\Administrators Templ
ates [C:\Users\Default\AppData\Roaming\Microsoft\Windows\Templates]
01/23/2013  10:48 PM    <DIR>                       BUILTIN\Administrators Video
s
               0 File(s)              0 bytes
              24 Dir(s)  51,280,674,816 bytes free

C:\Users>

 

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
END OF POST

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

To avoid confusion & duplication of effort, please post any/all further follow-up in replies to your original thread => http://answers.microsoft.com/en-us/windows/forum/windows_7-security/ms-recommended-acls-and-attributes-for-win7/a2ae344c-f829-4873-83d8-27d23c48dd3c (27 January 2013)
--
~Robear Dyer (PA Bear)
Microsoft MVP (Windows Client) since October 2002

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated March 26, 2018 Views 284 Applies to: