@echo off
echo BROWSER RESET SCRIPT by PowerPlayX
@echo .
@echo .
echo PPPPP OOOOO W W EEEEE RRRRR PPPPP L AAA Y Y X X
echo P P O O W W W E R R P P L A A Y Y X X
echo PPPP O O W W W EEEEE RRRR PPPP L AAAAA YYY X
echo P O O W W W E R R P L A A Y X X
echo P OOOOO WWWWW EEEEE R R P LLLLL A A Y X X
@echo .
@echo .
msg %USERNAME% "ช่วย ปิด Browser ทุกตัว ก่อนทำการแก้ไข เพื่อปรับสู่ค่าเริ่มต้น นะคร้าบ"
echo "PLEASE CLOSE ALL BROWSER BEFORE CONTINUE !!! "
pause
Echo "RESET ALL IE SETTING"
CD %windir%\system32
RunDll32.exe InetCpl.cpl,ResetIEtoDefaults
echo "RESET FIREFOX ALL SETTING"
REM "win 7,8"
CD %ProgramFiles(x86)%\Mozilla Firefox
firefox -safe-mode
REM "win xp"
CD %ProgramFiles%\Mozilla Firefox
firefox -safe-mode
echo "RESET CHROME BROWSER"
REM "WIN 7,8"
CD "%HOMEDRIVE%\%HOMEPATH%\AppData\Local\Google\Chrome\User Data"
del Default /s /q
REM "WinXP"
CD "%USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data"
del Default /s /q
CD %ProgramFiles%\Google\Chrome\Application
chrome --first-run
CD %ProgramFiles(x86)%\Google\Chrome\Application
chrome --first-run