Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Takeown for XP

Featured Replies

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Quickly takes ownership of files and folders with right click in Windows XP, Vista and 7 including executible

files without replacing with the "Run as"... feature like the other versions

of this tool available at many websites do so you can still run programs with elevated priveledges.

This is good becouse the other codes from then internet don't work well with Windows 7

by interfearing with the operations of certain programs such as backup and restore when trying make it work by adding the code for .exe files.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The first step is to download a command line utility "subinacl.exe" http://www.microsoft.com/downloads/details...;displaylang=en

and install it.

After you install it browse to "X:\Program Files\Windows Resource Kits\Tools" and copy "subinacl.exe" to "x:\windows\system32" and then be sure to delete it from "X:\Program Files\Windows Resource Kits\Tools" where it installs.

Important: make sure "subinacl.exe" is not in any other folder than system32 such as the program files installation directory or else it won't work. It should only be in system32.

The second step is to select all of the text in this codebox, copy and paste the text to a new text file then save it.

COPY subinacl.exe %systemdrive%\WINDOWS\system32\

REM FILE

echo y| reg add "HKEY_CLASSES_ROOT\*\shell\Take Ownership" /ve /d "Take Ownership"
echo y| reg add "HKEY_CLASSES_ROOT\*\shell\Take Ownership" /v "HasLUAShield"
echo y| reg add "HKEY_CLASSES_ROOT\*\shell\Take Ownership\command" /ve /d "CMD /C subinacl.EXE /file ""%%1\"" /owner=%username% && subinacl.EXE /file ""%%1\"" /grant=%username%=f"

REM Folder

echo y| reg add "HKEY_CLASSES_ROOT\Folder\shell\Take Ownership" /ve /d "Take Ownership"
echo y| reg add "HKEY_CLASSES_ROOT\Folder\shell\Take Ownership" /v "HasLUAShield"
echo y| reg add "HKEY_CLASSES_ROOT\Folder\shell\Take Ownership\command" /ve /d "CMD /C subinacl.EXE /file ""%%1\"" /owner=%username% && subinacl.EXE /subdirectories ""%%1\*.*\"" /owner=%username% && subinacl.EXE /file ""%%1\"" /grant=%username%=f && subinacl.EXE /subdirectories ""%%1\*.*\"" /grant=%username%=f"


REM .CMD FILE


echo y| reg add "HKEY_CLASSES_ROOT\cmdfile\shell\Take Ownership" /ve /d "Take Ownership"
echo y| reg add "HKEY_CLASSES_ROOT\cmdfile\shell\Take Ownership" /v "HasLUAShield"
echo y| reg add "HKEY_CLASSES_ROOT\cmdfile\shell\Take Ownership\command" /ve /d "CMD /C subinacl.EXE /file ""%%1\"" /owner=%username% && subinacl.EXE /file ""%%1\"" /grant=%username%=f"



REM .EXE FILE

echo y| reg add "HKEY_CLASSES_ROOT\exefile\shell\Take Ownership" /ve /d "Take Ownership"
echo y| reg add "HKEY_CLASSES_ROOT\exefile\shell\Take Ownership" /v "HasLUAShield"
echo y| reg add "HKEY_CLASSES_ROOT\exefile\shell\Take Ownership\command" /ve /d "CMD /C subinacl.EXE /file ""%%1\"" /owner=%username% && subinacl.EXE /file ""%%1\"" /grant=%username%=f"

Now you want to change file extension of the new text file from ".txt" to ".cmd".

Finally, right click on the .cmd file and select "Open" from the top of the menu to add the code to your registry. You are done!

Now you can right click on any file or folder and select ,' Take Ownership" from the context menu and you will have full permisions on that file or folder including all of it's contents.

Updated 10-20-2009 to work on all files in windows 7 and preserve the "Run as..." feature.

Edited by midnight rambler

  • 4 years later...

New Install Script with Line Breaks:

InstallSubinacl.cmd

http://pastebin.com/QkbUEz6U

I was getting jacked up by your editor on this site cause it would create newlines for some reason on my paste.

Edited by ptrakk

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.