Tweaking.com Support Forums
Main Forum => General Computer Support => Topic started by: Angelika 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)?
-
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/
-
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!
-
At the beginning of the article it says that it applies to Win 7, 8 and 10 - Read the article properly !
-
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.
-
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/
-
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!
(https://i.postimg.cc/fy6tMFKK/Screen-Shot-03-24-21-at-11-17-AM.jpg)
-
I don't bother with registry changes when there is a hack that will do it for me.
-
But it doesn't work on the Polish System, I already talked about it. User and group names are English and Polish are different!
-
Have you tried Googling for a Polish version ?
-
I searched Polish forums and found nothing about it.
-
Then I can't help you.
-
Solved. I got help on another forum
(https://i.postimg.cc/3RQX24jF/Screen-Shot-03-24-21-at-03-16-PM.jpg)
-
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.
-
Because I'm using Windows 7, but the Context Menu has built-in functions for different versions of the system.
-
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.
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\""
-
There is already a hack for Win 10 - https://www.tenforums.com/tutorials/3841-add-take-ownership-context-menu-windows-10-a.html