Jump to content

Replacing Notepad.exe


Swimming_Bird

Recommended Posts

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.

Link to comment
Share on other sites


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"

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

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

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