![]() |
|
|
|||||||
![]() |
Windows 64bit - Take ownership with right-click |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Taking ownership of a file or folder may be a little cumbersome.
I found this reg file on the web (http://forums.mydigitallife.info/showthread.php?t=852) that adds a righ-click option "Take Ownership" when right-clicking in windows explorer. Windows Registry Editor Version 5.00 [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" Save it as a .reg file. Click on it and you are done. Carlos =?Utf-8?B?Q2FybG9z?= |
|
|
|
|
#2 |
|
Posts: n/a
|
Works nicely once I d/led the zip. Thks. I saved the hkey script as a
reg,but it would not merge into registry. So I d/led the zip extracted to a temp dir & ran it & it worked.....fine. I think in my haste I highlighted the > in copying the script........lol. "Carlos" <> wrote in message news:E83909DF-7F04-49CD-88AF-... > Taking ownership of a file or folder may be a little cumbersome. > I found this reg file on the web > (http://forums.mydigitallife.info/showthread.php?t=852) that adds a > righ-click option "Take Ownership" when right-clicking in windows > explorer. > Windows Registry Editor Version 5.00 > > > [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" > > Save it as a .reg file. > Click on it and you are done. > > Carlos Kue2 |
|
|
|
#3 |
|
Posts: n/a
|
Hugh,
I'm glad it did. If you feel like investigating/tweaking this afternoon, go here: http://www.mydigitallife.info/catego...windows-vista/ It is the site where I found that reg tweak. Carlos "Kue2" wrote: > Works nicely once I d/led the zip. Thks. I saved the hkey script as a > reg,but it would not merge into registry. So I d/led the zip extracted to a > temp dir & ran it & it worked.....fine. I think in my haste I highlighted > the > in copying the script........lol. > > "Carlos" <> wrote in message > news:E83909DF-7F04-49CD-88AF-... > > Taking ownership of a file or folder may be a little cumbersome. > > I found this reg file on the web > > (http://forums.mydigitallife.info/showthread.php?t=852) that adds a > > righ-click option "Take Ownership" when right-clicking in windows > > explorer. > > Windows Registry Editor Version 5.00 > > > > > > [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" > > > > Save it as a .reg file. > > Click on it and you are done. > > > > Carlos > > =?Utf-8?B?Q2FybG9z?= |
|
|
|
#4 |
|
Posts: n/a
|
Oh!!!!!!!!!!!!!!!! thanks!!!!! much appreciated.
"Carlos" <> wrote in message news:04CF04A3-9620-466C-B73D-... > Hugh, > I'm glad it did. > If you feel like investigating/tweaking this afternoon, go here: > http://www.mydigitallife.info/catego...windows-vista/ > It is the site where I found that reg tweak. > Carlos > > "Kue2" wrote: > >> Works nicely once I d/led the zip. Thks. I saved the hkey script as a >> reg,but it would not merge into registry. So I d/led the zip extracted to >> a >> temp dir & ran it & it worked.....fine. I think in my haste I highlighted >> the > in copying the script........lol. >> >> "Carlos" <> wrote in message >> news:E83909DF-7F04-49CD-88AF-... >> > Taking ownership of a file or folder may be a little cumbersome. >> > I found this reg file on the web >> > (http://forums.mydigitallife.info/showthread.php?t=852) that adds a >> > righ-click option "Take Ownership" when right-clicking in windows >> > explorer. >> > Windows Registry Editor Version 5.00 >> > >> > >> > [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" >> > >> > Save it as a .reg file. >> > Click on it and you are done. >> > >> > Carlos >> >> Kue2 |
|
|
|
#5 |
|
Posts: n/a
|
Why when I try to take ownership it is saying
"This program does not have a program associtaed with it for perfoming this action. Create an association in the Set Associsations control panel." "Kue2" <> wrote in message news:... > Oh!!!!!!!!!!!!!!!! thanks!!!!! much appreciated. > > > "Carlos" <> wrote in message > news:04CF04A3-9620-466C-B73D-... >> Hugh, >> I'm glad it did. >> If you feel like investigating/tweaking this afternoon, go here: >> http://www.mydigitallife.info/catego...windows-vista/ >> It is the site where I found that reg tweak. >> Carlos >> >> "Kue2" wrote: >> >>> Works nicely once I d/led the zip. Thks. I saved the hkey script as a >>> reg,but it would not merge into registry. So I d/led the zip extracted >>> to a >>> temp dir & ran it & it worked.....fine. I think in my haste I >>> highlighted >>> the > in copying the script........lol. >>> >>> "Carlos" <> wrote in message >>> news:E83909DF-7F04-49CD-88AF-... >>> > Taking ownership of a file or folder may be a little cumbersome. >>> > I found this reg file on the web >>> > (http://forums.mydigitallife.info/showthread.php?t=852) that adds a >>> > righ-click option "Take Ownership" when right-clicking in windows >>> > explorer. >>> > Windows Registry Editor Version 5.00 >>> > >>> > >>> > [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" >>> > >>> > Save it as a .reg file. >>> > Click on it and you are done. >>> > >>> > Carlos >>> >>> > Clayton |
|
|
|
#6 |
|
Posts: n/a
|
Hi Clayton,
Did you add the following line at the beginning of the reg file? Windows Registry Editor Version 5.00 The contents of the reg file should be: Windows Registry Editor Version 5.00 [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" -- Jane, not plain Batteries not included. Braincell on vacation MVP Windows Shell/User "Clayton" <> wrote in message news:... > Why when I try to take ownership it is saying > > "This program does not have a program associtaed with it for perfoming > this action. Create an association in the Set Associsations control > panel." > > > Jane C |
|
|
|
#7 |
|
Posts: n/a
|
Thanks for jumping in, Jane!
"Jane C" wrote: > Hi Clayton, > > Did you add the following line at the beginning of the reg file? > > Windows Registry Editor Version 5.00 > > > The contents of the reg file should be: > > Windows Registry Editor Version 5.00 > > > [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" > > > > -- > Jane, not plain > Batteries not included. Braincell on vacation > MVP Windows Shell/User > > "Clayton" <> wrote in message > news:... > > Why when I try to take ownership it is saying > > > > "This program does not have a program associtaed with it for perfoming > > this action. Create an association in the Set Associsations control > > panel." > > > > > > > =?Utf-8?B?Q2FybG9z?= |
|
|
|
#8 |
|
Posts: n/a
|
Below is what I have
Windows Registry Editor Version 5.00 [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" "Carlos" <> wrote in message news:3A079C5D-BF15-4E53-A56B-... > Thanks for jumping in, Jane! > > "Jane C" wrote: > >> Hi Clayton, >> >> Did you add the following line at the beginning of the reg file? >> >> Windows Registry Editor Version 5.00 >> >> >> The contents of the reg file should be: >> >> Windows Registry Editor Version 5.00 >> >> >> [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" >> >> >> >> -- >> Jane, not plain >> Batteries not included. Braincell on vacation >> MVP Windows Shell/User >> >> "Clayton" <> wrote in message >> news:... >> > Why when I try to take ownership it is saying >> > >> > "This program does not have a program associtaed with it for perfoming >> > this action. Create an association in the Set Associsations control >> > panel." >> > >> > >> > >> Clayton |
|
|
|
#9 |
|
Posts: n/a
|
Clayton,
If you still have troubles, download the zip file from the supplied link. You will have to register first but it is fast and free of charge. Carlos "Clayton" wrote: > Below is what I have > > > Windows Registry Editor Version 5.00 > > > [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" > > > > "Carlos" <> wrote in message > news:3A079C5D-BF15-4E53-A56B-... > > Thanks for jumping in, Jane! > > > > "Jane C" wrote: > > > >> Hi Clayton, > >> > >> Did you add the following line at the beginning of the reg file? > >> > >> Windows Registry Editor Version 5.00 > >> > >> > >> The contents of the reg file should be: > >> > >> Windows Registry Editor Version 5.00 > >> > >> > >> [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" > >> > >> > >> > >> -- > >> Jane, not plain > >> Batteries not included. Braincell on vacation > >> MVP Windows Shell/User > >> > >> "Clayton" <> wrote in message > >> news:... > >> > Why when I try to take ownership it is saying > >> > > >> > "This program does not have a program associtaed with it for perfoming > >> > this action. Create an association in the Set Associsations control > >> > panel." > >> > > >> > > >> > > >> > > =?Utf-8?B?Q2FybG9z?= |
|
|
|
#10 |
|
Posts: n/a
|
Hi Clayton,
When you copy the text into notepad, do File, Save As, name it TakeOwn.reg, and select "All Files" as the "save as type". If you don't, then it will end up with a .txt extension after the .reg bit -- Jane, not plain Batteries not included. Braincell on vacation MVP Windows Shell/User "Clayton" <> wrote in message news:eGnc4r%... > Below is what I have > > > Windows Registry Editor Version 5.00 Jane C |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to activate Remote Assistance with XP using Windows Live Messenger | Oziisr | General Help Related Topics | 0 | 02-01-2008 04:45 PM |
| How to make your wonderful photo and video slideshow on DVD | kricww@gmail.com | DVD Video | 0 | 04-20-2006 07:26 AM |
| Converting PAL DVDs to NTSC DVDs. | Wild Coyote | DVD Video | 14 | 10-27-2004 09:58 PM |
| winsock.dll | J | A+ Certification | 7 | 07-20-2004 01:01 AM |
| Latest Tech Fiasco... | Ghost | A+ Certification | 30 | 01-09-2004 12:15 PM |