• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
MrJinje

TakeOwnership / Windows 7 / TrustedInstaller Issues

6 posts in this topic

How come TakeOwnership reg hack is not working for everyone. It works for some, but many readers reporting it doesn't work for them at all :realmad:

Why would some users have no problem taking ownership of TrustedInstaller files but others report they can't do it with the reg-hack, or manually from an Elevated Command prompt. Since we know the reg-hack runs elevated this can't be a user mistake or command line typo, it's gotta be a settings issue.

Any ideas. Currently have Defender and UAC disabled, (via vLite tweak) maybe that is why it works for me, anyone currently having problems want to test this for us and report back.

Edited by MrJinje
0

Share this post


Link to post
Share on other sites

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. Use the following fix I've submitted to XPero's tool "TakeControl":

http://www.msfn.org/board/index.php?s=&amp...st&p=667868

This will work for all languages.

0

Share this post


Link to post
Share on other sites

If language is the problem, this is easy fix. Maybe I can Re-write it multi-lingual using the Well Known SID. Let me get someone to test it for me, and I will post it back here.

takeown_multilingual.reg

Edited by MrJinje
0

Share this post


Link to post
Share on other sites

my fix works. It is included in the Tool from XPero. You can use it and it will work.

0

Share this post


Link to post
Share on other sites
my fix works. It is included in the Tool from XPero. You can use it and it will work.
Sorry, Xpero's links were dead, never saw it. No worries, once you mentioned it was language issue, I knew the answer straight away.
http://www.xpize.net/downloads/takecontrol/TakeControlb2.zip

Server Error

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

For future reader's use this reference to create your own multi-lingual safe batch scripts.

http://support.microsoft.com/kb/243330

0

Share this post


Link to post
Share on other sites

and here is the reverse setting, forcing ownership back to TrustedInstaller language independently. Useful if you have taken ownership of a system file and have some unknown reason to set it back.

Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\runas]@="Force Ownership""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\*\shell\runas\command]@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant *S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464:F""IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant *S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464:F"[HKEY_CLASSES_ROOT\Directory\shell\runas]@="Force Ownership""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\Directory\shell\runas\command]@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant *S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464:F /t""IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant *S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464:F /t"

forceownership_trustedinstaller.reg

Edited by MrJinje
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.