Reparse point hell

Page 1 of 2 12 LastLast

  1. Posts : 297
    Microsoft Windows 7 Home Premium 64-bit Service Pack 1
       #1

    Reparse point hell


    So I managed to muck up my system slightly by using a live Linux USB stick and deleting a handful of reparse points. Fortunately if it hadn't been for me skimming around the Internet for quite some time, I was able to get my reparse points back, but, they don't do or say anything like "access denied" when you click them. Also, special folders like Pictures, Music, etc. have all turned into standard folder icons.
      My Computer


  2. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #2

    Lets see if this will help:

    1. Click Start
    2. In the search box, type cmd
    3. In the list that appears, right-click on cmd.exe and choose Run as administrator
    4. In the command window that opens, type sfc /scannow and hit enter.

    Report the output from the command window once it finishes.

    More detail: SFC /SCANNOW Command - System File Checker

    Regards,
    Golden
      My Computer


  3. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #3

    Are you talking about your user resparse points ot also system resparse points?
      My Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #4

    In elevated command prompt:

    Code:
    icacls "c:\folder\subfolder\nameOfJunction"  /deny  everyone:(RD)  /L
    icacls "c:\folder\subfolder\nameOfJunction"  /setowner  SYSTEM  /L
    Of course rename c:\folder\subfolder\nameOfJunction with actual name of junction point
      My Computer


  5. Posts : 297
    Microsoft Windows 7 Home Premium 64-bit Service Pack 1
    Thread Starter
       #5

    Kaktussoft said:
    In elevated command prompt:

    Code:
    icacls "c:\folder\subfolder\nameOfJunction"  /deny  everyone:(RD)  /L
    icacls "c:\folder\subfolder\nameOfJunction"  /setowner  SYSTEM  /L
    Of course rename c:\folder\subfolder\nameOfJunction with actual name of junction point
    NB: One of those reparse points is Start Menu, which requires some form of full access, else Windows will spam "access denied" when you click the Start orb or press the Start key on the keyboard.
    Exception -- C:\Users\Default\Start Menu --
    Code:
    icacls "C:\Users\Default\Start Menu"  /deny  everyone:(RD)  /L
    icacls "C:\Users\Default\Start Menu"  /setowner  SYSTEM  /L
    Further reading

    Some of these reparse points have turned into "System files", and even if I did try to make a folder and drag it into that directory, Windows will claim that file already exists. I managed to fix some of them, but now they just look like Windows shortcuts.

    Most of the system's reparse points are labeled "Documents and Settings", "Application Data", "All Users", "Default User", "My [Documents | Music | Pictures | Videos]", "Start Menu", "Cookies", "Local Settings", "Templates", "NetHood", "SendTo", "Recent", "Temporary Internet Files", and "PrintHood"
    Last edited by HoneycombAG; 02 May 2013 at 13:32. Reason: Minor edit
      My Computer


  6. Posts : 297
    Microsoft Windows 7 Home Premium 64-bit Service Pack 1
    Thread Starter
       #6

    Insert disc?


    Golden said:
    Lets see if this will help:

    1. Click Start
    2. In the search box, type cmd
    3. In the list that appears, right-click on cmd.exe and choose Run as administrator
    4. In the command window that opens, type sfc /scannow and hit enter.

    Report the output from the command window once it finishes.

    More detail: SFC /SCANNOW Command - System File Checker

    Regards,
    Golden
    After 3 runs of SFC...
    Code:
    Verification 100% complete.
    Windows Resource Protection found corrupt files but was unable to fix some of them.
    Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example
    C:\Windows\Logs\CBS\CBS.log
      My Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #7

    HoneycombAG said:
    Kaktussoft said:
    In elevated command prompt:

    Code:
    icacls "c:\folder\subfolder\nameOfJunction"  /deny  everyone:(RD)  /L
    icacls "c:\folder\subfolder\nameOfJunction"  /setowner  SYSTEM  /L
    Of course rename c:\folder\subfolder\nameOfJunction with actual name of junction point
    NB: One of those reparse points is Start Menu, which requires some form of full access, else Windows will spam "access denied" when you click the Start orb or press the Start key on the keyboard.
    Exception -- C:\Users\Default\Start Menu --
    Code:
    icacls "C:\Users\Default\Start Menu"  /deny  everyone:(RD)  /L
    icacls "C:\Users\Default\Start Menu"  /setowner  SYSTEM  /L
    Further reading

    Some of these reparse points have turned into "System files", and even if I did try to make a folder and drag it into that directory, Windows will claim that file already exists. I managed to fix some of them, but now they just look like Windows shortcuts.

    Most of the system's reparse points are labeled "Documents and Settings", "Application Data", "All Users", "Default User", "My [Documents | Music | Pictures | Videos]", "Start Menu", "Cookies", "Local Settings", "Templates", "NetHood", "SendTo", "Recent", "Temporary Internet Files", and "PrintHood"
    Run script listed here Further reading

    It will recreate all system junction points. It doesn't make them hidden and system though. You can do that yourself. To do so just append this to the script:

    Code:
    attrib  +h  +s  "%~2"
      My Computer


  8. Posts : 297
    Microsoft Windows 7 Home Premium 64-bit Service Pack 1
    Thread Starter
       #8

    Kaktussoft said:
    Run script listed here Further reading
    It says that script will only work with SetACL. I don't know the proper command to execute it.
      My Computer


  9. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #9

    HoneycombAG said:
    Kaktussoft said:
    Run script listed here Further reading
    It says that script will only work with SetACL. I don't know the proper command to execute it.
    Put attached file in c:\windows\system32 (it's the x64 version)
      My Computer


  10. Posts : 297
    Microsoft Windows 7 Home Premium 64-bit Service Pack 1
    Thread Starter
       #10

    Da system is down.


    Reparse point hell-picture006.jpg
    /facepalm

    Might as well clean up and start over, seeing as how every other system services are now saying "access denied" each time I try to launch them as well, or my LAN card no longer wants to connect to the Internet. There are also more disk errors to account for, since I was playing The Sims 2 the other night and the game acted erratically at something, either having to do with not being able to access a file on the hard disk or not being able to locate the proper game file in which to run the piece of code.

    Will try to get it back up, although there is a limited number of times one can use his Product Key...
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:55.
Find Us