Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

Move and hide the Microsoft Office User Data folder Apps
I have to use Microsoft Office sometimes when I need to make sure a document I've created with OpenOffice or NeoOffice looks okay to send to someone living in the PC world. One thing that annoys about MS Office even when I'm not running it is that it writes the user preferences to a directory in my Documents folder (~/Documents -> Microsoft User Data). Now, as far as I know the Documents folder belongs to the User for, well ... um, documents. Stuff like preferences and user data needs to go into the Library for a lot of good reasons. My particular annoyance is that when I do an incremental back-up using tar, I exclude the Library folder, but I still end up with a dozen back-up discs containing "Microsoft User Data." Now, as is typical, I can't change this feature any way I can think of from the Microsoft preferences pane (if you can, let me know! Changing file locations does little for me).

So, my hint has two parts, the first is to make a directory called 'ms crap' or something in your Library. Now, make an alias of this folder and move the alias to your Documents directory. Rename the alias you just moved to "Microsoft User Data" (just move the contents of the old Microsoft User Data folder over to the folder we just created in the Library). This fixes the user data showing up on my incremental back-ups. However, we'd like to get a little more sophisticated because its ugly seeing this folder that doesn't belong there in the Documents directory. So, for the next part, you need the Developer Tools. Type the following:

/Developer/Tools/./SetFile -a V Microsoft User Data
This sets the Invisibility bit to on the alias to 1, so it won't show up in the Finder. That way, I don't have to even look it. As you might guess, I've had a hard time with Office products. To bring it back, run the above, but with a lower-case v instead of an upper-case one. See the man SetFile page for details.
    •    
  • Currently 4.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[31,812 views]  

Move and hide the Microsoft Office User Data folder | 22 comments | Create New Account
Click here to return to the 'Move and hide the Microsoft Office User Data folder' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Move and hide the Microsoft Office User Data folder
Authored by: A. Square on Fri, Feb 20 2004 at 11:10AM PST
I had to restart the finder for this change to take effect.

Also, if you don't have the backup issue that the author has, you can just make the existing folder invisible without creating the alias.

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: PancakeMan on Fri, Feb 20 2004 at 12:03PM PST
I tried simply to hide the folder using the command, and got an error message because of the spaces in the folder name. So I retyped the command, pressing Tab after Microsoft, and Terminal entered the required backslash prefix to the spaces automatically. After a relaunch of the finder (via Cmd-Opt-esc), the folder is invisible. Thanks!

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: fpatrick on Fri, Feb 20 2004 at 11:27AM PST
Be careful. If you use Entourage, your life is also kept in that User Data folder. You might want that backed up.

[ Reply to This | # ]
Hurray!
Authored by: natecook on Fri, Feb 20 2004 at 11:42AM PST
That's so fabulous! I just did it with my "iChats" folder, too (gotta save 'em for work reasons). Finally! I've been wondering about that forever....

[ Reply to This | # ]
Re: Hurray!
Authored by: jolinwarren on Fri, Feb 20 2004 at 12:36PM PST
Be careful if you've moved the iChats folder and made an alias to it! Because Apple *still* has not implemented proper support for Mac OS aliases in Cocoa, iChat cannot follow an alias. If you've replaced the transcripts folder with an alias, iChat won't complain, but it also won't save any transcripts. I spent some time on this because I want to be able to put the iChat transcript folder where I want, not where Apple wants. My final solution:

-Leave the iChat transcript folder ("iChats") in your Documents folder.

-Make an alias from the transcripts folder to wherever you want the iChat transcripts folder to 'really' be (i.e. where you will access it from). Name it whatever you want.

-Now make the original transcript folder (in the Documents folder) invisible. The alias you created will still be visible and it will still open the transcripts folder.

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: cpac on Fri, Feb 20 2004 at 4:10PM PST
Ummm....

I hate to burst anyone's bubble, but this is *all unnecessary.*

Just drag your Microsoft User Data folder to your Library (~/Library/) and Office will find it there just fine, and never create a new one in your Documents folder.

---
---------

cpac

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: Piquet on Fri, Feb 20 2004 at 5:11PM PST
didn't work for me. MS just went and created a new User Data folder to replace the one I just moved.

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: alderete on Fri, Feb 20 2004 at 5:21PM PST
Sorry to burst your bubble, but I just tried it, and Word did re-create the Microsoft User Data in my Documents folder. Perhaps there is more to the trick than your post suggested?

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: thomas.balthazar on Fri, Feb 20 2004 at 7:56PM PST
Hi,

It has worked for me.
I moved the Microsoft User Data folder to /User/xxx/Library/Application Data while Word was opened.

After having closed Word then re-opened it, the Microsoft User Data folder was NOT re-created in my Document folder.

So, the SetFile command is not the only solution to get rid of this folder.

Bye,

---
--
Thomas Balthazar

[ Reply to This | # ]
Re: Move and hide the Microsoft Office User Data folder
Authored by: mclbruce on Sat, Feb 21 2004 at 3:33AM PST
My folder gets recreated in Documents when I try this. Running 10.3.2 with latest MS Office updates on a relatively clean system, no haxies. I tried moving to my Library folder, Application Support, and I created an Application Data folder. Didn't work, and that doesn't surprise me.

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: poultryfarm on Sat, Feb 21 2004 at 4:09AM PST
doesn't work for me either.
running 10.3.2

[ Reply to This | # ]
Unexpected Error Loading Microsoft Framework X Library
Authored by: dohrn on Mon, Mar 8 2004 at 6:42PM PST
I recently installed Microsoft Office on 25 MACs and had an "unexpected error loading Microsoft Framework X library" on 5 of them. Do you have a fix for this?

[ Reply to This | # ]
Unexpected Error Loading Microsoft Framework X Library
Authored by: macmarquez on Tue, Feb 13 2007 at 8:34PM PST
I´m having the same problem, any idea ?

Regards

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: njtrivedi on Sat, Mar 11 2006 at 9:13PM PST
thanks so much man. i applied for an account on this message board just to thank you. i appreciate an explanation like urs which is easily understandable by a new Mac convert. it means a lot



[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: trinitrotoluene on Fri, Feb 20 2004 at 7:49PM PST
Yeah its pretty annoying that Apps create folders in Documents. Appleworks, MS, Inspiration and Adobe Acrobat all do this too. My backup script I have contains a list of folders to ignore. So its pretty easy to add in new folders and such.

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: rputter on Sat, Feb 21 2004 at 6:23AM PST
I have to say that this 'feature' is the one reason I have stayed with Entourage instead of mail. I move between computers and can simply copy this one folder to take all my mail with me. With Mail.app, I would have to copy my preferences separately (or so I believe).

I could get around this using aliases on all the machines I use but its not as neat as the office solution.


[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: brachiator on Sat, Feb 21 2004 at 8:52PM PST
When you said "take all of my mail with me" did you mean that literally, or did you also mean take all of the minor window prefs for Mail? You could just copy ~/Library/Mail from one to the next. This folder contains all of your mailboxes and everything, including the accounts.

There is one preference file, that is ~/Library/Preferences/com.apple.mail.plist. So may be that my post is not such a riposte, but the prefs file is pretty limited. Anyway, there is not much more than with the MS Data folder. When I back up or transfer the Mail data I do not bother with the prefs file.

[ Reply to This | # ]
Moving to ~/Library/Preferences/ works
Authored by: qwerty denzel on Thu, Dec 1 2005 at 8:51PM PST
Move and hide the Microsoft Office User Data folder
Authored by: regulus on Mon, Mar 13 2006 at 2:00PM PST
Great hint. I moved a bunch of folders into the Application Support folder in my Library.

One question though, why do you have the /. in the path to the SetFile program? I've never seen that. Isn't /Developer/Tools/SetFile the proper way to do it? What's the /. for?

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: Zo-1 on Wed, Mar 15 2006 at 2:26AM PST
Well dammit, this is a whole new thing. After how many years. . . Just opened Entourage '04 and it acted like that MSUserData Dolder was always in /User/Library/Preferences.

Sure is nice to have the Documents Folder back for my own use. I had such an arcane thing going, just to have my own files. Thank you! [10.4.5, AlBook]

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: narrowneck on Sat, May 16 2009 at 6:17PM PDT
Yep it works but the place has to be /Library/Preferences not just /Library

[ Reply to This | # ]
Move and hide the Microsoft Office User Data folder
Authored by: frangofrango on Tue, Nov 10 2009 at 7:11AM PST
where do you type that developer code into?

Thanks

[ Reply to This | # ]