This seems to be related that drive D is a VHD drive and is not available until I click on desktop to go in that mode. Then, in there I have a cmd that is executed at startup to attach the VHD drive, where the databases reside. This means the SQL Server service is executed before I have the time to attach the drive. What can I do to resolve that issue?