Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 2.90 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (10 votes cast)
 
[64,649 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 whoever 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 Feb 20, '04 11:10:33AM

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 Feb 20, '04 12:03:36PM

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 Feb 20, '04 11:27:52AM

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 Feb 20, '04 11:42:20AM

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 Feb 20, '04 12:36:17PM

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 Feb 20, '04 04:10:53PM

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 Feb 20, '04 05:11:50PM

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 Feb 20, '04 05:21:38PM
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 Feb 20, '04 07:56:07PM

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 Feb 21, '04 03:33:31AM

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 Feb 21, '04 04:09:48AM

doesn't work for me either.
running 10.3.2



[ Reply to This | # ]
Unexpected Error Loading Microsoft Framework X Library
Authored by: dohrn on Mar 08, '04 06:42:52PM

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 Feb 13, '07 08:34:00PM

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 Mar 11, '06 09:13:59PM

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 Feb 20, '04 07:49:00PM

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 Feb 21, '04 06:23:46AM

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 Feb 21, '04 08:52:19PM
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 Dec 01, '05 08:51:15PM
Move and hide the Microsoft Office User Data folder
Authored by: regulus on Mar 13, '06 02:00:34PM

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 Mar 15, '06 02:26:28AM

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 May 16, '09 06:17:06PM

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 Nov 10, '09 07:11:16AM

where do you type that developer code into?

Thanks



[ Reply to This | # ]