Jump to content

Recommended Posts

Posted
okey... here you go

disable UAC first.. (control panel--->user account-->Turn user account control on or off-->remove tick-->ok)

go to system32 [run(winkey +r)-->system32]

locate notepad

rt click on it-->properties-->security tab-->choose administator-->advance-->choose owner tab--> click edit-->click administrator-->ok-->OK-->on security tab again click administrator--->click edit-->click administrator again-->give full permission by putting tick mark on FULL-->ok-->ok

Delete notepad or rename to else

paste ur fav editor as notepad.exe

Voila...

cheers

the only issue with this is i'm not so certain that i want to disable UAC, and i've heard that disabling it and then re-enabling it causes issues.


Posted

it will never.. not to be so worried

here u can use script as well to gain the file ownership

Shift Right on the file you want to gain ownership and click Gain ownership

then do whatever u like with the file

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\runas]

@="Gain Ownership"

"Extended"=""

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]

@="cmd.exe /c takeown /A /f \"%1\" && icacls \"%1\" /grant administrators:F"

"IsolatedCommand"="cmd.exe /c takeown /A /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]

@="Gain Ownership"

"Extended"=""

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]

@="cmd.exe /c takeown /A /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

"IsolatedCommand"="cmd.exe /c takeown /A /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

Posted

Sadly that script does not working here. No such option when I right click a folder or file when holding down the shift key or not. :(

Posted

this is for windows Vista

not for windows XP

save that script on notepad and save it as reg file

merge it

now only u can see the option press shift + rt click on the file

untitledyc2.th.jpg

Posted
this is for windows Vista

not for windows XP

save that script on notepad and save it as reg file

merge it

now only u can see the option press shift + rt click on the file

untitledyc2.th.jpg

Yes this works but shift + right clicking on notepad does not give you that gain option. It does on other files but not notepad.

Posted

I just tried, but doesn't work with .EXE on Windows and System32 folders, with other files works perfectly, maybe is due by some update.

Posted

Run as administrator is causing u the problem

Merge this registry script and u will be able to take the EXE file ownership

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\exefile\shell\runas]

merge it

now follow the previous steps

Posted

yeah,, even in windows, if are logged with the administrative rights u will be able to do the same as u do in linux from root

:)

but i hope this is better regarding the security

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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