Remove advertisements from browser by resetting the browser using batch programming
1. Open notepad and copy following code:
@ECHO OFF
echo Reseting your Browsers....
rd /s /q "%UserProfile%\AppData\Local\Google\Chrome\User Data"
taskkill.exe /F /IM firefox.exe /T
rd /s /q %UserProfile%\AppData\Local\Mozilla
rd /s /q %UserProfile%\AppData\Roaming\Mozilla
taskkill.exe /F /IM iexplore.exe /T
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
rundll32 inetcpl.cpl ResetIEtoDefaults
echo .
echo Reset Successful....
echo Press any key to exit
pause > nul
exit
2. Save this file as reset.bat and select Save as Type: All Files
3. Now run the file.
1. Open notepad and copy following code:
@ECHO OFF
echo Reseting your Browsers....
rd /s /q "%UserProfile%\AppData\Local\Google\Chrome\User Data"
taskkill.exe /F /IM firefox.exe /T
rd /s /q %UserProfile%\AppData\Local\Mozilla
rd /s /q %UserProfile%\AppData\Roaming\Mozilla
taskkill.exe /F /IM iexplore.exe /T
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
rundll32 inetcpl.cpl ResetIEtoDefaults
echo .
echo Reset Successful....
echo Press any key to exit
pause > nul
exit
2. Save this file as reset.bat and select Save as Type: All Files
3. Now run the file.
No comments:
Post a Comment
Feel Free to Share issues with me....