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: Library "File does not have a program associated"

18 Jan 2011   #1

Windows 7 Home Premium 32bit
Library "File does not have a program associated"

whenever I try to open one of my libraries (documents, pictures, videos, or pictures), I receive this message:"This file does not have a program associated with it for performing this action. Please install a program, or, if one is already installed, create an association in the Default Programs control panel." All the default programs seem to be correct; for example, for all .doc files, the default program is Microsoft Word.

If I click on the menu on the left side of the Libraries panel, then the library will open up. I searched through the help forums, and I have attempted every fix I could find.

Sorry that this post is so long, but I figured it made sense to let you know all that I have tried. If there is something else that I haven't tried, could you please let me know? Thanks!

Here's what I've already done to try to fix the problem:

Registry Booster
And Merging library-ms - Library folder.
lnk - Shortcut link (LNK) files.
this way: To Fix Using a REG File Download
1. Click on the Download button below to download the file below.
2. Click on Save, and save the .reg file to the desktop.

Right click the downloaded .reg file on the Desktop and click on Merge.

Click on Run, Yes, Yes, and OK when prompted.

When done, you can delete the downloaded .reg file if you would like to.
[IMG]file:///C:/Users/Dennise/AppData/Local/Temp/msohtmlclip1/01/clip_image004.gif[/IMG] Tip
If your still get an error afterwards, then download and merge the lnk (LNK) option in the tutorial below to restore all of the default association for shortcuts (lnk), and try again.

I tried this:
1. Open the Start Menu, and type regedit in the search box and press enter.

2. If prompted by UAC, then click on Yes (if administrator) or enter the administrator's password (if standard user).

3. In regedit, navigate to the location below.

4. In the right pane of inkfile, right click on a empty space and click on New and String Value. (see screenshot below)
and this:
Download ShellExView (from and run it. It will scan the registry for all the shell extensions. Once the scan is over and the list is displayed, you need to spot the context menu handlers. Sort the results using "Type", so that the context menu handlers are displayed together.

The rule is to disable non-Microsoft context menu handlers *one-by-one* and verify if the problem is solved. If disabling one does not solve the problem, undo the disabled item and disable the next non-Microsoft handler. Do the same until the problem is solved and finally identify the culprit. Scroll right to see the Company Name column in ShellExView.

and this:
Restore Default Windows 7 File Extension Type Associations:
Default File Type Associations - Restore
Change which programs Windows uses by default:
Change which programs Windows uses by default

My System SpecsSystem Spec
18 Jan 2011   #2
Johnathan Lyman

Windows 7 Ultimate 64-bit

.library-ms is not considered a normal file extension thus won't be seen in your association list or by any application (properly).

Have you tried right-clicking "Libraries" in the left-hand window page and choosing "restore default libraries"?

Run "sfc /scannow" in an admin-level command prompt, just for kicks and to be safe.

Also, give the attached reg fix a try.

Attached Files
File Type: reg LibraryFix_Win7.reg (5.6 KB, 345 views)
My System SpecsSystem Spec
19 Jan 2011   #3

Windows 7 Home Premium 32bit


Thanks for your response. Yes, I did attempt "restore default libraries," but that didn't work. I did as you suggested, and ran "SFC /Scannow" in an administration-level command prompt, and got the response "no integrity violations." I tried to run the "LibraryFix_Win7.reg," but every time I do I receive this message: "Cannot Import C:\Users\[my name]\Downloads\LibraryFix_Win7.reg: Not all date was successfully written to the registry. Some keys are open by the system or other processes."

I restarted my computer (as it rebooted, I get a message saying that one of the disks needed to be checked for consistency--after the CHKDSK, however, no errors were found), and tried the LibraryFix again, but got the same error message. Is there a specific process I should end in order to be able to run the LibraryFix? I don't want to end the wrong process by accident.

Thanks again for your help.
My System SpecsSystem Spec

19 Jan 2011   #4
Johnathan Lyman

Windows 7 Ultimate 64-bit

Given that some of the keys are technically in use by windows, the only other method i can think of is to run it in safe mode.
My System SpecsSystem Spec
19 Jan 2011   #5

64-bit Windows 10 Pro

Hello Postzoo, and welcome to Seven Forums.

You might see if you may be able to do a system restore using a restore point dated before you had this issue to hopefully fix it for you.

Hope this helps,
My System SpecsSystem Spec
19 Jan 2011   #6

Windows 7 Home Premium 32bit

Jonathan--I will try to run the file in safe mode and see what happens.--Thanks.

Shawn--I did a system restore a week ago; it's only after the system restore that I started having this problem (I've never had it before, ever, so not sure that the system restore had anything to do with it...just coincidence?) Should I try system restore anyway, even though the issue wasn't present a week ago?

Thanks for your suggestions.
My System SpecsSystem Spec
19 Jan 2011   #7

64-bit Windows 10 Pro

Just to be thorough, did you move your user folders or public folders to a new location?

As a test, see if downloading and merging the Folder option in the tutorial below as well may be able to help any.

Default File Type Associations - Restore

If not, then yeah go ahead and try another system restore with a restore point dated when you think that it did work properly.
My System SpecsSystem Spec
20 Jan 2011   #8

Windows 7 Home Premium 32bit

I tried a system restore, but it didn't work; I tried again, this time from about a month ago, and this time it worked. I still don't know what the problem was, but at least my libraries work correctly again.

Thanks for your help.
My System SpecsSystem Spec
20 Jan 2011   #9

64-bit Windows 10 Pro

That's great news Postzoo.

If that didn't work, we were looking at a possible reinstall.
My System SpecsSystem Spec
20 Jan 2011   #10

Windows 7 Home Premium 32bit

Aye Carumba!
Reinstall? Now I'm really glad this worked! I'm a student and this has already eaten up so much of my time.

Thanks for all the help.
My System SpecsSystem Spec

 Library "File does not have a program associated"

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
How do I associate an "unknown file type" to a program?
Long story short, I used Handbrake to add soft subtitles to some video clips and the finished result are "unknown file types" which I have to open with vlc every time, the "Always use the selected program to open this kind of file box is greyed out. The first file is a .m4v file and Handbrake...
Performance & Maintenance
Unable to create the file "New
Try to create new library. Get "Unable to create the file "New" Access is denied. Found: "Unable to create the file 'New Library.library-ms' File System error (16389) The error 16389 (0x4005) is a trucation of a E_FAIL error (0x80004005)." New library commands raise...
General Discussion
Folder for "Videos" library won't work on same drive as "Recorded TV"
Interesting discovery. W7 Pro x64. I was copying content from my desktop PC to my laptop in anticipation of an upcoming weekend trip. The content consists of both (a) entire recent copy-freely WTV recordings, and (b) MPEG videos (actually previously edited from copy-freely WTV recordings using...
Media Center
Random program "save file" popping up?
In the last 2 hours, I've gotten 2 messages like this: One was for Google Chrome, one was for MSI Afterburner. These are both programs I have installed on both of my hard drives, so one hard drive is not the problem. The directories they...
How To Solve the "the program cannot access the file..." message
Recently, for the umpteenth time, I tried the Windows DVD Maker and it actually worked! However, on the next attempt I get: "The program cannot access the file because it is being used by another program" I am burning a dvd-rw with several files, but I am not told which one is being...
Hardware & Devices
WMP briefly opens in "Library" then switches to "Now Playing"
Well, can't get more specific than the title. This little anomaly happened sometime this afternoon probably when I downloaded Spotify. Anyway, when I open Windows Media Player I usually expect to be taken straight to the Library by default. Not anymore. Now I get a brief, momentary flash of the...
Music, Pictures & Video

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 15:01.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App