VMware Communities
Galgamesh
Contributor
Contributor

Network Config backup fails during bootup.

I'm running Workstation 12 Pro (Version 12.5.7 build-5813279) on a Windows 8.1 x64 host.

I want to run a backup of my network config during the hosts boot up. To this end I have googled and found vnetlib64.exe. I have put together a little bat file and a shorcut so it will run with admin privileges.

===============================

Del D:\BootData\VMWare-Net.bkp

CD "C:\My Program Files\Utils\VMWare"

vnetlib64.exe -- export D:\BootData\VMWare-Net.bkp

===============================

If I run the bat file after bootup has completed it all works perfectly. But if I include it in my startup sequence the export does not generate the backup file. I'm assuming there is some type of service that has to complete initialising before the export will work.

Are there any suggestions on how to get this to work during the startup sequence?
Thanks in advance

0 Kudos
2 Replies
louyo
Virtuoso
Virtuoso

Task scheduler, at StartUp or at LogOn.

Lou

0 Kudos
Galgamesh
Contributor
Contributor

Thank you for the suggestion.

I have now tried both Starup and Logon triggers. I have verified that the bat file is run and that vnetlib64.exe is executing (by putting a pause at the end of the bat file so I can see the results).

But unfortunately that backup file is not being created by the export. And yes, I have ticked "Run with highest privileges" in Task Scheduler

0 Kudos