Benches macOS

5

lsregister : error -10811. What's that??

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi...

I want to reduce my "open with" list.

I tried cocktail, Onyx,but doesnt work!

I finally try the lsregister command in verbose mode, and get one thousand of line like thios :

lsregister: error -10811 registering /System/Library/CoreServices/pbs

whats happend?

How can I reduce my open with menu?

5 replies

Sign in or join Beachball Help to reply.

  1. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Reset the LaunchServices database to remove duplicates from your Open with list. Copy & paste this command into a Terminal window (/Applications/Utilities/), and hit the return key:

    */System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user*

    When the cursor returns, quit Terminal. That should do the trick.

  2. 0

    cedric3d

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    thanks for reply.

    Its exactly what I did before!

    I put this on the term : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain use

    and I get :

    lsregister: error -10811 registering /Applications

    lsregister: error -10811 registering /Applications/.AdobePatchFiles

    lsregister: error -10811 registering /Applications/.DS_Store

    lsregister: error -10811 registering /Applications/.localized

    lsregister: error -10811 registering /Applications/_utilsPerso

    lsregister: error -10811 registering /Applications/
    utilsPerso/.DSStore

    lsregister: registered /Applications/_utilsPerso/aMSN.app

    lsregister: registered /Applications/_utilsPerso/D-Vision 3.app

    lsregister: registered /Applications/_utilsPerso/FileZilla.app

    lsregister: registered /Applications/_utilsPerso/Firefox.app

    lsregister: registered /Applications/_utilsPerso/FontExplorer X Pro.app

    lsregister: registered /Applications/_utilsPerso/Google Chrome.app

    lsregister: registered /Applications/_utilsPerso/Google Earth.app

    lsregister: error -10811 registering /Applications/_utilsPerso/Hemera Photo Clip Art (OS X)`

    etc... (this for 1000 lines....)

    For one reson, i get some errors , why?

  3. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Sorry, but you didn't mention the command you used. When I just ran it, no error messages, and it cleaned up my Open with list. You have something else going on. Create a new admin user account, log into it, and try the command there. If you don't get any errors, then your original account's mucked up, most likely a plist file, probably the one associated with Terminal. If you get the same messages, then the problem's system-wide, and I suggest reinstalling SL, followed by the 10.6.2 COMBO update, followed by anything that shows up in Software Update. Repair permissions and restart. If you still get those messages when rebuilding the database, then get rid of /Applications/.AdobePatchFiles and /Applications/_utilsPerso/, whatever that last one is.

  4. 0

    cedric3d

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi...

    well, yes, I write the command I used :

    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain use

    in verbose mode, so I type exactly :

    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain use -v

    and get all this errors.

    I didn't try yet to create another account, but whats means the error 10811?? I cant get it.

    To be honest, I bought to Mac to do NOT reinstall every month my OS. Its exactly why I switch from WIN. So im a little disappointed to see that may be I have to do it!!

    I get Cocktail, repair permission on my disk and try another time, but get the same message.... :/

    is there no other solution? is there no way to know whats the 10811 error?

    Where is the file where macOS store the association???

    Thanks....

  5. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    whats the 10811 error?

    A google search yields this
    http://www.macosxhints.com/article.php?story=20031215144430486 which might shed some light on the issue.

    After digging around in the framework folder, I found this in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Headers/LSInfo.h

    kLSNotAnApplicationErr = -10811, /* Item needs to be an application, but is not*/

    However, you'll have to figure out what that means. I suggest that you don't use the verbose option.