多语言展示
当前在线:739今日阅读:99今日分享:20

用友U8服务便捷管理工具

用友的ERP软件中的服务均是自启动的,另外安装U8还需要SQL服务,这个也是自启动的,这样在电脑中装了较多的软件,电脑在开机之后就会非常卡,所以就需要通过工具来管理这些服务了。
工具/原料

U8服务管理器.bat 链接: http://pan.baidu.com/s/1hq3pcUg 密码: zhpl

方法/步骤
1

以右键管理员运行该批处理文件

2

第一次运行的话请输入 5 ,将所有的服务均设置为“手动”,以后就不用了。

3

输入 7,将U8和SQL服务器的所有服务关闭。以后在想使用U8,只需要 输入6,将U8和SQL服务器的五福顺序开启,就可以直接使用了,使用完之后顺序关闭就好了。

温馨提示
1

这里用到了批处理net start 服务名   开启服务net stop 服务名   关闭服务sc config 服务名 start= [auto=自动,demand=手动,disable=禁用]例如:将UFNet设置为手动启动sc config UFNet start= auto

2

将如下代码保存为bat文件(先保存成txt文档,然后将.txt改为.bat就可以了):sc config 服务名 start= [auto=自动,demand=手动,disable=禁用]@echo offtitle U8系统服务管理器-By 疯雪:AllStartclsecho 1、启动U8服务echo 2、关闭U8服务echo 3、启动Sql Server服务echo 4、关闭Sql Server服务echo 5、U8、Sql Server服务设置为“手动”echo 6、顺序启动U8、Sql Server服务echo 7、顺序关闭U8、Sql Server服务echo 8、退出set input=set /p input=请输入序号:if "%input%"=="1" goto U8Startif "%input%"=="2" goto U8Stopif "%input%"=="3" goto SQLServerStartif "%input%"=="4" goto SQLServerStopif "%input%"=="5" goto setstyleif "%input%"=="6" goto alltorunif "%input%"=="7" goto alltostopif "%input%"=="8" goto exit:U8Startecho 启动 U8AuthServer(UFNet) 服务...net start UFNetecho 启动 U8DispatchService 服务...net start U8DispatchServiceecho 启动 U8KeyManagePool 服务...net start U8KeyManagePoolecho 启动 U8MPool 服务...net start U8MPoolecho 启动 U8SCMPool 服务...net start U8SCMPoolecho 启动 U8TaskService 服务...net start U8TaskServiceecho 启动 UFReportService 服务...net start UFReportServicegoto the-end:U8Stopecho 停止 U8AuthServer(UFNet) 服务...net stop UFNetecho 停止 U8DispatchService 服务...net stop U8DispatchServiceecho 停止 U8KeyManagePool 服务...net stop U8KeyManagePoolecho 停止 U8MPool 服务...net stop U8MPoolecho 停止 U8SCMPool 服务...net stop U8SCMPoolecho 停止 U8TaskService 服务...net stop U8TaskServiceecho 停止 UFReportService 服务...net stop UFReportServicegoto the-end:SQLServerStartecho 启动 SQL Server (MSSQLSERVER) 服务...net start MSSQLSERVERecho 启动 SQL Server VSS Writer 服务...net start SQLWritergoto the-end:SQLServerStopecho 停止 SQL Server (MSSQLSERVER) 服务...net stop MSSQLSERVERecho 停止 SQL Server VSS Writer 服务...net stop SQLWritergoto the-end:setstylesc config UFNet start= demandsc config U8DispatchService start= demandsc config U8KeyManagePool start= demandsc config U8MPool start= demandsc config U8SCMPool start= demandsc config U8TaskService start= demandsc config UFReportService start= demandsc config MSSQLSERVER start= demandsc config SQLWriter start= demandgoto the-end:alltorunecho 启动 SQL Server (MSSQLSERVER) 服务...net start MSSQLSERVERecho 启动 SQL Server VSS Writer 服务...net start SQLWritergoto U8Start:alltostopecho 停止 U8AuthServer(UFNet) 服务...net stop UFNetecho 停止 U8DispatchService 服务...net stop U8DispatchServiceecho 停止 U8KeyManagePool 服务...net stop U8KeyManagePoolecho 停止 U8MPool 服务...net stop U8MPoolecho 停止 U8SCMPool 服务...net stop U8SCMPoolecho 停止 U8TaskService 服务...net stop U8TaskServiceecho 停止 UFReportService 服务...net stop UFReportServicegoto SQLServerStop:exitexit:the-endecho 如果提示“系统错误 5”,请右键以管理员权限运行...pausegoto AllStart

注意事项

一定要用管理员权限运行!

推荐信息