Author Topic: How to dele file No confirmation click (UAC)?  (Read 13084 times)

0 Members and 1 Guest are viewing this topic.

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
How to dele file No confirmation click (UAC)?
« on: March 22, 2021, 02:35:07 am »
To delete a file, you must provide administrator rights. And so it is with every image file in a folder. I want to delete some files, but I have to confirm the operation every time. Do you have ideas for adding UAC permissions (very high level)?
« Last Edit: March 22, 2021, 02:38:03 am by Angelika »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #1 on: March 22, 2021, 02:46:55 am »
This is how to turn off UAC but as the article states, it isn't advisable -

https://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #2 on: March 22, 2021, 07:17:21 am »
https://www.howtogeek.com/howto/windows-vista/ <===Normal USER, not UAC isue!!!!

Not Vista!!! Windows 7

This is wrong solution, it will damage the permissions of tens of thousands of things all over your computer!
« Last Edit: March 22, 2021, 07:19:54 am by Angelika »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #3 on: March 22, 2021, 08:53:50 am »
At the beginning of the article it says that it applies to Win 7, 8 and 10 - Read the article properly !

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #4 on: March 22, 2021, 07:50:24 pm »
But I do not want to disable UAC, just give permission to delete files, only some folders have this problem.
This is especially true if you reinstall System and lose permissions for old folders.

It is Administrator Account number 2

By default it only sets permissions for the built-in administrator, but if someone has two accounts (or more Administrator accounts) then there is a permission problem.
« Last Edit: March 22, 2021, 07:53:53 pm by Angelika »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #5 on: March 23, 2021, 04:15:33 am »
If you scroll down to the bottom of this article you can use the hack to add Take Ownership to your right click context menu which may help.

I have this on my Win 7 and Win 10 laptops.

I can't remember if you still get the UAC to confirm the deletion, but you can take ownership of any file by right clicking on it and selecting that option.

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

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #6 on: March 24, 2021, 03:19:45 am »
This is permissions without UAC enabled. ==> https://www.howtogeek.com/wp-content/uploads/2017/03/wto_top-650x299.png
Must be with this icon (works with UAC enabled)
The registry (regedit) entry must be completely different!

« Last Edit: March 24, 2021, 03:22:32 am by Angelika »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #7 on: March 24, 2021, 03:33:10 am »
I don't bother with registry changes when there is a hack that will do it for me.



Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #8 on: March 24, 2021, 03:43:59 am »
But it doesn't work on the Polish System, I already talked about it. User and group names are English and Polish are different!

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #9 on: March 24, 2021, 03:46:17 am »
Have you tried Googling for a Polish version ?

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #10 on: March 24, 2021, 03:50:35 am »
I searched Polish forums and found nothing about it.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #11 on: March 24, 2021, 03:51:27 am »
Then I can't help you.

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #12 on: March 24, 2021, 07:19:21 am »
Solved. I got help on another forum


Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #13 on: March 24, 2021, 10:41:04 am »
I don't understand Polish but glad you got it resolved, but I thought you used a Win 7 machine whereas that mentions Win 10.

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #14 on: March 24, 2021, 01:00:15 pm »
Because I'm using Windows 7, but the Context Menu has built-in functions for different versions of the system.

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: How to dele file No confirmation click (UAC)?
« Reply #15 on: March 24, 2021, 11:40:21 pm »
Registry files to add  the Take Ownership context menu to files and folders in Windows 10. May be useful in the future on a new OS.
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\TakeOwnership]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
"NeverDefault"=""

[HKEY_CLASSES_ROOT\*\shell\TakeOwnership\command]
@="powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/c takeown /f \\\"%1\\\" && icacls \\\"%1\\\" /grant *S-1-3-4:F /t /c /l & pause' -Verb runAs\""
"IsolatedCommand"= "powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/c takeown /f \\\"%1\\\" && icacls \\\"%1\\\" /grant *S-1-3-4:F /t /c /l & pause' -Verb runAs\""


[HKEY_CLASSES_ROOT\Directory\shell\TakeOwnership]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
"NeverDefault"=""

[HKEY_CLASSES_ROOT\Directory\shell\TakeOwnership\command]
@="powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/c takeown /f \\\"%1\\\" /r /d y && icacls \\\"%1\\\" /grant *S-1-3-4:F /t /c /l /q & pause' -Verb runAs\""
"IsolatedCommand"="powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/c takeown /f \\\"%1\\\" /r /d y && icacls \\\"%1\\\" /grant *S-1-3-4:F /t /c /l /q & pause' -Verb runAs\""

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile