VMware Communities
miechovy
Enthusiast
Enthusiast

VMrun - Is exist an order of loading the windows service?

We have the following problem. Our machines are managed by the vmrun API. After starting the systems, we want to copy files to the machine via vmrun, and its works. Then, through the cmd.exe is starting the browser.exe process and it should download the file via the HTTP protocol. But the problem is the following:

Downloading file by HTTP protocol doesn't works in the machine while the network service is not starting or something like that.

But it works when we add a delay (for example 60 seconds) while the downloading by HTTP protocol is not started. So, it seems that the network service has not been loaded on the system yet. It is possible?

Any idea how to solve this problem without inserting a time delay?

0 Kudos
5 Replies
pwilk
Hot Shot
Hot Shot

What's the Windows version which you're running? In some older versions of Windows it was expected for the network service to take few more seconds/minutes than the OS itself to start and load fully. This is an OS limitation which you can't really work around. Situation like that wouldn't happen on Linux/Unix, so if that's critical for you, I'd consider switching.

Cheers, Paul Wilk
0 Kudos
miechovy
Enthusiast
Enthusiast

Newest Windows 10 x64 Pro.

0 Kudos
pwilk
Hot Shot
Hot Shot

You can try to turn off network discovery within Windows 10 control panel to slightly improve network service startup time.

Cheers, Paul Wilk
0 Kudos
miechovy
Enthusiast
Enthusiast

Unfortunately, disabling Network Discovery does resolve the problem. Again, I think that the machine couldn't connected with HTTP source.

0 Kudos
miechovy
Enthusiast
Enthusiast

Or is any way to increase loading of network service?

0 Kudos