@echo off
title Derek's simple fix
color a
cls
echo If you want to fix network issues*
echo Please see below V
:netchoice
set /P c=Do you want to continue[Y/N]?
if /I "%c%" EQU "Y" goto :networkfixyes
if /I "%c%" EQU "N" goto :diskcheck
goto :netchoice
:networkfixyes
echo --------------------------------
echo Please make sure you're admin
echo --------------------------------
echo This solves most network issues
echo --------------------------------
echo Firewall will be turned back on*
echo --------------------------------
echo Network will be reset*
echo --------------------------------
netsh int ip reset reset.txt
netsh advfirewall reset
netsh winsock reset
echo --------------------------------
echo
goto :diskcheck
:diskcheck
echo --------------------------------
echo Do you want to check your disk
echo For any errors and fix them ?
echo --------------------------------
:choice
set /P c=Do you want to continue[Y/N]?
if /I "%c%" EQU "Y" goto :yesdiskcheck
if /I "%c%" EQU "N" goto :nodiskcheck
goto :choice
:yesdiskcheck
echo Now checking your disk
echo --------------------------------
chkdsk
chkdsk /F
goto :nodiskcheck
:nodiskcheck
echo
echo Please hit enter to exit
pause
exit
goto :nodiskcheck
Copyright © 2024, NextGenUpdate.
All Rights Reserved.