Hi,
Please try the below commands in your command prompt.
stop the demon manager
net stop crmdmgtd
Then try the following commands
dbrestoreorig.pl dsn=vms dmprefix=vms
dbrestoreorig.pl dsn=cmf dmprefix=Cmf
Start the demon manager for further proceedings
net start crmdmgtd
Thanks,