Jump to content

Give Ownership System to Everyone


Recommended Posts

Posted

is it possible to change ownership of all files in windows folder? possible? how? after that can we use that operating system as windows xp? (it never say that i don't have permission to delete or change the file)


Posted
don't do this. Why the hell do you want to delete and modify files in Windows folder? Please don't don this!

i want to learn if possible. it has lots of advantages why not. i change uxtheme.dll,tcpip.sys etc... lots of files. there is not any danger if you know what you do and hexing

Posted

Of course it's possible. You're the admin. http://www.google.com/search?btnG=Google+S...der+permissions

and

Windows Registry Editor Version 5.00

; Add "Take Ownership" to options in files and folders context menu.
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"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]
@="Take Ownership"
"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"

Posted

ACTAULLY there is LOTS of danger!

Alot of malware and spyware will willy-nilly replace system files on there own secretly if givin the chance.

Plus you loose the fail-safe.

I suggest the very simple bat file called replacer. (Google is your friend)

Its only a couple of clicks and a reboot to replace files....

Posted (edited)

Is that batch file resets ownership of EVERY file? I want every file not an option on right click menu.

Edited by Kullenen_Ask
Posted

Every file....at least it tries to. Ownership and permissions are 2 different things. The permissions may be set on some items that prevent taking ownership. If you were to right click Windows and take ownership, be prepared to wait a while till it finishes. It ??recurses?? all subdirectories/files. The winsxs folder has a gazillion files.

Posted

save to an XXX.reg file and run it

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="admin gets all rights"
"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\exefile\shell\runas2]
@="admin gets all rights"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\exefile\shell\runas2\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]
@="admin gets all rights"
"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"

]

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...