Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Take Ownership Shortcut

 
01-13-2009   #79
Mark


Windows 7 Ultimate Vista Ultimate x64
 
 

Take Ownership Shortcut

Add "Take Ownership" to Context Menu of Files, Folders, and Drives

...


Last edited by Brink; 4 Weeks Ago at 05:46 AM..
My System SpecsSystem Spec
05-17-2010   #80
Brink


Windows 7 Ultimate x64 SP1
 
 


You're welcome. I'm happy to hear that you got it sorted.

My System SpecsSystem Spec
05-31-2010   #81
dr1254


windows 7
 
 


It works. Thanks a lot!

Daniel
My System SpecsSystem Spec
06-15-2010   #82
squall leonhart


Windows 7
 
 


this seems to be broken when also using the open elevated command window tweak, it appears to not auto elevate correctly for some reason.

edit,

strange i must've been using an older version or something
My System SpecsSystem Spec
06-15-2010   #83
Brink


Windows 7 Ultimate x64 SP1
 
 


Hello Danial,

Yes, you have a older version. The current download had been updated not to long ago to cleanly remove and replace the Open Command Window Here as Administrator context menu item.
My System SpecsSystem Spec
.


06-15-2010   #84
squall leonhart


Windows 7
 
 


i modified it some more to add the LUA shield to directories xD

elevated cmd windows im not to worried about, i can launch them from total commander just by running that elevated xD
My System SpecsSystem Spec
06-15-2010   #85
Brink


Windows 7 Ultimate x64 SP1
 
 


Good idea. Updated downloads with to have the icon as well.
My System SpecsSystem Spec
06-15-2010   #86
ebarn


Windows 7 Ultimate x64
 
 


Does this replace the "Run as Administrator" option?
My System SpecsSystem Spec
06-15-2010   #87
squall leonhart


Windows 7
 
 


no.
My System SpecsSystem Spec
06-15-2010   #88
ebarn


Windows 7 Ultimate x64
 
 


Quote   Quote: Originally Posted by squall leonhart View Post
no.
Hmmm.. I don't see it anymore when I right click.
My System SpecsSystem Spec
06-15-2010   #89
squall leonhart


Windows 7
 
 


hmm, you're right, run as admin is broken D:

but i know i had a self elevating take ownership item that worked fine with the run as admin command not so long ago.

seems to be because it replaces the run as key for exe's.

i recommend removal of take ownership over exe files?

Code:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\*\shell\runas]

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[-HKEY_CLASSES_ROOT\Directory\shell\runas]

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

[-HKEY_CLASSES_ROOT\dllfile\shell]

[HKEY_CLASSES_ROOT\dllfile\shell\runas]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\dllfile\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
My System SpecsSystem Spec
Comment

 Take Ownership Shortcut problems?



Tutorial Tools



Similar Threads for: Take Ownership Shortcut
Windows 7 Tutorial Category
Creating a shortcut without - shortcut written after the original name General Discussion
Ownership Virtualization
Ownership for XP Chillout Room


All times are GMT -5. The time now is 01:40 AM.



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
  

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