From MrJinje:
In regard to this.
http://www.howtogeek.com/howto.....-in-vista/
Current attachment is english locale only. Made re-write for some multi-lingual friends using Well Known SID, just thought would share with you. If possible please update your Page, you are the #1 rank google hit for TakeOwnership, number #1 should mean the best, right ?
Quoted from MagicAndre at MSFN.org
http://www.msfn.org/board/take.....39719.html
The takeown /grant command uses localized names for the groups. On an English windows it is administrators. On a German Windows the name of the group administrators is Administratoren.
My version avoids using the localized names for the groups
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant *S-1-5-32-544:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant *S-1-5-32-544:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant *S-1-5-32-544:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant *S-1-5-32-544:F /t"
