Error getting file security

When attempting to install iTunes 10.7 I get the following: Error getting file security: C:\ProgramData\34BE82C4-E596-4e99-A191-52C6199EBF69\ GetLastError: 5

iPad 2, Windows 7, 64 bit Win 7

Posted on Oct 9, 2012 9:04 AM

Reply
9 replies

Sep 25, 2013 2:17 AM in response to reuma1

I was having this error too. The good news is I was able to fix it fairly easily. Here's how I did it:


1: Find the directory in windows explorer (C:\Program Data)

2: Right click on the 34BE82C4-E596-4e99-A191-52C6199EB69 directory and select properties.

3: Select the 'Security' tab.

4: In the 'Group or user names' box, there should be the following entries;

SYSTEM

Administrators (xxxx\Administrators)

Users (xxxx\Users)

(where xxxx is the name of your computer)

If these user names do not exist, create them by clicking on 'Edit' and then 'Add' and typing in the user name.

5: Set the permissions for these user names (using the 'Edit' button) as follows;


SYSTEM - check all boxes except 'Special Permissions'

Administrators (xxxx\Administrators) - check all boxes except 'Special Permissions'

Users (xxxx\Users) - check Read & execute, List folder contents and Read.

6: Rember to click 'Apply' after setting up each user name, and when you are done, just OK your way back out of the properties dialog box.

7. Now try to update itunes.


This fix worked for me


I'm running windows 7, btw.


Hope this helps.

Feb 3, 2014 6:11 PM in response to GrandPrixRaceCar

To: Tony2001


These steps (changing the permissions) worked for me! Thank-you SO much for taking the time to explain this. Saved me from having to uninstall and reinstall iTunes and all of its associated software.


I did add some additional explanatory details for how to change the permissions in the numbered steps below.


BACKGROUND: For weeks now, I have been having a problem where iTunes would not load, apparently due to problem with iTunes Match. iTunes would hang at this message: “iTunes Match sending information to Apple”. If I happened to click on “iTunes STORE” (to go to the iTunes Store website), while it was hung at this step, iTunes instantly crashed with the unhelpful message, “iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.” If I did nothing, it eventually crashed after 5-10 minutes with the same message. I finally figured out that if I unplugged my LAN cable to disconnect from the internet, I was able to then TURN OFF iTunes Match from within iTunes on the “Store” menu on the horizontal menu bar at the top. At least it stopped the infinite hanging at the iTunes Match step. And at least now I was able to listen to music and sync my devices where previously I could not. But I still could not get into the iTunes Store website. Everytime I clicked on iTunes Store, iTunes crashed with the same error message above.


I was on the path to uninstall and reinstall everything (iTunes and every other supporting Apple software) per instructions on some other posts. But when I tried to uninstall iTunes, I received this message:

“Error getting file security C:\ProgramData\34BE82C4-E596-4e99-A191-52C6199EBF69\ GetLastError: 5”


So I was unable to uninstall iTunes.


Incidentally, I also received this same message if I attempted to install the latest iTunes update.

So that error message led me to your post about the permissions on this folder. I had no entries for either “Administrators” or “Users”.


I had some trouble at first figuring out exactly HOW to set the permissions. But eventually I figured it out.


I wanted to add these additional detailed steps in the even they might help others. These steps are for Windows 7:

  1. Locate this folder: C:\ProgramData\34BE82C4-E596-4e99-A191-52C6199EBF69
  2. Right click and select PROPERTIES
  3. Go to the Security Tab. Click the EDIT button
  4. On the “Select Users or Groups” window, click the “Advanced” button
  5. On the resulting window, Click the “Find Now” button.
  6. In the resulting list, highlight “Administrators”. Click OK
  7. On the “Permissions for 34BE….” Window, highlight “Administrators…” and make sure all of the “ALLOW” boxes are checked except for “Special Permissions”. Click OK
  8. NOW YOU WILL DO ALMOST THE SAME THING FOR USERS: Go to the Security Tab. Click the EDIT button
  9. On the “Select Users or Groups” window, click the “Advanced” button
  10. On the resulting window, Click the “Find Now” button.
  11. In the resulting list, highlight “Users”. Click OK
  12. On the “Permissions for 34BE….” Window, highlight “Users…” and make sure the following 3 boxes are checked: Read and Execute, List Folder Contents, Read


I still do not know what the root cause of all this was. If I could take a guess I would say it has something to do with my son setting us up on iTunes match when he was home from college on Winter break. ITunes periodically crashed after that. But we could still listen to music and buy stuff form the store. But then the problem worsened as described above.

May 25, 2014 7:54 AM in response to GrandPrixRaceCar

I bumped into this issue for the first time today, installing iTunes 11.2.0.115. Tony2001's solution is excellent, but there is a slightly shorter, and easier means to get past this problem.


  1. Browse to the How-To-Geek article "Add TakeOwnership" to Explorer Right-Click Menu", and download the registry patch about half way down the article. Please read the article carefully, and follow all instructions therein. Once installed, reboot your system.
  2. Having the patch installed, browse to each directory the Installer indicated a problem with, and right click on that directory and select "Take Ownership".
  3. Rerun the iTunes (or Quicktime) Installer, and you should be all set!

    Note: There may well be several directories affected by the problem, and you may have to run the iTunes installer a couple of times to identify them, but simply right click on each one as the Installer throws an error (I had to do it for two directories), and you will get the installer to run successfully!


The TakeOwnership utility is a great little tweak I found years ago, and it is now one of the first things I install on any computer I own, or work with.


Happy Listening!


CHSIndependent

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error getting file security

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.