After reading the post Folder Redirection for Favorites on the Same Machine at the IE Team blog, I relocated my Favorites folder to a different drive. After the relocation, when I tried to add a URL to Favorites, I received the following error:

Unable to create ‘Title’:
Unspecified error

There were many posts in the Windows Vista newsgroups about this problem, and here is the thread containing the original solution from MS-MVP Jimmy Brush. The solution is to set the integrity level (to low) for the relocated Favorites folder. This article has a detailed write-up, and also provides a script which can automate the setting for you. Use one of the two methods below:

Method 1

Download fix_fav_il.vbs and save to Desktop. Double-click the file to run it. Click Continue when you see the User Account Control elevation prompt. The script will open an elevated Command Prompt window and fix the integrity level setting automatically. Once done, you should now see this message:

processed file: favorites
Successfully processed 1 files; Failed processing 0 files

Type EXIT to close the Command Prompt window.

Method 2

1. Click Start, type shell:favorites and press ENTER. The Favorites folder of your user account will open. Copy the full path shown in the Address Bar.

2. Open an elevated Command Prompt. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

3. Type the following command:

icacls <favoritespath> /setintegritylevel (OI)(CI)low

Note: Replace the tag <favoritespath> with the actual path to your Favorites folder, enclosed with double-quotes)

Example:

icacls "D:\My Favorites" /setintegritylevel (OI)(CI)low

You should now see this message:

processed file: favorites
Successfully processed 1 files; Failed processing 0 files

4. Optionally, to verify if the Integrity Level is correctly set for the Favorites folder, run the command below:

icacls favorites

You should see the following line in the output:

Mandatory Label\Low Mandatory Level:(OI)(CI)(NW)

5. Type EXIT to close the Command Prompt window.

You should be able to add an URL to Favorites now. Reportedly, this problem occurs as Internet Explorer in Windows Vista runs under Protected mode (low integrity level) by default, and therefore will only be able to modify objects marked with a low integrity level in their system ACLs. When you relocate the Favorites to a different drive, you need to set the integrity level for the relocated folder, so that Internet Explorer (Protected mode) can write to it. This problem does not seem to occur if the Favorites folder is located within your user profile home directory.

Defined Integrity Levels

Screenshot from System Integrity Webcast.

Here are some useful links for more reading on Mandatory integrity control in Windows Vista:

[Securityfocus.com] Introduction to Windows Integrity Control

[MSDN] Understanding and Working in Protected Mode Internet Explorer

[Webcast] Windows Vista System Integrity Technologies

[Steve Riley] Mandatory integrity control in Windows Vista

Bookmark this Page!

BlinkList | del.icio.us | Digg it | Furl | reddit | Spurl | StumbleUpon |

Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

34 Responses to “Unspecified Error When Adding a Link to Favorites in Windows Vista” Subscribe to comments!

  1. Jason S
    said this on Thursday, November 13th 2008 3:44 am

    You my friend are a star. I had tried the long way from other sites many times without joy and your script worked first time. Nice one :)

  2. Alex
    said this on Tuesday, November 11th 2008 10:50 pm

    WOW! That did the trick!!

    I wish those people at Microsoft learn that people want to ‘customize’ things… and modifying the location of their C:\Users\ for “Documets”, “Pictures”, “Music”, “Favorites”, etc. is a daunting task to get right.

    Microsoft: Please listen to your users, and allow easier customization in your future Windows versions so people can decide or move folders to other drives without such crazy issues. Let’s hope Windows 7 has this issue worked out, and that they get it right or I’m switching to Apple Mac OS.

    THANKS FOR THE GREAT SCRIPT.

  3. Njaan
    said this on Saturday, November 1st 2008 7:36 pm

    Thank you so much!!! It worked like a charm!!! I knew it had to be something easy like that. Thanks for making this public knowldege.

  4. Marcus
    said this on Wednesday, October 15th 2008 7:42 pm

    Thanks for the help. Always something new to learn. Thank God for the Internet!

  5. CFray
    said this on Tuesday, September 9th 2008 7:16 am

    THANK YOU! The inability to drag and drop page urls onto folders on the Links bar was driving me nuts. It’s maddening little bits like this that make me want to take a ball bat to my computer sometimes.

    Again…I am grateful.

  6. Tony
    said this on Sunday, September 7th 2008 8:55 am

    Thanks for this – it worked a treat!

  7. Peter
    said this on Tuesday, August 12th 2008 12:09 pm

    Thanks a whole bunch. Method 1 resolved the problem instantly.

  8. aash
    said this on Thursday, July 31st 2008 3:35 pm

    thanks, method 1 solved the problem , i can add url to favorites now.thanks alot

  9. David
    said this on Sunday, July 27th 2008 3:47 am

    I love people like you! THANKS for such an easy fix (method 1)!

  10. said this on Sunday, June 22nd 2008 11:19 am

    Thank you, this solved my problem and the hunch that it had to do something with permissions and protected mode somehow. Cheers!

Leave a Reply