Go Back   Velocity Reviews > Newsgroups > Windows 64bit
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Windows 64bit - Take ownership with right-click

 
Thread Tools Search this Thread
Old 11-03-2007, 05:52 PM   #1
Default Take ownership with right-click


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?=
  Reply With Quote
Old 11-03-2007, 06:49 PM   #2
Kue2
 
Posts: n/a
Default Re: Take ownership with right-click
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
  Reply With Quote
Old 11-03-2007, 07:30 PM   #3
=?Utf-8?B?Q2FybG9z?=
 
Posts: n/a
Default Re: Take ownership with right-click
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?=
  Reply With Quote
Old 11-03-2007, 08:10 PM   #4
Kue2
 
Posts: n/a
Default Re: Take ownership with right-click
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
  Reply With Quote
Old 11-05-2007, 05:03 AM   #5
Clayton
 
Posts: n/a
Default Re: Take ownership with right-click
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
  Reply With Quote
Old 11-05-2007, 10:37 AM   #6
Jane C
 
Posts: n/a
Default Re: Take ownership with right-click
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 64 bit enabled
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
  Reply With Quote
Old 11-05-2007, 12:20 PM   #7
=?Utf-8?B?Q2FybG9z?=
 
Posts: n/a
Default Re: Take ownership with right-click
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 64 bit enabled
> 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?=
  Reply With Quote
Old 11-05-2007, 08:32 PM   #8
Clayton
 
Posts: n/a
Default Re: Take ownership with right-click
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 64 bit enabled
>> 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
  Reply With Quote
Old 11-05-2007, 09:27 PM   #9
=?Utf-8?B?Q2FybG9z?=
 
Posts: n/a
Default Re: Take ownership with right-click
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 64 bit enabled
> >> 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?=
  Reply With Quote
Old 11-05-2007, 09:36 PM   #10
Jane C
 
Posts: n/a
Default Re: Take ownership with right-click
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 64 bit enabled
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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46