New Zealand's new Copyright Law presumes 'Guilt Upon Accusation' and will Cut Off Internet Connections without a trial. is against this unjust law - help us

A Space for All Things .NET Related

Profile Storage Space Issues

By James Hippolite, in , posted: 17-Oct-2008 08:09

Both Martin and I are experiencing blow-outs of our profile space (currently around 120MB), mainly due to Visual Studio 2008.  We can handle it with the handy little Registry snippet which grants us unlimited space.  However, logging in and out on the network is taking longer each time.

I wonder if now is a good time to think about and/or investigate the option of running Virtual Machines and moving Visual Studio onto there.  I personally don’t have the time to look into this.  What are other people’s opinions?

  • Norman replied:
    • My profile is sitting on 45Mb and I am running VS2008 (VS2005 and VS2003 as well).  I am wondering if it is SP1 for VS2008 that is storing a lot more in the d:\Documents and Settings...? 
    • I am a bit wary of the extra complexity of using VMs and think a better option maybe some further tweaks so that VS2008 stores its settings in a different location than d:\Documents and Settings\... .  I think most of it is set in the Registry as the options below only cover a small subset of where it stores its stuff
    • Totally agree we need to do something.  Recently I had to test Brochure Template on an EDS Machine in Auckland logging in using my T number.  As you can imagine very slow and could not log out (no rights to tweak the Registry).
  • Martin replied:
    • Where is the official source to state the current size of your profile?  I was looking at System properties.. Advanced.. User Profiles.. and my roaming profile was 585MB!  Is this the same profile EDS tracks?  I've culled mine back to 100MB now..
    • I've cut that back dramatically by deleting the ReflectedSchemas and ReflectedTypeLibs that VS likes to generate all the time.
    • But it is only a temporary fix, though I plan to write a script to run when I want to log off or shut down that will automatically delete them every time.
    • Those project and template locations tend to not have much in them unless you are creating your own user templates.
    • The best solution would be to exclude certain folders from our profile.  The only thing stopping that from happening is getting EDS to set it up for us?
  • James replied:
    • I am reluctant to adopt Martin’s idea, as I believe those Reflected Schemas are what IntelliSense generate each time you invoke them, so I don’t want to constantly have to be waiting for IntelliSense every day. 
    • Does anybody in the community have any (useful) suggestions?
  • Mike (manager) replied:
    • Move those files out of profile space onto hard drive;
    • Create shortcuts in the profile space to the actual files.
  • Conclusion:
    • I did move those files out;
    • But shortcuts didn't work;
    • But in the ReflectedSchemas folder is a file "entries.xml" (same for ReflectedTypes folder);
    • if you edit this to point to the new location of the real files, then Visual Studio will happily use them;
    • New .xsd files will still be created in your profile as you develop, but a periodic sweep (manually) should fix that.

Other related posts:
Geek Post Monthly Newsletter Volume 2 Issue 6
Exam 70-300 Objective 3

Comment by Norman Close, on 22-Oct-2008 14:43

Good suggestions thanks James

Comment by Rohan Cragg, on 21-Jan-2010 21:46

I tried this and it didn't work: I found no other way to request VS to use some other folder. However, your suggestion has worked a treat.

Add a comment

Please note: comments that are inappropriate or promotional in nature will be deleted. E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.

Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and shown in this blog post.

Your name:

Your e-mail:

Your webpage:

JamesHip's profile

James Hippolite
New Zealand

Welcome to my technical blog. 

Here, I attempt to distill the Microsoft Certified Professional Developer knowledge I have accumulated since first qualifying MCP in 1996.  This blog started on 13 September 2007 as an off-shoot from my mixed up personal blog.  But it took a shot in the arm from Scott Hanselman's talk at TechEd New Zealand 08 "32 Ways To Make Your Blog Suck Less".