Install.bat:
![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
@echo off "%~dp0InstallUtil\InstallUtil.exe" "%~dp0DataSyncService.exe" %SystemRoot%\system32\sc config DataSyncService start= auto %SystemRoot%\system32\sc config DataSyncService type= interact type= own Pause
StartService.bat:
![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
@echo off %SystemRoot%\system32\net start DataSyncService pause
StopService.bat:
![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
@echo off %SystemRoot%\system32\net stop DataSyncService pause
Uninstall.bat:
![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
@echo off "%~dp0InstallUtil\InstallUtil.exe" "%~dp0DataSyncService.exe" /u pause