Access to a specific System Folder


  1. Posts : 28
    XP, Windows 7
       #1

    Access to a specific System Folder


    Hallo,

    How do i get access (iŽd like to replace a file) to this dir:

    C:\Windows\winsxs\amd64_netfx-mscorwks_dll_b03f5f7f11d50a3a_6.1.7601.17514_none_bf0c7965d70a0677

    I tried the "take ownership" tweak from this forum, i set the appropriate rights but i still canŽt copy a file to that dir. Thanks for your help,

    Ingo
      My Computer


  2. Posts : 797
    Windows 7 Ultimate (x64)
       #2

    Well, typically to access a folder that does not belong to you you need to take ownership and then assign yourself full access permissions. On the other hand, messing with permissions of system files is usually not recommended for obvious reasons. If you did that and still can't replace the file - the folder you mention contains only one file in my system, mscorwks.dll, which is part of .Net - then you probably did not check the box "apply changes to all objects and subfolders" (not the precise title, but you get the idea). Just check the permissions on the file itself, as well as the folder.

    What I am puzzled by is why do you want to replace this file in this location?
      My Computer


  3. Posts : 5,642
    Windows 10 Pro (x64)
       #3

    You should not be messing with anything in the winsxs folder!
      My Computer


  4. Posts : 28
    XP, Windows 7
    Thread Starter
       #4

    Its because an app i am trying to run doesnt work anymore after sp1 install.
    IŽd like to check if i can replace it. I just canŽt get access it ;( Is there a new "Take ownership" registry "hack" available? I am using the one from 1yr ago+. Thanks in advance,


    Ingo
      My Computer


  5. Posts : 22,814
    W 7 64-bit Ultimate
       #5

    Hello Ingo.


    If you do go forward with this be sure to export a back-up of the Windows registry first, have a look at this tutorial at the link below and be sure to post back with any further questions you may have and to keep us informed.


    How to Backup and Restore the Windows 7 Registry
      My Computer


  6. Posts : 5,642
    Windows 10 Pro (x64)
       #6

    That is not how you make the application work...items in the Winsxs are not used by the system directly. Even if you were able to add or replace files in there it won't do a thing.
      My Computer


  7. Posts : 28
    XP, Windows 7
    Thread Starter
       #7

    If its true what you say, where is my program loading the mscorwks.dll from ?
    Maybe it will help if i post the debug info here?
      My Computer


  8. Posts : 797
    Windows 7 Ultimate (x64)
       #8

    This file is located in

    C:\Windows\Microsoft.NET\Framework\v2.0.50727

    and

    C:\Windows\Microsoft.NET\Framework64\v2.0.50727
      My Computer


 

  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 20:02.
Find Us