33 lines
1.2 KiB
Batchfile
33 lines
1.2 KiB
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
cacls.exe "%SystemDrive%\System Volume Information" >nul 2>nul
|
|
if %errorlevel%==0 goto admin
|
|
if exist "%temp%\getadmin.vbs" del /f /q "%temp%\getadmin.vbs"
|
|
echo Set RequestUAC = CreateObject^("Shell.Application"^)>"%temp%\getadmin.vbs"
|
|
echo RequestUAC.ShellExecute "%~s0","","","runas",1 >>"%temp%\getadmin.vbs"
|
|
echo WScript.Quit >>"%temp%\getadmin.vbs"
|
|
"%temp%\getadmin.vbs" /f
|
|
if exist "%temp%\getadmin.vbs" del /f /q "%temp%\getadmin.vbs"
|
|
exit
|
|
:admin
|
|
|
|
@echo off
|
|
@chcp 65001
|
|
TASKKILL /F /IM BlueSoleilCS.exe /T 2> nul
|
|
TASKKILL /F /IM BsExecuteModule.exe /T 2> nul
|
|
TASKKILL /F /IM BsHelpCS.exe /T 2> nul
|
|
TASKKILL /F /IM BsSend2bt.exe /T 2> nul
|
|
TASKKILL /F /IM BlueSoleil_Assistant.exe /T 2> nul
|
|
TASKKILL /F /IM hid2hci.exe /T 2> nul
|
|
TASKKILL /F /IM MAP_BsSMSEditor.exe /T 2> nul
|
|
TASKKILL /F /IM BsSMSEditor.exe /T 2> nul
|
|
TASKKILL /F /IM BtMgr.exe /T 2> nul
|
|
TASKKILL /F /IM BtTray.exe /T 2> nul
|
|
TASKKILL /F /IM BsMobileCS.exe /T 2> nul
|
|
TASKKILL /F /IM BSBLEFuncM.exe /T 2> nul
|
|
TASKKILL /F /IM "BlueSoleil iSend.exe" /T 2> nul
|
|
TASKKILL /F /IM BlueSoleil.exe /T 2> nul
|
|
TASKKILL /F /IM Bluetooth* /T 2> nul
|
|
|
|
start "À¶ÑÀ·þÎñ" "C:\Program Files (x86)\IVT Corporation\BlueSoleil\BtTray.exe"
|