@ECHO OFF&(PUSHD "%~DP0")&(REG QUERY "HKU\S-1-5-19">NUL 2>&1)||(
powershell -Command "Start-Process '%~sdpnx0' -Verb RunAs"&&EXIT)
set BitComet=%~dp0
sc delete BITCOMET_HELPER_SERVICE
sc create BITCOMET_HELPER_SERVICE BinPath="%BitComet%tools\BitCometService.exe -service" DisplayName="BitComet磁盘提速服务"
sc description BITCOMET_HELPER_SERVICE "该服务增强了BitComet的磁盘IO性能。"
ECHO.&ECHO 创建磁盘提速服务完成 &TIMEOUT /t 2 >NUL&EXIT