It’s common to use the “Links” toolbar in IE to keep your favorites handy. What’s great is that you can drag-and-drop into the folders directly from the link without having to use somewhat-clunky Add Favorites dialog. Drag, drop, and you’ve got your bookmark.
Having just purchased a new PC, I copied my Favorites from my old machine to the new and encountered a well known issue with Windows Vista User Account Control. Skip to the end if you just want to fix your problem. If you’re curious about the details, here’s the rough outline:
Background
Short story: Windows Vista has a system that controls if or if not files can be created.
User Account Control (UAC) is responsible for directing who can update what, when, and how for just about every import action in Vista. It is the thing that makes Vista and successors the most secure OS family Microsoft has ever shipped. While it’s gotten a lot of criticism in the past, particularly when people were still getting used to the idea, it actually makes creating secure software possible without getting in the way of the average person. But it is a beast of an engineering system, in the best sense of the word, but the details aren’t really important here.
The Problem
Short story: Vista is doing “the right thing” by keeping Internet Explorer from creating a file.
In this case, what has happened is that settings kept by UAC with the Favorites have been lost, which keeps Internet Explorer from creating new Favorites. In particular what has been lost is the annotation that allows a “Low Integrity” application to modify/create those files. Low Integrity in this case basically means “untrusted”. IE has declared itself, essentially, as an untrusted application (since it deals with the nasty, wild-n-wily interwebs) and so Vista is doing what Internet Explorer has told it to do.
This particular problem occurs when you’ve restored your Favorites files from a backup, by copying them from another machine, etc. You can peek at the Event Viewer (above) to see various UAC events that have occurred. This is how I first discovered the root cause of the problem.
Luckily, there’s a command-line tool to check (and fix) the problem: icacls.exe You can see in the above screen shot the difference between a folder that has the correct setting and one that does not. The “Mandatory Label\Low Mandatory Level” that’s missing from my “Social” directory is what’s keeping me from being able to create new links there.
How-To: The Fix
Short Story: a tool needs to be run on those files to change the access control of the files to allow Internet Explorer to change them.
- Open up a command window by going to Start menu -> All Programs -> Accessories -> Command Prompt. This will open a command prompt window in your user directory.
- Type in the following command: icacls.exe Favorites /t /setintegritylevel (OI)(CI)L
The command will run through all of your Favorites and set the access control for UAC correctly.
More information can be found here:
LIAR!! You didn’t get a new computer!! You’re just obeying the new order that all M$ employee blogs be Microsoft product help pages!! Speaking of which, maybe you can help me w/ my problem…
j/k :)
But seriously, Command Prompt? How is any non-geek supposed cope w/ that?
I can, in fact, help you with your problem… ditch OS X and then we’ll talk.
You are absolutely correct; the fact that there’s not an inbox GUI utility to view this information or set it is just dumb from an IT professional standpoint.
However this is not a normal user scenario. This is one of those things that only a geek is going to get himself into. The normal user is going to have their backup program do this for them. It just so happens that my backup program is very geek oriented.
The standard user is likely going to either import their old bookmarks from within IE or have “Windows Easy Transfer” do it for them. In both of those cases, which is what about 90% of what the world would do, you won’t see this problem at all.
Do you actually believe that OSX is a problem for the Sain-inantor? I know you wish you could type “ls” again …
I don’t need “ls”, I’ve got Windows PowerShell which is like having Perl+.NET available directly from the cmdline. It’s awesome.
And, no, I don’t actually think OSX is Sain’s problem… I actually had put in XML tags around that comment to indicate that I was being snarky but they got dropped.
I like OSX well enough and have nothing against it; it’s a pretty version of Unix with a good enough GUI. I’ve been learning the UI a lot more b/c my girlfriend has one and I’ve been helping her out with tech support, but so far it hasn’t impressed me as any easier to use or more flexible than Windows.
Ouch, pulled into doing tech support on unfamiliar systems. Oh well, at least it’s for a GF. :)
Personally I find it difficult to live w/o Expose. I keep typing “ls” and “dirs” on the Command Prompt at work. LOL The fact that I’m in Linux most of the time, and rdesktop-ing to the Windows box doesn’t help. But as long as I get my vim, I’ll live. ^_^
Yah, I never mind helping out a friend.
RE: Expose – I find it interesting how people get used to different paradigms. For example, I think Expose is cool, but it drives me nuts not to have individual buttons for each windows that I can click on to switch to that window. Alt-Tab and Ctrl-Tab can save you there, but not having a view of all my open programs/windows annoys me on the Mac.
This worked for me! I tried everything else too.
Thanks for the post!