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: Duplicate Program Files

30 Nov 2009   #1

Windows 7 Ultimate x64
 
 
Duplicate Program Files

I performed a clean install of windows 7 ultimate x64 on a new hard drive and used windows easy transfer to carry along data such as photos and important documents from my previous 32-bit windows XP machine.

I used the Easy Transfer defaults for the file transfer, and transferred via a recently-reformatted external hard drive.

Here's the problem: I somehow ended up with an extra "Program Files" folder on my computer. The extra has some programs from the old machine in it and despite the merits (didn't have to reinstall world of warcraft as it runs fine from the old one), it's really beginning to irritate me! It contains non-working versions of office and a couple other games so I'd really like to clear it out.

Despite taking ownership, granting full control with the permissions, etc., I still get the message that I need permission to delete it. Only difference is now I need permission from myself instead of TrustedInstaller, despite the security tab saying that I have full control. I made sure the permissions were inherited to all the contents and even tried deleting individual components with no luck.

Please help me get rid of the extra Program Files!

Thanks


My System SpecsSystem Spec
.

30 Nov 2009   #2

Windows 7 Ultimate x64
 
 

Windows x64 has 2 Program files folders - Unless the folder is causing issues, i say leave it.
My System SpecsSystem Spec
30 Nov 2009   #3

Windows 8.1 Pro (x64)
 
 

64bit versions of Windows have two "Program File" locations, one should be "Program Files (x86)" this is where 32bit applications are stored. The other is 64bit versions.
My System SpecsSystem Spec
.


30 Nov 2009   #4

 

Quote   Quote: Originally Posted by mutton View Post
Despite taking ownership, granting full control with the permissions, etc., I still get the message that I need permission to delete it. Only difference is now I need permission from myself instead of TrustedInstaller, despite the security tab saying that I have full control. I made sure the permissions were inherited to all the contents and even tried deleting individual components with no luck.

Please help me get rid of the extra Program Files!

Thanks

Hi Mutton,

You need to give full control to System, Administrators group, yourself and the Users group (if you dont want a UAC dialog to confirm the delete) before you actually have "full control" since its the System user that actually deletes files while your user is a member of Administrators and Users group, by default Windows is hard-coded (meaning not changeable) to use the lowest privileges for your user and prevents the majority of system calls from Windows components from impersonating as your user (or group) to preform tasks like file deletions/copying etc... for obvious security reasons.

So when you dont grant System + administrators group + your user with full permissions then you will be prevented from doing a system operation like deletions because first the System then administrators then yourself (it checks your permission inheritance in that order) dont have access to delete files according to the folder ACL table because they where not listed with explicit permission and denied access.

Hope this helps and explains why your having permission issues trying to delete that folder

Steven
My System SpecsSystem Spec
01 Dec 2009   #5

Windows 7 Ultimate x64
 
 

Thanks Steven, I just hadn't granted enough permission I guess. And thanks to the others that replied too, I guess I should have been more specific, I had and extra folder in addition to the normal program files and (x86) folders. Perhaps I should have said I had 3 total with "Program Files" as part of the name! But no longer, problem solved.
My System SpecsSystem Spec
Reply

 Duplicate Program Files




Thread Tools




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 06:29 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33