VMware Communities
vmwarejockey
Contributor
Contributor
Jump to solution

Exporting Virtual Network Settings

I would like to request a feature to be able to export "Virtual Network Settings" from my computer.

Whenever I install or re-install VMWare Workstation on a computer, I have to manually re-configure my Virtual Network Settings in order to match the static IP Address configuration that I have configured on my Guest VMs.

However, if I were able to simply export the Virtual Network Settings (and subsequently import those settings into a fresh installation), I would be able to save configuration time on each of my computers/workstations and thereby avoid much manual effort either myself or by informing my colleagues on how to configure their Virtual Network Settings to support the various Guest VMs.

Thanks.

Reply
0 Kudos
1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

Do you run the command with a cmd - started via "run as admin" ?
Do you change directory to the WS install directory first ?
The command itself runs without any messages.
The output should be a file of 8kb - just tested it again on Win7 - 64 running WS 10.0.2


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

Reply
0 Kudos
9 Replies
continuum
Immortal
Immortal
Jump to solution

32bit host:
vnetlib.exe -- export backup-file-name
vnetlib.exe -- import backup-file-name

64bit host

vnetlib64.exe -- export backup-file-name

vnetlib64.exe -- import backup-file-name


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
Jayden56
Enthusiast
Enthusiast
Jump to solution

Hi

Agree with continuum and its very simple only two command to be run

Please let us know if any problem after executing these two commands.

Reply
0 Kudos
vmwarejockey
Contributor
Contributor
Jump to solution

I tried the following command:

vnetlib64.exe -- export C:\Temp\mybackup.bak

I also tried variations of this such as

vnetlib64.exe -export C:\Temp\mybackup.back

vnetlib64.exe export C:\Temp\mybackup.bak

None of these commands exported a backup file for me.

Please advise.

Reply
0 Kudos
WoodyZ
Immortal
Immortal
Jump to solution

The commands have a double dash, not a single dash, and need to be executed in an Administrator: Command Prompt! Smiley Wink

32-bit Host:
vnetlib.exe -- export backup-file-name
vnetlib.exe -- import backup-file-name

64-bit Host

vnetlib64.exe -- export backup-file-name

vnetlib64.exe -- import backup-file-name

Reply
0 Kudos
vmwarejockey
Contributor
Contributor
Jump to solution

I tried this both with vnetlib and vnetlib64 with the following command:

vnetlib64.exe -- export C:\Temp\MyNetworkBackup.bak

vnetlib.exe -- export C:\Temp\MyNetworkBackup.bak

No output file is being generated!

I am using VMWare Workstation v. 10.0.2

Please advise.

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

Do you run the command with a cmd - started via "run as admin" ?
Do you change directory to the WS install directory first ?
The command itself runs without any messages.
The output should be a file of 8kb - just tested it again on Win7 - 64 running WS 10.0.2


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
vmwarejockey
Contributor
Contributor
Jump to solution

Yes to all of the above, but no output file (in the directory I specified).

Only main difference is that I am running Windows 8.1.

Can you send me the exact syntax of the command that you are using (i.e. the sample command that you were able to execute successfully)?  Are you specifying a directory and file name for the file?  What is the file extension that the file should have?

Thanks. 

Reply
0 Kudos
vmwarejockey
Contributor
Contributor
Jump to solution

Actually I FINALLY got it working!!

Because there were no error messages of any kind, I could not tell what was failing and was was not.  However, I tried a few different file paths and was finally able to get it to write to the file system. 

There must have been some permissions issue with Windows 8.1 preventing me from writing to the C:\ drive.

Thanks!

Reply
0 Kudos
pingads11
Contributor
Contributor
Jump to solution

Whats the procedure for backing up Network config in Ubuntu?

Reply
0 Kudos