ashish1989 Posted January 16, 2017 Share Posted January 16, 2017 Guys for C drive I m having popup to delete a folder with the error "you will need administrator permission to delete this folder windows 10" I am the only administrator then why I am asked this??? Link to comment Share on other sites More sharing options...
Kalju Posted January 16, 2017 Share Posted January 16, 2017 If you want help, you speak very-very clearly what folder this is and how it got there. Also - what it contains. If Your username is administrator or you are the only user in administrator privileges, then it don't mean that these privileges are available everywhere automatically. As You know, some programs needs to run as administrator. ("Run as Administrator"), but sometimes even this don't help. Link to comment Share on other sites More sharing options...
masterupc Posted January 16, 2017 Share Posted January 16, 2017 Right click Properties Security tab Advanced button Owner -> Change Enter the owner name: Everybody (Ok button) Ok till everything dissapears Right click Properties Security tab Advanced button Permission tab Add button Select a principal -> Everyone Check Full control Ok till everything dissapears Now you can do anything Link to comment Share on other sites More sharing options...
ashish1989 Posted January 16, 2017 Author Share Posted January 16, 2017 9 minutes ago, Kalju said: If you want help, you speak very-very clearly what folder this is and how it got there. Also - what it contains. If Your username is administrator or you are the only user in administrator privileges, then it don't mean that these privileges are available everywhere automatically. As You know, some programs needs to run as administrator. ("Run as Administrator"), but sometimes even this don't help. 9 minutes ago, masterupc said: Right click Properties Security tab Advanced button Owner -> Change Enter the owner name: Everybody (Ok button) Ok till everything dissapears Right click Properties Security tab Advanced button Permission tab Add button Select a principal -> Everyone Check Full control Ok till everything dissapears Now you can do anything I tried to move config files in open vpn folder of program files which is in c drive I just want to delete some files in it and I got this administrator popup I tried to change file permissions for c drive for full permission But everytime access is denied Also I have disabled my UAC Link to comment Share on other sites More sharing options...
jabrwky Posted January 16, 2017 Share Posted January 16, 2017 Lockhunter is a great tool, but careful. Create a restore point (or even system image of C:) first for safety. It can be run in Safe if needed. Or run "everything" Everything Search Engine_VoidTools from Run as System tool. Disclaimer: careful with VPN components not to bork the tcpip stack or wireless files. Please inform of results. Link to comment Share on other sites More sharing options...
eurobyn Posted January 16, 2017 Share Posted January 16, 2017 boot from a rescue disk and delete it from there. but make sure you do not delete anything that is important. it could be also that the file names are to long and then you can not remove it. changing the filenames could help if there are no running files in it ! or you can use http://www.carifred.com/uvk/ or download uvk http://www.carifred.com/uvk/UVKPortable.exe once started use delete files and folders on the right side. but before you use it ! make sure you do not delete things that may not be deleted. hope it helps you out. Link to comment Share on other sites More sharing options...
debebee Posted January 16, 2017 Share Posted January 16, 2017 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" http://joshcellsoftwares.com/products/winownership/ Link to comment Share on other sites More sharing options...
front360 Posted January 16, 2017 Share Posted January 16, 2017 Spoiler 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" Do I just merge this in the Registry or first make changes to "NoWorkingDirectory" or something else? Thanks in advance. Link to comment Share on other sites More sharing options...
ashish1989 Posted January 17, 2017 Author Share Posted January 17, 2017 9 hours ago, jabrwky said: Lockhunter is a great tool, but careful. Create a restore point (or even system image of C:) first for safety. It can be run in Safe if needed. Or run "everything" Everything Search Engine_VoidTools from Run as System tool. Disclaimer: careful with VPN components not to bork the tcpip stack or wireless files. Please inform of results. 9 hours ago, eurobyn said: boot from a rescue disk and delete it from there. but make sure you do not delete anything that is important. it could be also that the file names are to long and then you can not remove it. changing the filenames could help if there are no running files in it ! or you can use http://www.carifred.com/uvk/ or download uvk http://www.carifred.com/uvk/UVKPortable.exe once started use delete files and folders on the right side. but before you use it ! make sure you do not delete things that may not be deleted. hope it helps you out. Guys I don't think I need these softs I am asking 4 the permanent solution to the problem So that I can delete the file with ease. I do not face any problems in windows 7 but in windows 10 its strange when i am the administrator 7 hours ago, teodz1984 said: 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" http://joshcellsoftwares.com/products/winownership/ This is for each file or folder or a one time process? Link to comment Share on other sites More sharing options...
straycat19 Posted January 17, 2017 Share Posted January 17, 2017 52 minutes ago, ashish1989 said: I do not face any problems in windows 7 but in windows 10 its strange when i am the administrator But you could because there are files in Windows 7 that require System rights which are higher than Administrator rights. 53 minutes ago, ashish1989 said: This is for each file or folder or a one time process? This is a one time process that elevates the command prompt. From your responses you do not sound as if you have a great deal of computer knowledge. Therefore you are better off using the software because you can totally trash your system if you don't know exactly what you are doing when working with the registry and changing permissions on files that may not function correctly if you change the permissions. There is no 'permanent solution' to this problem as you may run into other files that require System rights not Administrator rights. This is by design because these are the files you normally shouldn't be messing with. Link to comment Share on other sites More sharing options...
masterupc Posted January 17, 2017 Share Posted January 17, 2017 The steps I wrote is for the folder you want to delete, not for taking ownership of C drive (it's not wise to mess with C drive ownership) You can delete it booting from a live CD/USB of linux or whatever you want. But first be sure you make a backup of your drive... just in case. Luck. Link to comment Share on other sites More sharing options...
Kalju Posted January 17, 2017 Share Posted January 17, 2017 People, rape is not a solution! First of all, however, is needed to find out cause of the problem, then remove the cause and then you can proceed further. Link to comment Share on other sites More sharing options...
ashish1989 Posted January 17, 2017 Author Share Posted January 17, 2017 run the above registry but no luck Link to comment Share on other sites More sharing options...
Pete 12 Posted January 17, 2017 Share Posted January 17, 2017 Try Unlocker ! Great program works perfect in Win7/10 , used it many times ............... Link to comment Share on other sites More sharing options...
ashish1989 Posted January 17, 2017 Author Share Posted January 17, 2017 1 hour ago, Pete 12 said: Try Unlocker ! Great program works perfect in Win7/10 , used it many times ............... I know about this soft But I m asking 4 a permanent solution So that I don't need to use any of these softs Link to comment Share on other sites More sharing options...
Pete 12 Posted January 17, 2017 Share Posted January 17, 2017 Not easy in Win10 , if you find one it will be killed in next update maybe ! Unlocker is in my right-click menu and very easy to use when you have to delete a "stubborn" file ............ Link to comment Share on other sites More sharing options...
debebee Posted January 17, 2017 Share Posted January 17, 2017 6 hours ago, ashish1989 said: run the above registry but no luck Right click directory in explorer , then Take Ownership Del folder to See if the error still exists... Just make sure you are not deleting system folders of your OS Link to comment Share on other sites More sharing options...
knowledge-Spammer Posted January 17, 2017 Share Posted January 17, 2017 ashish1989 whats the name of the folder u want to remove ? http://winaero.com/comment.php?comment.news.18 Link to comment Share on other sites More sharing options...
ashish1989 Posted January 17, 2017 Author Share Posted January 17, 2017 see this guys I copied this files in program files folder with easy access but when I m trying to delete it or any any other file or folder access popup is coming when I m the administrator why is this happening Link to comment Share on other sites More sharing options...
Kalju Posted January 17, 2017 Share Posted January 17, 2017 That does not happen, it is so. This is a way that you need to confirm if you want to change the system files or folders. Very simple reason - you should not make changes in the system folders. But if You so-so-so want, it is possible, but You need to confirm. Interestingly, throughout the last week was one similar tale. Link to comment Share on other sites More sharing options...
tao Posted January 17, 2017 Share Posted January 17, 2017 18 minutes ago, Kalju said: ... It is so. ... need to confirm ... to change the system files or folders. Very simple reason - you should not make changes in the system folders. But if you ... want ... you need to confirm.... Crystal clear! Much thanks! Regards! Link to comment Share on other sites More sharing options...
Kalju Posted January 17, 2017 Share Posted January 17, 2017 OK! It should work, at least for me working. So, if You really want to disable file copy, save, paste, delete etc confirmation in system folders, open Registry Editor and find the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Now find on the right panel EnableLUA and change the value from 1 to 0 Restart is required. After restart You do not need to confirm no more. Let us know, working or not. Link to comment Share on other sites More sharing options...
Administrator DKT27 Posted January 17, 2017 Administrator Share Posted January 17, 2017 8 hours ago, Pete 12 said: Try Unlocker ! Great program works perfect in Win7/10 , used it many times ............... 5 hours ago, teodz1984 said: Right click directory in explorer , then Take Ownership Del folder to See if the error still exists... Just make sure you are not deleting system folders of your OS 4 hours ago, Kalju said: That does not happen, it is so. This is a way that you need to confirm if you want to change the system files or folders. Very simple reason - you should not make changes in the system folders. But if You so-so-so want, it is possible, but You need to confirm. Interestingly, throughout the last week was one similar tale. All the things mentioned above will help you. Sometimes some folders are hard to delete and different methods are required to delete them. Still, visiting the previous thread for the same will help you with it. Link to comment Share on other sites More sharing options...
debebee Posted January 17, 2017 Share Posted January 17, 2017 6 hours ago, ashish1989 said: see this guys I copied this files in program files folder with easy access but when I m trying to delete it or any any other file or folder access popup is coming when I m the administrator why is this happening THAT IS THE RIGHT WINDOWS response... As others have said, you shouldn't delete stuff in the windows and program files directory... This is a precautionary measure against deleting important system files.. (kinda like an ANTI_DUMMY MEASURE) Al you have to do is confirm with continue and go your way Link to comment Share on other sites More sharing options...
csmdew Posted January 17, 2017 Share Posted January 17, 2017 Use "take ownership" file and no more problems; I had same problems until i found this old file for win 7 but it works just as well on win 10. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.