1.    09 Mar 2017 #1
    Join Date : Mar 2017
    Posts : 4
    Windows 10

    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:	35 
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:	35 
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
    Join Date : Oct 2014
    Posts : 758
    Windows 7

    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.    09 Mar 2017 #3
    Join Date : Aug 2016
    S/E England
    Posts : 4,476
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by SteveHi 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
    Join Date : Mar 2017
    Posts : 4
    Windows 10
    Thread Starter

    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
    Join Date : Sep 2014
    Nashville, TN
    Posts : 3,143
    Windows 10 Pro

    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.    09 Mar 2017 #6
    Join Date : Jun 2014
    Posts : 540
    Microsoft Windows 10 Pro 64-bit

    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.    09 Mar 2017 #7
    Join Date : Aug 2016
    S/E England
    Posts : 4,476
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by SteveHi 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
  8.    09 Mar 2017 #8
    Join Date : Mar 2017
    Posts : 4
    Windows 10
    Thread Starter

    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
  9.    09 Mar 2017 #9
    Join Date : Mar 2017
    Posts : 4
    Windows 10
    Thread Starter

    I am not quite sure how to add kudos or a thumbs up?
      My ComputerSystem Spec
  10.    09 Mar 2017 #10
    Join Date : Aug 2016
    S/E England
    Posts : 4,476
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by SteveHi 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

 


Similar Threads
Thread Forum
How do I gain absolute control over WindowsApps folder?
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...
General Support
"Deny full control" on a folder, how to get access again ?
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 ?
User Accounts and Family Safety
How to gain access to the WindowsApps 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...
General Support
How to gain access to WindowsApps folder not in C?
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...
Software and Apps
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 14:25.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums