Avatar of john5490
john5490
 asked on

Windows service program running under vmware

I wrote a windows service program that reads a text file from a shared drive, parses the text file into fields that get inserted in a SQL server table. Its a standard service program utilizing a worker thread to do processing and normal exception handling is done.  It runs on a Windows 2003 server. The program works fine until the vmware server is rebooted.
The service program keeps the vmserver from booting properly. The shared drive is no longer accessible. The RDP services do not work. When RDPing into the machine you get a continous "Initialing User Profile". The only way to boot the machine is to physicall start the server in safe mode then disable the service.  The Application event log shows the service started before VMTOOLS and the Restart.Service  is active. This causes a fileio error on the drive that is not active which somehow stops the boot process. If the scheduler starts the service after the vmware session is active everything works however I cannot make the service automatic because of this issue.
Microsoft Legacy OSMicrosoft ApplicationsMicrosoft Server Apps

Avatar of undefined
Last Comment
john5490

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
mwheeler1982

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
john5490

ASKER
This may work. I have tried creating a DependOnService keys for this service using keys  like RPCss(Remote procedure calls)  but Im unsure as to the specific service that I need the dependency set to. Im trying to find out what specific service is responsible for mounting the file system on this VM machine and set a depencency on that service. Unlike normal machine the file system the service is accessing is not the boot drive and it become available sometime after the boot process is underway.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy