Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Permissions For File Deletion?

02 Aug 2009   #11
harpua

Windows 7 Ultimate x64 (Retail)
 
 

There is also a program that lets you add an explorer right click context menu item to "Take ownership of drives and folders" (plus a separate one for files) among other things.




Attached Thumbnails
-2009-08-02_142936.png  
My System SpecsSystem Spec
.
03 Aug 2009   #12
zay

Windows 7 Ultimate
 
 

yeah I have the program as well, have not installed it as yet though. Seems like it would be a great addition to the context menu.
My System SpecsSystem Spec
03 Aug 2009   #13
harpua

Windows 7 Ultimate x64 (Retail)
 
 

Actually you can't install this app. It runs as a totally portable .exe. But (among other things) it provides a very easy way to add (or subsequently remove) several helpful context menu items such as the "Take Ownership" ones. But my favs are "Copy to folder" and "Move to Folder." Much easier than manually editing the registry to get these. I sometimes wonder why MS didn't include these in the context menu by default though.
My System SpecsSystem Spec
.

17 Aug 2010   #14
morris108

windows 7 ultimate
 
 
Had exactly the same problem

Old windows on D
New windows on C

and this take ownership reg is working a treat!!!!

And I am useless at windows - Thanks so much
My System SpecsSystem Spec
17 Aug 2010   #15
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Hello morris108, welcome to Seven Forums!





Just as a heads-up, use caution what you take ownership/delete; you may well disable Windows.
My System SpecsSystem Spec
17 Aug 2010   #16
morris108

windows 7 ultimate
 
 

BareFootKid

Thanks - I deleted all the files successfully from D, am a little afraid to restart now. I now have about 15 Gig on the 120 GiG disc, but it says I only have 9 Gig free. Deleting the files did give me some extra space, and I told windows to show hidden folders. So am a little confused, maybe I will have to reformat it, and now I don't have the space to put the 15 Gig somewhere else.
My windows is still running from C, so hopefully everything will be okay
My System SpecsSystem Spec
26 Nov 2010   #17
DJFarmo

Windows 7 64-bit Ultimate
 
 

Quote   Quote: Originally Posted by Cyberwolf View Post
It seems i found the major issue, after taking ownership, i had to then adjust the permissions for Admin-PC...specifically checking :

"Include inheritable permissions from this objects parent" AND
"Replace all child object permissions with inheritable permissions from this object"

Once i did that the folders went to the recycle bin!
That did the trick for me too. Thanks.
My System SpecsSystem Spec
28 Nov 2010   #18
uvbogden

Windows 7 Professional x64
 
 
Take Ownership in Context Menu Registry Editor

Quote   Quote: Originally Posted by zay View Post
Seems like he is trying to delete the windows old folder. That is a tough folder to delete, as advised, you need to take ownership of the folder from the root so that it can propagate to the sub folders. Download and merge this reg key: http://files.getdropbox.com/u/976813...20registry.reg
then right click on the main folder, the choose take ownership, and wait for the settings to finish, then try deleting the folder. I am working on a reg script that will allow you set a folder for delete on reboot. I will try to have it finished today.
Edit: the power of google is always respected, lol. There is a tool already created: CFi ShellToys > Download 45-Day Trial you can use it with full functionality for 45 days. Hopefully it won't take you 45 days to delete your folder, lol.
Some sections of the registry, those applying to specific applications that were installed, like MS Office and the Sound Card Driver have locked out all users, including Administrator (there are "permissions" for no one). When these apps needed to be uninstalled and reinstalled, or even repaired, Windows does not have access to these locked-up sections and can't perform any of those functions.

In order to access these sections, one cannot batch Change Properties as they refuse to allow any changes to these frozen sections, even to Properties, and each file must be attacked individually from the bottom of the tree to the top in a time-consuming process of clicking, closing error message, right-clicking and selecting "permissions", closing second error message, clicking on Advanced in the Permissions for Properties Box, closing the third error message, click on the Owner tab, then click Under Change Owner To, select your user name from the list, Apply and OK. Then in the Select User or Group box, select Advanced.

Then in the Select Object box, select click on Find Now to search for users, then select your user name from the list, highlight it, then OK. Then in Permission Entry box make sure your user name is in the Name box, make sure you're applying changes to "This key and all subkeys", then checkbox under Permissions, allow yourself Full Control, OK, then Apply, OK, then in the Security box, click OK to close the Properties Boxes. The you try to delete the file, and it says you can't because it has a previously hidden "child" file that also needs to be unfrozen. Each registry entry may have 50-100 children that only show up after you've taken ownership and granted yourself full control of the fifle. Each one of these newly revealed children also require the same painstaking effort, and many have children of their own as well.

I have deleted over a thousand of these files related to the programs I mentioned above, was then able to delete them and proceed to fully uninstall/reinstall the previously frozen application. I tried the ShellToys program which gives you unparralelled control of all except the registry. I also tried your reg edit to take ownership of the entire registry. While it did Take Ownership of much of the registry, it was not permitted to change ownership in these frozen sectors. In addition, many system files stopped working under new ownership and many applications started going on the blink as well. Do Windows functions and some applications require remaining under the ownership of Trusted Installer, or Administrator, or SYSTEM? Do you think this problem could be avoided if all files were Taken as Owners by the principle user?

For my purposes, and so as not to mess up other applications and Windows functions, I would like to apply Ownership to a section of the registry through right-clicking on a Context Menu item on a small section of the registry, leaving the rest in the hands of the previous owners. Would this be possible?

Another had suggested trying out Ubuntu by booting it from a CD without actually installing it. I did this, but when trying to access Registry Editor, all shortcuts and system files were greyed-out and unselectable, so I could not access and delete the registry entries I needed to.

Anyway, I need a way to isolate these sections of the registry that give permission to no one, open them up by Take Ownership/Full Control of only the bad sectors. Once you have Ownership and Full Control, you can pretty much do anything you want with registry files.

Does anyone out there have a better suggestion? Would there be a command line process for deleting registry entries?
My System SpecsSystem Spec
01 Dec 2011   #19
mediaman09

DELL Win 7 Home Premium 64 Bit
 
 

I too am having ZERO luck.

On my computer, I created a folder

I added some backup files to my folder

I now want to delete my files from my folder

I am admisinstrator

I have Taken Ownership

I have UAC turned completely off.

I reset the read-only attribute

I have rebooted and signed in with other Admin accounts.

WIn 7, bless its soul, will not let me delete my files from my folder on my computer.

It will absolutely not let me delete files. n way no how.

Yes the files are an old backup copy othe "_old" folder.

It tells me I need permission to perform the action and that I require permission for "Trusted Installer"

Windows 7, aka, Skynet, has taken over.

So seriously, I really need to reformat the drive to erase files ???? . It likely wont even let me do that either.

What an abolsolute POC operating system this is!!

I am shocked it lets you create files.
My System SpecsSystem Spec
01 Dec 2011   #20
Corazon

Windows 7 Professional SP1 32-bit
 
 

Hi mediaman09, if you're being told you need permission from TrustedInstaller then you have not taken ownership of the files/folders in question.
Did you try the Take Ownership shortcut? This method should never fail unless what you're trying to delete really is in use at the moment, i.e. locked by a process. If that's the case, Unlocker is a very helpful utility.
My System SpecsSystem Spec
Reply

 Permissions For File Deletion?




Thread Tools




Similar help and support threads
Thread Forum
accidental file deletion with a twist
short version: accidentally deleted files from an SSD by missplacing mouse cursor > pressed esc and ctrl-z immedialtely after delete was pressed. > ctrl z did not work. > deleted files did not show up in recycle bin > lost files can be seen and recovered with recovery software but...
General Discussion
Old File Deletion 2nd Hard Drive
I am trying to clean up my second internal hard drive in my desktop in which I just upgraded the OS to Windows 7. My second hard drive (D) was the one that I think I had XP on before I upgraded to Windows 7. I installed Windows 7 on the 1st hard drive (C). So at this point I just want (D) to be as...
General Discussion
Editing Special Permissions for file deletion.
Alright, I made a big mistake and downloaded a file that I didn't know where it came from in hopes it would speed up my Adobe Photoshop CS4 that I have installed. Now problems have arisen and the file is undeletable. It has made the cracked "faster" version of Photoshop is able to be used in the...
BSOD Help and Support
File Deletion and Rearange
I noticed something yesterday. In my music file there were files deleted completely and others were reorganized and mixed up. I didn't do it and no one else uses this computer. Immediately went on red alert and done scans with 3 different security programs and nothing but cookies. other files not...
General Discussion
File remains there for about 1min after deletion
Hi guys, i have problems with deleting file corret. I want to install steam. While updating there is an error: "deleted steam.exe but the file is still there". I tried to go to the folder where it is located and delete it on my own. Another error: "Access denied" (Logged on as admin)....
Software
File Deletion, Wierd
Hi, When i delete a file, whether its on the desktop or in my documents, pictures, music or anywhere else; they do not dissapear until i restart windows explorer or refresh the desktop. This is the same when i restore items from the recycle bin. They only troubleshooting method i have uses is a...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App