@echo off
title 인터넷 익스플로러 초기화 v2.3.7 (개발자:김인철)
setlocal EnableDelayedExpansion
set Schalter=5
set Width=0
echo.
echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
echo.
echo 인터넷 익스플로러 초기화 v2.3.7
echo.
echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
echo.
echo.
timeout.exe /t 5
echo.
goto taskkill
:taskkill
echo.
taskkill /f /im AdobeARM.exe /t
taskkill /f /im HncCheck.exe /t
taskkill /f /im stsess.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im veraport.exe /t
taskkill /f /im delfino.exe /t
taskkill /f /im I3GProc.exe /t
taskkill /f /im AnySign4PC.exe /t
taskkill /f /im AnySign4PCLauncher.exe /t
taskkill /f /im MiPlatform320.exe /t
taskkill /f /im MiPlatform320U.exe /t
taskkill /f /im AYCRTSrv.ayc /t
taskkill /f /im AYCUpdSrv.ayc /t
taskkill /f /im AYIASrv.exe /t
taskkill /f /im AYMPISrv.exe /t
cls
goto power
:power
echo.
Echo + 전원 구성표 : 고성능(활성)
POWERCFG -SETACTIVE 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
echo.
Echo + 디스플레이 끄기 : 30분
POWERCFG /Change /monitor-timeout-ac 30
echo.
Echo + 다음시간이후에 하드디스크 끄기 : 사용안함 (0값)
POWERCFG /Change /disk-timeout-ac 0
echo.
Echo + 하이버네이션(최대절전모드) : 끄기
powercfg -h off
POWERCFG /hibernate off
echo.
Echo + 절전 모드 해제 타이머 설정: 사용안함
POWERCFG -SETACVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 238c9fa8-0aad-41ed-83f4-97be242c8f20 bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d 000
echo.
echo.
goto reagentc
:reagentc
echo.
echo.
echo 윈도우 시동 복구 모드 설정 해제 (Disable)
echo.
reagentc /disable
echo.
echo.
set Counter=0
timeout -t 3
goto WinTempDEL
:WinTempDEL
set /a Counter=%Counter% + 1
set /a Display=%Counter% / 2
FOR /L %%A IN (1,1,%Display%) DO (set Display=!Display!▒)
cls
echo.
echo.
echo 윈도우 TEMP 폴더 제거 ... %Counter%%%
echo.
echo ▒!Display:~2,47!
echo.
rd /s /q C:\Temp >nul
echo.
rd /s /q C:\Windows\Temp >nul
echo.
if "%Counter%" == "100" goto :WinTempDEL-End
goto :WinTempDEL
echo.
:WinTempDEL-End
echo.
echo Complete.
echo.
set Counter=0
timeout -t 3
goto taskkill2
:taskkill2
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im AnySign4PC.exe /t
taskkill /f /im AnySign4PCLauncher.exe /t
taskkill /f /im MiPlatform320.exe /t
taskkill /f /im MiPlatform320U.exe /t
taskkill /f /im AYCRTSrv.ayc /t
taskkill /f /im AYCUpdSrv.ayc /t
taskkill /f /im AYIASrv.exe /t
taskkill /f /im AYMPISrv.exe /t
goto ieTempDEL
:ieTempDEL
set /a Counter=%Counter% + 1
set /a Display=%Counter% / 2
FOR /L %%A IN (1,1,%Display%) DO (set Display=!Display!▒)
cls
echo.
echo.
echo 인터넷 TEMP 폴더 제거 ... %Counter%%%
echo.
echo ▒!Display:~2,47!
echo.
rd /s /q "%USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files" >nul
echo.
rd /s /q "%USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache" >nul
echo.
if "%Counter%" == "100" goto :ieTempDEL-End
goto :ieTempDEL
echo.
:ieTempDEL-End
echo.
echo Complete.
echo.
set Counter=0
timeout -t 3
goto ie-setting
:ie-setting
cls
echo.
echo.
echo 인터넷 익스플로러 11 기본 설정 복원
echo.
echo.
echo 개인 설정 삭제 "체크" 후 [다시설정] 버튼 클릭! 하세요.
echo.
echo.
rundll32.exe inetcpl.cpl ResetIEtoDefaults
echo.
echo.
echo 레지스트리 클리어 (REG RESET)
echo.
REG IMPORT Filename.reg
echo.
echo.
echo OCX 등록
echo.
REG IMPORT Filename.reg
regsvr32.exe /s Filename.ocx
echo.
echo.
goto Batch-END
:Batch-END
cls
echo.
echo ┌─────────────────────────────
echo │
echo │ Internet Explorer 설정
echo │
echo │ [◎] 권장 설정 사용 안함(D)
echo │
echo │ 체크 후 [확인] 클릭하세요!
echo │
echo └─────────────────────────────
echo.
start /min "C:\Program Files\Internet Explorer\iexplore.exe" "http://www.naver.com"
echo.
timeout -t 10
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im iexplore.exe /t
echo.
echo.
echo 인터넷 익스플로러 11 레지스트리 재등록
echo.
REG IMPORT Filename.reg
echo.
echo.
start /d "C:\Program Files\Internet Explorer\" /b iexplore.exe "http://www.naver.com"
exit