Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 176561

How can I start VMware NAT Service manually using a batch file?

$
0
0

Hello everyone,
My name is Quach Phat Thang & I am from Ho Chi Minh City, Vietnam. Today, I have some questions that you need to help.
My question is:

"How can I start VMWare NAT Service manually using a batch file?"

I have changed the start-up type of VMWare Authorization Service, VMWare DHCP Service, and VMWare NAT Service & VMware USB Arbitration Service from Automatic to Manual. Aussi I have Learned how to make a batch file commands Including That can be run using Windows Command Prompt from a existing file I have taken from the internet. (I might be a copy-cat? )

Among the services I have mentioned, I am able to start 3 of them using CMD but I can not do so with NAT Service. The following is my batch file:

 

@echo off

title Start VMWare Workstation's Services (credit: BlogChiaSeKienThuc)

color 4

cls

echo ------------------------------------

echo You are Sure? - Ban each chan chu!

 

 

pause

cls

Echo 1.VMware Authorization Service

sc start VMAuthdService

echo Success !!!

cls

Echo 2.VMware DHCP Service

sc start VMnetDHCP

echo Success !!!

cls

Echo 3.VMware NAT Service

sc start VMware NAT Service
echo Success !!!

cls

Echo 4.VMware USB Arbitration Service

sc start VMUSBArbService

echo Success !!!

cls

 

 

echo Success All !!!

pause

echo Have a nice trip !!!

timeout 3

How do you feel about this batch file? Does it contain any errors? I hope to receive your assistance!
Thank you in advance!

Best regards,
Quach Phat Thang
HCMC, Vietnam


Viewing all articles
Browse latest Browse all 176561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>