Move Visual Studio’s folder out of My Documents

I’ve just started in a new office and finding my way around some of their more interesting choices. One of which is to make My Documents a network share and limit the size of it. Everything in that folder gets backed up, so I only want important and useful files in it. The entries in the default Visual Studio folder don’t count.

Thankfully, there is a way to shift everything that Visual Studio creates into another location.

Use Regedit and look in HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0. Change all occurrences of the directory you don’t want (“z:\” in my case) to the one you do (“c:\local\”). You’ll also want to look in the \Profile\ key and the subkeys of \vsmacros\.

Leave a Reply