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