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   #1
Cyberwolf

Windows 7 Ultimate x64
 
 
Permissions For File Deletion?

I have only user account in Win7 (which is an Admin account, named "Admin") now when I go to one of my backup drives (in this case "D:\") and attempt to delete certain directories it gives me

"Folder Access Denied - You Require permission from TrustedInstaller to make changes to this folder"

it should be noted that im trying to delete a previous Win7 installation on a drive which isn't my main drive. (nuking the directories one by one, as i have other backed up data on the drive i dont want to interfere with)

I attempted to alter the permission for TrustedInstaller, allowing full access, but i continue to get the error.

Suggestions please?


My System SpecsSystem Spec
.

02 Aug 2009   #2
Tews

64-bit Windows 8.1 Pro
 
 

Have you tried 'Taking Ownership' first?
My System SpecsSystem Spec
02 Aug 2009   #3
Cyberwolf

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Tews View Post
Have you tried 'Taking Ownership' first?
I did actually. Just a minute ago. I changed ownership to Admin-PC, which is my account that im logged into. The only one I have created for that matter. However the error remains the same, cept you can substitute Admin-PC/PC for TrustedInstaller in the main error message I quoted.
My System SpecsSystem Spec
.


02 Aug 2009   #4
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by Cyberwolf View Post
I did actually. Just a minute ago. I changed ownership to Admin-PC, which is my account that im logged into. The only one I have created for that matter. However the error remains the same, cept you can substitute Admin-PC/PC for TrustedInstaller in the main error message I quoted.
what folders are you trying to delete?

Ken
My System SpecsSystem Spec
02 Aug 2009   #5
Cyberwolf

Windows 7 Ultimate x64
 
 

"Windows" "Program Files" "Program Files (x86)" -- All on a drive that isnt my current active Windows installation. It was back when i first started testing one of the Win7 betas. My current Windows install is on C:\ and these files im trying to delete are on D:\ . Many other files exist that I dont want to delete so formatting the drive really isnt an option
My System SpecsSystem Spec
02 Aug 2009   #6
Mark

Windows 7 Ultimate Vista Ultimate x64
 
 

If you have taken ownership correctly then you should be able to do whatever you like with them as long as they aren't beg used or part of your current OS.

Did you actually try using the Take ownership context menu shortcut.

Take Ownership Shortcut
My System SpecsSystem Spec
02 Aug 2009   #7
Litude

Windows 7
 
 

I faced exactly the same problem when upgrading my Windows 7 build and did not find any very convenient solution. In case no one else knows about any good solution, a last resort you can use (which WILL work, but is quite the hassle) is to download Ubuntu from the official Ubuntu site and burn it to a CD, boot Ubuntu directly from the CD and then find the files using it and delete them (it seems Ubuntu ignores all permissions on NTFS filesystems).

Yeah it's not the ideal solution, but it does work.
My System SpecsSystem Spec
02 Aug 2009   #8
zay

Windows 7 Ultimate
 
 

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: http://www.cfishelltoys.com/download.asp you can use it with full functionality for 45 days. Hopefully it won't take you 45 days to delete your folder, lol.
My System SpecsSystem Spec
02 Aug 2009   #9
Cyberwolf

Windows 7 Ultimate x64
 
 

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!
My System SpecsSystem Spec
02 Aug 2009   #10
Tews

64-bit Windows 8.1 Pro
 
 

Quote   Quote: Originally Posted by Mr GRiM View Post
If you have taken ownership correctly then you should be able to do whatever you like with them as long as they aren't beg used or part of your current OS.

Did you actually try using the Take ownership context menu shortcut.

Take Ownership Shortcut
I followed your tutorial Mr. Grim and it worked like a charm ... Its never let me down...
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 08:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App