![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| ||||
| ||||
| Add "Take Ownership" to right-click menu in Vista. DANGEROUS DO NOT ATTEMPT UNLESS YOUR SURE... In order to streamline the ownership of various files and folders in Windows Vista, you can add the “Take Ownership” option to your right-click menu. After clicking this icon, the owner of the selected file or folder will automatically change to your username. Please note that in order to use this feature you must have administrative privileges. <|> Please be aware that this change requires making a change to the Windows Vista registry. <|> Note: Editing the registry has the potential to cause serious (and unrecoverable) damage to your PC. If you are at all uncomfortable editing the registry, please do not attempt the following. The first step is to create a registry file. You can do this by opening Notepad (Start >> All Programs >> Accessories >> Notepad) and copying and pasting the following: ------------------------------------------------------------------------ Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\runas] @="Take Ownership" "Extended"="" "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" "Extended"="" "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" ------------------------------------------------------------------------ Save the file with the name Ownership.reg and close Notepad. Double-click your Ownership.reg file to apply it to the registry. You will have to grant access, click Continue: (unless you Disable UAC) The registry editor will give you a security prompt, click Yes. You will be greeted with the following message from the registry editor, click Ok: When you hold shift and right-click on a file or folder you will have the option of changing the ownership. Please note that before the ownership will be changed, you must grant access, click Continue. In order to verify that the “Take Ownership" dialog successfully processed, you can right-click on a file, choose Properties and then choose Details and you will see the “Owner” section changed to COMPUTERNAME\USERNAME. ------------------------------------------------------------------ Normal way to do this: If you have problems with permissions, select file...goto > properties....take ownership....then change permissions. > take ownership of the file > - right click file, click properties > - click security tab > - click advanced > - click owner tab > - click edit > - click administrators group > - click ok > - click ok to the message > - click ok twice more to close out all properties dialogs > now that you are the owner of the file, you can change the permissions > on > the file even though you do not have explicit permission to do so. > however, > you still can't modify that file - you have to give yourself that > permission.
__________________ The only Stupid Question is the one you failed to Ask! Beta Tester since Pre Win 95. |
| Sponsored Links |
|
#4
| ||||
| ||||
| Correction on how to save. I was sure every body knew how to save a reg file ... But I'm wrong. when you save Ownership.reg and close notepad. should be changed to save as "Ownership.reg" with the quotes... so that .txt is not the ext, but .reg is ext, and it will be a reg file not a .txt file That is also why I stated only NERDS/GEEKs should use... they should know how to save a .reg file. Thanks xlnt123 for the reminder. Quote:
__________________ The only Stupid Question is the one you failed to Ask! Beta Tester since Pre Win 95. |
|
#5
| |||
| |||
| Quote:
I hope I saved it correctly.... and it is working for me properly as u said..... |
|
#6
| ||||
| ||||
| Quote:
That also is why I posted the way I did... but due to your post I realized I failed to notify how to save as so that it would be a .reg file and not a .txt file. Thanks for the(txt) mention again ...Glad you like. ENJOY ![]()
__________________ The only Stupid Question is the one you failed to Ask! Beta Tester since Pre Win 95. |
|
#7
| |||
| |||
| Quote:
Definately I like it and I request if u can post some registry to disable unnecessary service with their usage.... so that people can benefit from them, then this post can become sticky.... |
|
#8
| ||||
| ||||
| Quote:
__________________ The only Stupid Question is the one you failed to Ask! Beta Tester since Pre Win 95. |