Author Topic: EDIT: How to grant Administrator permission for MANY files and folders?  (Read 5052 times)

0 Members and 1 Guest are viewing this topic.

Offline Angelika

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 191
  • Karma: 0
    • View Profile
Take Ownership not work:
---------------------------
Error
---------------------------
Internal Error 00000014
---------------------------
OK   
---------------------------




Code: [Select]
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"

My System is Polish

Administrators (Administratorzy)

does not it make a difference?
« Last Edit: November 27, 2017, 04:43:17 AM by Angelika »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7423
  • Location: UK
  • Karma: 108
    • View Profile
Re: Take Ownership not work!
« Reply #1 on: November 20, 2017, 08:02:12 AM »
Which version of Windows are you using ?

Offline Angelika

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 191
  • Karma: 0
    • View Profile
Re: Take Ownership not work!
« Reply #2 on: November 20, 2017, 09:00:29 AM »
W7

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7423
  • Location: UK
  • Karma: 108
    • View Profile
Re: Take Ownership not work!
« Reply #3 on: November 20, 2017, 09:05:30 AM »
Are you trying to take ownership of a file or a registry key ?

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7423
  • Location: UK
  • Karma: 108
    • View Profile
Re: Take Ownership not work!
« Reply #4 on: November 20, 2017, 09:15:45 AM »
I'm going to have to go so I'll give you two links.

The first is for files and folders which if you scroll down you can download the hack which will put Take Ownership into the right click context menu and the second is for taking ownership of registry keys.

https://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/

https://appuals.com/taking-ownership-of-registry-keys-in-windows/

Offline Angelika

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 191
  • Karma: 0
    • View Profile
Re: Take Ownership not work!
« Reply #5 on: November 20, 2017, 09:35:04 AM »
Vista ?
take-ownership-to-explorer-right-click-menu-in-vista/

I've seen this site a long time ago, I downloaded the files but it does not work.


Code: [Select]
You'll need to provide administrator permission to delete this folder...
« Last Edit: November 20, 2017, 09:43:38 AM by Angelika »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7423
  • Location: UK
  • Karma: 108
    • View Profile
Re: Take Ownership not work!
« Reply #6 on: November 20, 2017, 01:13:09 PM »
I have that on two Win 7 laptops upgraded to Win 10 and it works for me.

If the hack didn't work for you, did you try creating it manually from the steps in the article ?

Offline Angelika

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 191
  • Karma: 0
    • View Profile
Re: Take Ownership not work!
« Reply #7 on: November 21, 2017, 02:49:42 AM »
I have UAC turned on and I do not want to turn off (Protect!)
I do not want to confirm each time as administrator when I want to delete any file or folder. Maybe it's related to something else?

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7423
  • Location: UK
  • Karma: 108
    • View Profile
Re: Take Ownership not work!
« Reply #8 on: November 21, 2017, 03:44:15 AM »
The UAC is there to protect you.

I've just realised I didn't have this hack installed on my Win 7 laptop, so have downloaded and saved it.

When you say it didn't work for you, have you installed it correctly.

Locate the .zip in your Downloads folder, double click on it - Extract then right click on the add to context menu and select Merge then confirm.

I don't have anything I want to move or delete just yet so am unable to confirm if I would still get the UAC.

Offline Angelika

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 191
  • Karma: 0
    • View Profile
Re: Take Ownership not work!
« Reply #9 on: November 21, 2017, 05:26:17 AM »
It does not work, I used the best method from the internet, but it still does not work, it does not work anymore!
Where is the log or debug log?
It always does not work when I have a new drive and it copies new data on it!
I have had enough of this for many years, always the same problem, and it's always when new disk and data is copied.
The problem is always when I have an admin account (but the second account).

1 account (Administrator)
2 account (bla bla bla Adminstrator) Problem
3 Administartors (Administratorzy)
« Last Edit: November 21, 2017, 05:30:50 AM by Angelika »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7423
  • Location: UK
  • Karma: 108
    • View Profile
Re: Take Ownership not work!
« Reply #10 on: November 21, 2017, 07:19:39 AM »
Then that account must be corrupt - create another admin one.

Offline Angelika

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 191
  • Karma: 0
    • View Profile
Re: Take Ownership not work!
« Reply #11 on: November 22, 2017, 05:42:35 AM »
Nonsense! How can you write such stupid things?
I have a new system and a new account and still this damn error!
I can change the system and so a foolish mistake to be, so your ideas are stupid.
I'm just a man and everyone makes a mistake. If I offended you - I'm sorry. My English is not very good.
« Last Edit: November 22, 2017, 05:53:44 AM by Boggin »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7423
  • Location: UK
  • Karma: 108
    • View Profile
Re: Take Ownership not work!
« Reply #12 on: November 22, 2017, 05:59:33 AM »
I don't know what that rant is about but if it works on one admin account but not another, then there must be something wrong with that account and accounts can be become corrupt regardless of how new they are - although I don't have an explanation for that.

Delete that account and create a new admin one to see if it still fails - how is that stupid ?

BTW - I've edited your last post to remove the profanity.

Offline Angelika

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 191
  • Karma: 0
    • View Profile
Re: Take Ownership not work!
« Reply #13 on: November 22, 2017, 06:29:48 AM »
I changed profile and account and nothing helped!!!!!!!!!!!!!!!!!!!!!!!!! :angry:
I'm sure you do not know how to fix my problem. You will continue to invent senseless solving my problem.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7423
  • Location: UK
  • Karma: 108
    • View Profile
Re: Take Ownership not work!
« Reply #14 on: November 22, 2017, 06:46:02 AM »
You are correct in that I don't know why it should work in one admin account but not another, but until you told me that you had created another and it still failed in that, then that was the only advice I could give.

A simple solution would be to just use this in an account where it does work.

BTW - Why do you have more than one admin account - is the machine shared with someone else ?

 

anything