Sunday 2 September 2012

Add An Extra Option "Take Ownership" On The Context Menu

| 0 comments

This process will add an extra option "take ownership" on the context menu of a selected file or folder. By using this any local user can find the ownership same as the administrator.before going through this tutorial you must create a back up of your Windows Registry.



Now open your notepad or any other text editor and enter the following Information:-



Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""


[HKEY_CLASSES_ROOT\*\shell\takeownership\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\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""


[HKEY_CLASSES_ROOT\exefile\shell\takeownership\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\dllfile\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""


[HKEY_CLASSES_ROOT\dllfile\shell\takeownership\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\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""


[HKEY_CLASSES_ROOT\Directory\shell\takeownership\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"



Note:
Please make sure that the first line (the one starting with "Windows Registry Editor..." appears in the text file. Now save the notepad file anywhere on your computer and give it a .reg extension.(suppose xxx.reg).Now you need to install that registry file to Windows registry..


After installing the registry Now reboot your computer and Enjoy the change.
Read More

How To Add Registry Entry

| 0 comments
1. Open registry Editor.
  
2. Now click on File on "Menubar"

3. Now Click on "Import".

4. It will open the "Browse" window.




5. Now choose the registry file that you want to install and click on open.



6. it will show an message that the registry Entry is successfully added to the registry.That is it.



You can also install a registry file by double click on that file (or right click of mouse on that file and choose merge)
it will open UAC prompt and show you that the adding registry file must be harmful to your system.

                                
Just ignore all the message and click on OK. After that it will show the message that the registry entry is successfully added to the registry.
Read More

Take Ownership Of A File In Windows

| 0 comments
Here is a process to take ownership of a file.

Process to take ownership of a file in windows:

1. Select the file or folder whose ownership you want to take and right click of mouse on it and choose "Properties".


2. On the property window navigate to "Security" tab.


3. Click on "Advanced".


4. On the open advanced security option window navigate to "Owner" tab.


5. Now click on "Edit".


6. a new window for advanced security option will be opened.


7. you will find a table asking for "Change owner to". Now select the local user to which you want to take the ownership.


8. Below that you will find an check box "replace owner on sub containers and objects".

9. Just tick the check box.



10. Now apply all the modified setting.

11. During apply the changes it will show an message "You dont have the permission to read the file or the contents of the directory. Do you want to change the permission of the file or folder to full control. All permission will be replaced if you press ok".


12. Just ignore the message and Press ok.


Want to know how to add Take Ownership context menu in windows


Read More