How to start a service with bat
Solved
flexi2202
Posted messages
3640
Registration date
Status
Member
Last intervention
-
flexi2202 Posted messages 3640 Registration date Status Member Last intervention -
flexi2202 Posted messages 3640 Registration date Status Member Last intervention -
Hello everyone
I’m wondering how I would start a list of services in a bat file
for example with these
thanks for the help
I’m wondering how I would start a list of services in a bat file
for example with these
C:\Program Files (x86)\VMware\VMware Workstation\vmware-authd.exe
C:\Windows\system32\vmnetdhcp.exe
thanks for the help
14 answers
-
With the start command.
For examplestart notepad.exe
it launches notepad, you see the principle.
--
If you have found the answer to your question, feel free to mark the topic as resolved, as this could help others who encounter the same issue :) -
Thank you for the helphttps://forums.commentcamarche.net/forum/affich-31939229-comment-faire-demarrer-avec-un-service-avec-bat
To continue with my example above
I have done
start vmnetdhcp.exe
also this
start C:\Windows\system32\vmnetdhcp.exe
but Windows tells me it can't find it, I must not put a path -
Check that the path is correct, without errors, and that there are no mistakes in the names. Pay attention to accents.
--
If you have found the answer to your question, feel free to mark the topic as resolved, this could help people facing the same issue :) -
Here I just checked and the software that shows me the services did not give me the correct name
so I searched in win8.1 and found the correct path
I then launchedstart C:\Windows\SysWOW64\vmnetdhcp.exe
But it doesn't work, the dos command is executed properly but the service does not start -
little bump please thanks
-
Hi
you need to retrieve the internal names of the services and then use the command: net start <service name>
For the internal names, check in the services manager. -
Hi
thank you for the response
so in my case it would be
net start <vmnetdhcp.exe> -
thank you for the help
ok great, so I can put everything in a row one below the other?
it works -
I'm trying with this process
vmware-authd
the function starts and everything, but the DOS screen goes too fast for me to see, why is the service not starting? -
Thank you for your help, everything is fine except for one service
which isVMware NAT Service
where it tells me
to use NET START [service]
which I do, but it doesn't work ] -
-
1st link provided by Google : https://support.microsoft.com/en-us/windows?ui=en-US&rs=en-001&ad=US
If the version of Windows does not match, then do a search ;)
-
-
thank you for the response
yes that's exactly where I went to get the name
and yet he doesn't want it
net start [VMware NAT Service]
here is a screenshot
http://www.hostingpics.net/viewer.php?id=251515ecran1.jpg -
I just did it but he doesn't want it
I entered this
net start vmnat
http://www.hostingpics.net/viewer.php?id=951049ecran1.jpg
thanks for the replies -
Hello
great thanks it works
a big thank you