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: Help with 'TAKEOWN' command

16 Oct 2009   #1
Tygerrr

Windows 7
 
 
Help with 'TAKEOWN' command

I am trying to take administrative ownership of a folder and it's subfiles. I cannot get cmd and the takeown command to find the file path. Here is what I've tried:

TAKEOWN /F C:\ProgramFiles\xxx\xxx\xxx

TAKEOWN /S system U/ xxx P/ xxx /F C:\ProgramFiles\xxx\xxx\xxx

neither is working, I get a some form or another of the 'cannot find specified path or network etc.

Please help!


My System SpecsSystem Spec
.
16 Oct 2009   #2
H2SO4

Win7x64
 
 

Put the entire path in quotes - the space in "Program Files" has caused more headaches than any other single character, anywhere, ever.

From your example: TAKEOWN /F "C:\Program Files\xxx\xxx\xxx"
My System SpecsSystem Spec
16 Oct 2009   #3
Tygerrr

Windows 7
 
 

Oki that seemed to solve that problem, but another has arisen. It has given me 'current logged on user doesn't ownership'.

Well duh, that's why I'm trying to take ownership. My user profile is set as administrator. What else can I do?
My System SpecsSystem Spec
.

16 Oct 2009   #4
H2SO4

Win7x64
 
 

Quote   Quote: Originally Posted by Tygerrr View Post
Oki that seemed to solve that problem, but another has arisen. It has given me 'current logged on user doesn't ownership'.

Well duh, that's why I'm trying to take ownership. My user profile is set as administrator. What else can I do?
Run the command from an elevated CMD prompt (right-click the CMD shortcut, "run as admin").
My System SpecsSystem Spec
16 Oct 2009   #5
Tygerrr

Windows 7
 
 

still getting an 'access is denied' error
My System SpecsSystem Spec
17 Oct 2009   #6
H2SO4

Win7x64
 
 

Quote   Quote: Originally Posted by Tygerrr View Post
still getting an 'access is denied' error
That's different to the error you posted previously, isn't it?

Some system directories don't really "exist", in the sense that they're there for compatibility with apps written for previous versions of Windows. Make sure you're only trying to alter permissions on data, not system stuff.
My System SpecsSystem Spec
17 Oct 2009   #7
Flavius

Windows 7 Professional x64 PL
 
 

Quote   Quote: Originally Posted by Tygerrr View Post
still getting an 'access is denied' error
If everything you are doing well and still have error "access denied" it may be also caused due to used by system some files or subfolders in object which you want takeownership.Try to do that in safe mode or try alternative tool like SetACL SetACL - Windows permission management or just classic method through GUI http://www.vistax64.com/tutorials/67...ship-file.html
My System SpecsSystem Spec
17 Oct 2009   #8
Kurrupt

Windows 7 Ultimate
 
 

I have registry entries you run to add a "Take Ownership" option when you right-click any folder or file. PM me if your interested in them. Cheers.

Kurrupt
My System SpecsSystem Spec
17 Oct 2009   #9
logicearth

Windows 10 Pro (x64)
 
 

What are you trying to take ownership of and why? If you cannot or don't have a good answer for why then you should not be doing this!
My System SpecsSystem Spec
17 Oct 2009   #10
Tygerrr

Windows 7
 
 

Because I am trying to alter a program that I purchased for preferred and optimal performance.
My System SpecsSystem Spec
Reply

 Help with 'TAKEOWN' command




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
My Windows 7 64bit Home Premium does not have a COMMAND or COM command
When I am told to go to START/SEARCH and type in COMMAND, so I can RUN as Admin, it finds neither COM.exe or COMMAND.exe so I can "Run as Admin" in the DOS windows. It use to. I do have a RUN command that will bring up the DOS window but when executing some commands like CHKDSK it tells me I...
General Discussion
No REG Command in "Open elevated command window here" DOS Box
I have used the @="cmd.exe /s /k pushd \"%V\"" type of Registry mod to obtain a context menu "Open elevated command window here" menu item, such as in the "Open elevated command window here" thread ( http://www.sevenforums.com/general-discussion/75069-open-elevated-command-window-here.html ). ...
General Discussion
takeown cmd to recover harddrive files?
My cousin's laptop recently went to crap. The windows system startup folder got corrupted. Anyway, I pulled the harddrive and plugged it into my desktop to pull off her personal files (System restore/repair with CD did Not work) Anyway, I got it to show up fine on my machine, but every single...
Hardware & Devices
Are changes permanent using takeown/icacls?
As the title states, are changes permanent using takeown or icacls? Does it weaken windows security? I'm asking because sometimes, when I make a "lite" version of 7, I need to remove several files that require ownership. Instead of just applying onwership to those files only, I usually end up...
General Discussion
takeown only works on some files
Hi everyone, I'm having a problem with the takeown command or with permissions in general. I installed 64-bit Windows 7 Ultimate Version 6.1 (Build 7600) on a new machine that I built. I'm trying to copy files from my old hard-drive to the new one, but am having permissions problems. After...
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 21:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App