Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Switch ownership of "normal" folders (tree): Disadvantages?

30 May 2017   #1
pstein

win7pro 64bit
 
 
Switch ownership of "normal" folders (tree): Disadvantages?

When I inspect my file system some of my "normal" (=non system) folders then I can see owners like
"S-1-5-21-15185678....." or "S-1-5-21-107808153

Why do only approx 30% of all folders have "S-1-5-21-151..." as owner and all others "Administrator"?

I dislike these "S-1-5-21-......" owners and would like to switch owner to "Administrators".

Are there any disadvantages?

My account name is "pet" which in turn is member of the "Administrators" group.

When I use now one of these "take ownership" tools then (as far as I can see) the next owner is my account "pet".
However I would like to assign "Administrators" instead. Is there a tool which allows (recursively) assignment of groups/other accounts as owner?

Peter


My System SpecsSystem Spec
.
30 May 2017   #2
samuria

win 8 32 bit
 
 

The numbers you see are the sid for a deleted user Windows doesn't see the name it sees those numbers called sid. It's not a good idea to mess with ownership as you can stop your system working. Users files are set to that user rights so admin can't get at them if admin has all rights a virus can full access if owned by users it's an extra security step
My System SpecsSystem Spec
30 May 2017   #3
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Quote   Quote: Originally Posted by pstein View Post
When I inspect my file system some of my "normal" (=non system) folders then I can see owners like
"S-1-5-21-15185678....." or "S-1-5-21-107808153
A good thing to note here, the “S-1-5-21” part of the SIDs suggest that they belong to user accounts. If Windows Explorer cannot evaluate an SID then it is an indication that the user associated with that SID has been deleted.

Quote   Quote: Originally Posted by pstein View Post
Why do only approx 30% of all folders have "S-1-5-21-151..." as owner and all others "Administrator"?
When you create a file system object, your user account becomes the owner of that item unless the item was created by a program running with administrative privileges, in which case the owner will typically be Administrators. If the builtin Administrator is listed as the owner, it is an indication that that user account created that item. The proportion of folders owned by “Administrator” on your system is oddly high.

Quote   Quote: Originally Posted by pstein View Post
I dislike these "S-1-5-21-......" owners and would like to switch owner to "Administrators".

Are there any disadvantages?
There’s no empirical difference. You’re taking ownership away from non-existent user “S-1-5-21-…” and giving it to all Administrators. All Administrators by default have the ability to change ownership of any file system item, so no disadvantages.

Quote   Quote: Originally Posted by pstein View Post
However I would like to assign "Administrators" instead. Is there a tool which allows (recursively) assignment of groups/other accounts as owner?
The takeown command can give ownership to the current user or Administrators, as the below line demonstrates. Use icacls to give ownership to any other user.
Code:
rem Give ownership to Administrators group for all child items in the current directory.
takeown /f * /a /r /d y
My System SpecsSystem Spec
.

Reply

 Switch ownership of "normal" folders (tree): Disadvantages?




Thread Tools




Similar help and support threads
Thread Forum
Windows Search works for normal folders, not for "My Documents"
Hello everybody, Let me first say that indexing is off on my machine for performance reasons, so if this is the reason, please say so :-) Previously searching using the search bar at the top of the windows screen would search as normal no matter which folder is open. Now, however all is...
General Discussion
How to switch users at login screen when "Switch User" is missing
Hello, I've searched the forum and could not find an answer to this problem. I have a Windows 7 Enterprise machine where at the login screen the "Switch User" button is missing and so I am unable to clear the last user. Just about all the results I got back on this topic was how to...
General Discussion
Accidentally "Take Ownership" of the whole "Windows" folder.
I was trying to patch and install non legit Windows 7 themes and long story short, I have installed Take Ownership and had accidentally click "Take Ownership" of the C:/Windows folder and it took ownership or alot of files... So question is, would it affect anything? Good or bad? So far nothing...
General Discussion
Remaking "My Music", "My Pictures", "My Videos" folders
hi, OK, this is a weird one. I wanted to move the "My Music", "My Pictures", "My Videos" folders to another HDD. I moved the "My Documents" Folder to this HDD without a problem but the others I accidentally set the whole HDD as the folder (if that makes sense). So now the music, videos and...
Customization
Bypass "Ownership" and "permissions" to files altogether!
Hello all! I don't understand what the issue is but I am logged on as administrator on my computer and only a few of my files I can access. the window will pop up stating that i don't have permission to view the file! if I am the adminitrator i should have full access to any file, right? this...
General Discussion


Our Sites

Site Links

About Us

Find 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 05:18.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App