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: Taking Ownership problem?


28 May 2011   #1

Windows 7 Home 32bit
 
 
Taking Ownership problem?

Hi,

Before sending my dead laptop in for repairs, I pulled the drive and put it into an enclosure to copy some important files. But to access the files I found that my other computer had to change the ownership of the main folders.

Here's my question: when I eventually reinsert the drive into the repaired laptop, will it work? The problem I forsee is that the primary user's folders (who is also the administrator) are now "owned" by the name of my other computer.

Will this be an issue?

Is there a way to "de-own" all the folders and files entirely, and therefore not worry about it?

Thanks so much!
Max

My System SpecsSystem Spec
.

29 May 2011   #2

Microsoft Community Contributor Award Recipient

Windows 7 Ultimate SP1 X64 (Windows 8.1, Linux Mint, Windows XP and others in VM)
 
 

See if this tutorial will help. Take Ownership
My System SpecsSystem Spec
29 May 2011   #3

Windows 7 Home 32bit
 
 

Thanks essenbe, but I already know how to take ownership.

My question is about booting from a drive whose system folders are now "owned" by a different computer. Will it let me past the logon, etc..?

best,
Max
My System SpecsSystem Spec
.


29 May 2011   #4

windows 7 Pro 64Bit
 
 

I may be mistaken, but when you take ownership of the files on the external drive the changes would only be present in the computer the "Take Ownership" command was run on. I have done this in the past with no ill effects once re-installed in the original computer again.
My System SpecsSystem Spec
29 May 2011   #5

Windows 8.1 Pro (x64)
 
 

Quote   Quote: Originally Posted by nitroman84 View Post
I may be mistaken, but when you take ownership of the files on the external drive the changes would only be present in the computer the "Take Ownership" command was run on.
NTFS Permissions reside with the files and folders on the drive. Not with the OS installation. Thus when you use "Take Ownership" you are changing those permissions. This is why when you carry drives over from one installation to another they need to have their permissions reset.
My System SpecsSystem Spec
29 May 2011   #6

Windows 8 Core X64
 
 

You could use dir x:\*.* /q /s to record the current owner of each folder and file, then write a batch file using subinacl to restore them when done.

For instance:
Quote:
C:\Users\rrkurtz>dir c:\* /q
Volume in drive C is D370_C
Volume Serial Number is C89E-70E8

Directory of c:\

05/21/2011 08:26 PM <DIR> BUILTIN\Administrators Brother
12/12/2009 07:04 PM <DIR> BUILTIN\Administrators NVIDIA
07/13/2009 11:20 PM <DIR> BUILTIN\Administrators PerfLogs
05/24/2011 08:52 PM <DIR> NT SERVICE\TrustedInstaProgram Files
05/12/2011 09:43 PM <DIR> NT SERVICE\TrustedInstaProgram Files (x86)
05/09/2011 05:48 PM <DIR> BUILTIN\Administrators rexxprogs
02/23/2010 12:46 AM <DIR> BUILTIN\Administrators STBak
03/31/2011 08:18 PM <DIR> BUILTIN\Administrators Users
05/29/2011 11:58 AM <DIR> NT SERVICE\TrustedInstaWindows
0 File(s) 0 bytes
9 Dir(s) 36,041,015,296 bytes free
Pipe the output of dir /q to a file then edit it to add the appropriate subinacl statements or write a batch file that takes the dir /q output file as input, processing each line and issuing the subinacl command that way.
My System SpecsSystem Spec
29 May 2011   #7

 
 

Another approach you can take, rather than changing permissions is either use the Copy/Paste method here:

Copy & Paste - in Windows Recovery Console

Or just use a Linux live CD to copy the files to another drive.

These links may also be helpful if you do change permissions:

Resetting NTFS files security and permission in Windows 7 lallous’ lab

How to use Xcacls.exe to modify NTFS permissions

http://www.google.com/search?q=win+7...x=&startPage=1

James
My System SpecsSystem Spec
29 May 2011   #8

 
 

Just ran across this, which proved extremely helpful for some permission issues here. Granted, it would be on a much larger scale, but if all else fails:

files locked!

James
My System SpecsSystem Spec
30 May 2011   #9

windows 7 Pro 64Bit
 
 

Quote   Quote: Originally Posted by logicearth View Post
Quote   Quote: Originally Posted by nitroman84 View Post
I may be mistaken, but when you take ownership of the files on the external drive the changes would only be present in the computer the "Take Ownership" command was run on.
NTFS Permissions reside with the files and folders on the drive. Not with the OS installation. Thus when you use "Take Ownership" you are changing those permissions. This is why when you carry drives over from one installation to another they need to have their permissions reset.
Well I stand corrected
My System SpecsSystem Spec
Reply

 Taking Ownership problem?




Thread Tools



Similar help and support threads for2: Taking Ownership problem?
Thread Forum
What are the risks of Taking Ownership of System32? General Discussion
Can not replace shell32.exe even after taking ownership General Discussion
Taking ownership of System folder General Discussion
Windows cannot access when trying to taking ownership General Discussion
Odd problem after taking full ownership of C: BSOD Help and Support
Taking ownership did zip all. General Discussion
Taking Ownership of an .exe 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 01:39 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33