Now I have to recreate some users and domains from de information in the database. I've tried this command but it fails:
websrvmng.exe --reconfigure-vhost --vhost-name=topos.webs.upv.es
Unable to lookup SID for name topos: (1332) No mapping between account names and security IDs was done.