Issues after taking ownership of C:\

Page 1 of 2 12 LastLast

  1. Posts : 8
    Windows 10
       #1

    Issues after taking ownership of C:\


    Hi there. I've been rather stupid and transferred ownership of C:\, including system32, to my account (the administrator and only user). While I would instantly switch it back, due to an unrelated reason I restarted my computer (Surface Pro 4). Since then I've done research and found that it was definitely not a good idea to transfer ownership to begin with.

    When I turn the computer on, it boots up normally until the point where it (presumably) leads to the login screen, but remains with the spinning-dots loading symbol. After some experimentation it still responds to the keyboard shortcut to change brightness. Also, upon CTRL+ALT+DELETE it goes to the normal screen except without any text. The buttons for wifi, ease of access, and sleep/shutdown/restart on the bottom-right are present and do work. When I hold down the power button the normal 'slide to shutdown' screen appears and is functional.

    Is there any solution? Since I can't log in or access File Explorer (or Command Prompt) I can't reset permissions.

    Many thanks for any help at all.
      My Computer


  2. Posts : 12,801
    Windows 11 Pro
       #2

    I don't know if it can do what you need, but you can get access to the command prompt from installation media Command Prompt at Boot - Open in Windows 10 - Windows 10 Forums
      My Computer


  3. Posts : 8
    Windows 10
    Thread Starter
       #3

    essenbe said:
    I don't know if it can do what you need, but you can get access to the command prompt from installation media Command Prompt at Boot - Open in Windows 10 - Windows 10 Forums
    Thanks for the response. After doing some more digging I've found a way to access that, and am currently looking through other places to find the right command (I'm only familiar with Unix).
      My Computer


  4. Posts : 298
    Win-10 Pro x64
       #4

    Just a thought, but what about creating a Bootable PE Rescue Disk?

    To be honest, I just discovered this myself, but it looked like it might offer some help.


    b1rd
      My Computer


  5. Posts : 8
    Windows 10
    Thread Starter
       #5

    b1rd said:
    Just a thought, but what about creating a Bootable PE Rescue Disk?
    If this is what I think it is, then it's sadly not really possible. When I tried to make a bootable USB (since I don't have any essential personal files), it became apparent that you need another Windows machine to set it up. This is another problem, because I am surrounded by Macs. I don't have access to any other Windows computers very easily at all.

    In response to my previous post, I've been trying to change permissions for System32, C:\Windows, and now the entirety of C:\ to TrustedInstaller (the default) through command line. Although it says that it's successful, each time I subsequently restart it doesn't work. I'll try a few more variations thereof, regardless.

    Thanks once again.
      My Computer


  6. Posts : 12,801
    Windows 11 Pro
       #6

    What command did you use to take ownership?
      My Computer


  7. Posts : 8
    Windows 10
    Thread Starter
       #7

    essenbe said:
    What command did you use to take ownership?
    Code:
    icacls C:\ /setowner "NT SERVICE\TrustedInstaller" /T /C
    I used
    Code:
    takeown /F C:\Windows /A
    beforehand when trying to do it just for the Windows folder, as suggested by another forum.

    EDIT:
    My attempt to use the first command has finished and hasn't worked.
      My Computer


  8. Posts : 12,801
    Windows 11 Pro
       #8

    I should have a good answer for you in a little while, but I'm not sure you can undo it.
      My Computer


  9. Posts : 8
    Windows 10
    Thread Starter
       #9

    I see. Thank you regardless, especially for your speedy response. If it's impossible then I'll just reset the machine and make sure I learn from this mistake.
      My Computer


  10. Posts : 12,801
    Windows 11 Pro
       #10

    Your best chance would probably be to try a system restore to a point before you took ownership. Hopefully you have restore points to that time. System Restore Windows 10
      My Computer


 

  Related Discussions
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 12:00.
Find Us




Windows 10 Forums