public class ben:harrell

August 14, 2008

PSConfig.exe Beware!

Filed under: .NET, Team Foundation Server — Tags: — benjamin harrell @ 9:09 pm

I’m at the end of a 2 day TFS 2008 install marathon (yes, the one with the “fixed” installer) and I needed to move my WSS 3.0 config database (wss_config) to a new database which requires essentially creating a new wss_config database with the proper settings and I found an article about using PSConfig.exe to create/configure everything magically for you.  Now remember this is a Microsoft tool, recommended in MSDN and installed by WSS 3.0 so of course I trust that it does what it says.  Well, let me just say this

NEVER, EVER, EVER, EVER use this tool!

I ran it with the configdb command -create and oh yes I got my shiny new database but in the process it deleted my ENTIRE wwwroot folder.  I have no idea how or why but something is REALLY wrong deep down in this code.  If you wrote this code PLEASE feel free to contact me to discuss and I will gladly retract my statements but in the meantime save yourself the trouble.  I think STSAdm.exe might still do the job or perhaps you can do it from the Admin screens (not sure) but avoid this tool



  1. […] he shared some scripts with me that were informative but didn’t help much. I also learned that not doing the right thing with psconfig.exe can lead to your Default Web Site being deleted (the hard […]

    Pingback by A tale of WSS woe. « notgartner — September 11, 2008 @ 5:43 am

  2. Got the same issue ran psconfig on wss and it deleted the root folder for Central admin site.

    Comment by Preet — February 23, 2010 @ 10:53 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: