https://www.filecroco.com/download-leatrix-latency-fix/
@echo off
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
pushd "%CD%"
CD /D "%~dp0"
:--------------------------------------
netsh int ip reset reset.txt
netsh winsock reset
netsh advfirewall reset
@ECHO Quick fix applied, please restart the computer.
@pause
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Startovati kao administator.
- Right-click the name of the Network Adapter, and then select Uninstall.
- On the Confirm Device Uninstall window, click OK.
- When the network adapter software has been uninstalled, restart the computer. The computer reinstalls the device driver software.
- After the computer restarts and completes the installation of the device driver software, try to connect to the Internet.
- If you do not experience further problems with the network, you are done.
- If you still experience problems with the network, update the network drivers.
Using the Windows 8 Network and Internet Troubleshooter
The Windows 8 Network and Internet Troubleshooter tests the network for problems and automatically repairs the network connections if applicable. Use this tool to test and repair the connection:
At the Start screen, type Control Panel to open the Search charm, and then select Control Panel in the Search results.
Image of search results for Control Panel
Click View network status and tasks.
Image of Control Panel
Click Troubleshoot problems.
Image of Network and Sharing Center
The Network and Internet Troubleshooter opens.
Click the item that matches the problem you experience:
Image of the Network and Internet Troubleshooter
Internet Connections: Trouble connecting to the Internet.
Shared Folders: Trouble accessing files and folders on other computers on the network.
HomeGroup: Trouble viewing computers or files in a HomeGroup.
Network Adapter: Trouble with the network adapter.
Incoming Connections: Trouble accessing this computer from another computer on the network.
Click Next, and then follow the on-screen instructions to check for problems.
If you do not experience further problems with the network after running the network diagnostic tool and the network troubleshooter, you are done.
If you still experience problems with the network, reinstall the network adapter software.
Running Windows Network Diagnostics
Windows 8 monitors the network and Internet connections. If it detects a problem, Windows 8 displays a message, and then prompts you for permission to diagnose the problem. Click OK to allow Windows 8 to diagnose the problem and restore the connection.
To run the diagnostic tool manually, choose an option:
No error message displays, but there is no Internet or network connection:
Right-click the Network Connection icon in the notification area, and then click Troubleshoot problems. Windows Network Diagnostics checks for problems.
Image of notification area
The Network Connection icon is missing in the notification area:
From the Start screen, type repair network to open the Search charm, and then select Identify and repair network problems from the search results.
network-restorator.bat:
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
pushd "%CD%"
CD /D "%~dp0"
:--------------------------------------
netsh int ip reset reset.txt
netsh winsock reset
netsh advfirewall reset
@ECHO Quick fix applied, please restart the computer.
@pause
tata-mata.bat:
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Startovati kao administator.
No comments:
Post a Comment
Коментар: