---
title: "批处理启动和关闭服务"
author: "dingherry"
date: "2012-07-16T16:45:21Z"
tags: []
categories: ["操作系统"]
slug: "untitled"
draft: false
lastmod: "2012-07-16T16:46:17Z"
id: 1595413
url: "https://dingherry.iteye.com/blog/1595413"
---

开启服务：
@net start ufad-ws60  
@net start VMAuthdService 
@net start VMnetDHCP
@net start "VMware NAT Service"
@net start VMUSBArbService
@exit 

关闭服务：
把上面的start换成stop

粘贴到notepad，保存成.bat文件，即可双击执行。

要注意的问题：
关于服务名：start后面的服务名，可以右键某服务，属性，“服务名称”，不是“显示名称”；
关于有空格的服务名：加双引号即可，如上面的"VMware NAT Service"。

over