Dienstag, 26. Oktober 2010

TakeOwnership Explorer menu entry for german Windows 7

Create a file like: TakeOwnershipGer.reg.
Fill it with this:

Windows Registry Editor Version 5.00

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

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


---

Found this for english windows here:
http://www.blogsdna.com/2173/add-take-ownership-option-in-right-click-context-menu-of-windows-7.htm

Also this is untested but seems to support more options:
http://beatmasters-winlite-blog.de/?p=1609

Keine Kommentare: