Windows 10: How to gain full control over the system32 folder? Solved

  1.    09 Mar 2017 #1

    How to gain full control over the system32 folder?


    HelloMy computer's username is Steve and the PC's name is Steve-PC.I wish to have control over my system32 folder and all its subfolders and files, so I go to Windows | System32 | Properties | Security tab and see this:

    Click image for larger version. 

Name:	SecurityTab.jpg 
Views:	38 
Size:	56.1 KB 
ID:	124309

    and I click on the Advanced button and get the System32 Advanced Security Settings dialogue box.

    Click image for larger version. 

Name:	AdvancedSecuritySettings.jpg 
Views:	3 
Size:	119.2 KB 
ID:	124310

    I click on that 'Change' link at the top of that dialogue box, and a 'Select User or Group' dialogue box appears:

    Click image for larger version. 

Name:	SelectUserGroup.jpg 
Views:	38 
Size:	31.6 KB 
ID:	124311

    What do I do next, please, to give Steve full control over the System32 folder?

    Thank you.

    Steve
      My ComputerSystem Spec

  2.    09 Mar 2017 #2

    Welcome to the forum.
    Sorry, but from a security standpoint that is a really bad idea. Even on general principles modifying the security of system folders is strongly discouraged. It is essentially an open invitation for malware to make a home in your computer. There are other problems as well. Windows was not designed to work that way. I have heard of it being done but with rather less than satisfactory results.
      My ComputerSystem Spec


  3. Posts : 7,057
    10 Home x64 (1803) (10 Pro on 2nd pc)
       09 Mar 2017 #3

    SteveHi said: View Post
    What do I do next, please, to give Steve full control over the System32 folder?
    This is the heart of your system and changing permissions here can cause havoc if you don't know what you're doing. You already have access to most of System32 as an administrator anyway, what more do you need? With respect, if you need to ask how to change ownership or permissions you don't know enough to risk giving yourself full control.
      My ComputersSystem Spec

  4.    09 Mar 2017 #4

    Hello

    Thanks for your replies and concerns.

    If I type this in Windows PowerShell

    Code:
    Get-ChildItem C:\ -Recurse | Where {$_.extension -eq .mp4} | ForEach-Object { $_.FullName }
    I should get a list on screen of all MP4 files on my C drive. The file extension is irrelevant. Instead, I get this:

    Access to the path 'C:\Windows\System32\LogFiles\WMI\RtBackup' is denied.
    That is, I do not have permission to access RtBackup which is a folder in system32 and so, I am prevented from working as I should be able to in PowerShell.

    If it's possible to have full control over that RtBackup folder - without having control over the entire system32 folder, - then that would be fine.

    How would I do that, please?
      My ComputerSystem Spec

  5.    09 Mar 2017 #5

    Get-ChildItem shouldn't require full access, just read access. So all you need to do is go to that folder, view it's security properties and add your account with read-only access.

    Alternatively, are you running PowerShell elevated with Admin rights?
      My ComputerSystem Spec


  6. Posts : 629
    Microsoft Windows 10 Pro 64-bit
       09 Mar 2017 #6

    Contrary to popular belief System32 folder is not a virus.

    The System32 folder holds hundreds of DLL files that are essential to your computer running properly.

    Some examples include the service that handles sound on your PC, files that are essential to booting into Windows, resources that make fonts display correctly, and more. Also contained in this folder are executables for default Windows programs. For instance, Calc.exe launches the Calculator, and MSPaint.exe launches Microsoft Paint.
      My ComputerSystem Spec


  7. Posts : 7,057
    10 Home x64 (1803) (10 Pro on 2nd pc)
       09 Mar 2017 #7

    SteveHi said: View Post
    If I type this in Windows PowerShell

    Code:
    Get-ChildItem C:\ -Recurse | Where {$_.extension -eq .mp4} | ForEach-Object { $_.FullName }
    I should get a list on screen of all MP4 files on my C drive. The file extension is irrelevant. Instead, I get this:
    Access to the path 'C:\Windows\System32\LogFiles\WMI\RtBackup' is denied.
    That is, I do not have permission to access RtBackup which is a folder in system32 and so, I am prevented from working as I should be able to in PowerShell.
    You say 'instead', but when I run that command it turns out to be 'as well' - ie. I get the full list of .mp4 files AND the access denied message. That particular folder is heavily protected, not even Administrator has access, only SYSTEM has control. As such, you are unlikely to find your .mp4 (or any other files of interest) there. It would be better to just ignore the error, in fact you can tell Powershell to do just that.

    Code:
    Get-ChildItem C:\ -Recurse -ErrorAction SilentlyContinue | Where {$_.extension -eq .mp4} | ForEach-Object { $_.FullName }


    Apparently...

    The directory C:\Windows\System32\LogFiles\WMI\RtBackup stores ETW trace files (extension .etl) for real time event trace sessions.
    windows - What is stored in %Windir%\System32\LogFiles\WMI\RtBackup? - Server Fault
      My ComputersSystem Spec

  •    09 Mar 2017 #8

    Many thanks to you all for your replies.

    Bree, this worked with no errors:

    Code:
    Get-ChildItem C:\ -Recurse -ErrorAction SilentlyContinue | Where {$_.extension -eq .mp4} | ForEach-Object { $_.FullName }
    as did this:

    Code:
    Get-ChildItem C:\ -Recurse -ErrorAction SilentlyContinue | Where {$_.extension -eq .mp4} | ForEach-Object { $_.FullName } > C:\myMP4.txtC:\>
    I didn't know that

    Code:
     -ErrorAction SilentlyContinue
    existed, so many thanks indeed!

    Steve
      My ComputerSystem Spec

  •    09 Mar 2017 #9

    I am not quite sure how to add kudos or a thumbs up?
      My ComputerSystem Spec


  • Posts : 7,057
    10 Home x64 (1803) (10 Pro on 2nd pc)
       09 Mar 2017 #10

    SteveHi said: View Post
    I am not quite sure how to add kudos or a thumbs up?
    Glad I could help - there's a 'thumb' at the bottom left of each post, if you wish...
      My ComputersSystem Spec


  •  

    Related Threads
    Hi everyone, I play a game available on the Windows 10 app store called World of Tanks Blitz and many of the community members create customized camouflage patterns that you can apply to your tank. The game has its own camouflage patterns, but...
    Hi, For a folder, on properties, security tab, I've set "Deny full control" for every user. Now I cannot do anything with this folder. It's the "Bonjour" folder with the Apple app. How can I get access again, and delete this app and folder ?
    I already googled it and every tutorial is the same. When I go to do it, it doesn't work. I don't have a Microsoft account. I specified a local account user name. This is what I'm selecting as owner. The computer is not transferring access to the...
    Hello guys. I followed this guide to gain access for WindowsApps folder, and it worked. Now, I changed default drive for WindowsApps, to install Gears of War and Quantum Break(in future) in a larger drive. But the method to gain access to the...
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 09:07.
    Find Us