Last active
August 29, 2015 14:15
-
-
Save magnetik/1cb88b1d7d3016eb35a5 to your computer and use it in GitHub Desktop.
maniaplanet-troubleshot.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal ENABLEEXTENSIONS | |
echo Starting troubleshooting script. It may take a while. Please wait. | |
( | |
@echo on | |
date /t | |
time /t | |
REM Test internet settings | |
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable | |
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v EnableHttp1_1 | |
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v GlobalUserOffline | |
REM http://support.microsoft.com/kb/182569 | |
REM Privary settings | |
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3" /v 1A10 | |
REM Test SSL settings | |
REM https://technet.microsoft.com/en-us/library/dn786418.aspx | |
reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols" | |
REM Test DNS | |
nslookup init.maniaplanet.com | |
nslookup mp01.maniaplanet.com | |
nslookup mp02.maniaplanet.com | |
nslookup mp03.maniaplanet.com | |
nslookup mp04.maniaplanet.com | |
nslookup mp05.maniaplanet.com | |
nslookup mp06.maniaplanet.com | |
nslookup mp07.maniaplanet.com | |
nslookup mp08.maniaplanet.com | |
REM Test traceroute | |
tracert init.maniaplanet.com | |
REM Test an HTTPs connection | |
REM Requires powershell because can't do it in pure batch | |
powershell -command "Invoke-WebRequest -Uri https://ws.maniaplanet.com/foobar/" | |
) > "%USERPROFILE%\desktop\ManiaplanetTroubleshooting.txt" 2>&1 | |
@echo off | |
echo File saved on your desktop: "%USERPROFILE%\desktop\ManiaplanetTroubleshooting.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment