用CMD启动服务

来源:百度知道 编辑:UC知道 时间:2024/06/25 11:53:29
急 设计一个程序启动服务Routing and Remote Access 我在网吧 不能用 哪位高手帮帮忙~~~~~~~~~~~~

新建文本
写入
sc config RemoteAccess start= auto
net start RemoteAccess
另存为 1.bat
双击这个bat即可!

还是算了吧,网吧不要乱搞

用 net start 命令

sc config RemoteAccess start= auto
net start RemoteAccess

1、CMD方式
net start "Routing and Remote Access"
启动该服务
2、图形界面
我的电脑-右键之管理-服务

如果上面的无法启动该服务,那编写的程序也不能启动,因为网吧给限制了,解除限制才是正解