Reset Windows Connectivity Button (WLAN "Offline" Fix)

TL;DR
When Windows taskbar/apps show "not connected" icon but you still can use your internet connection, this button tells windows to fix this error.

Functionality
I often encounter situations where windows or windows apps think that the pc is not connected to the internet, but I can actually still browse the internet (I guess its my adblocker vpn). This can happen because windows tries to check if it can reach a certain address and if not, it assumes it is not connected. The problem is, that many (modern) "apps" use a windows api to check if they are connected and this api relies on this method of checking so that they dont offer their functionality while they actually could.

So this button does a lot of stuff to reset network connectivity. For this to have an effect, a reboot is needed. A dialog is displayed for confirmation.

<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
	<label>Reset Connectivity + Reboot</label>
	<icon1>#disconnectnetworkdrive</icon1>
	<function type="normal">
		<instruction>@admin </instruction>
		<instruction>@sync </instruction>
		<instruction>netsh winsock reset</instruction>
		<instruction>netsh int ip reset</instruction>
		<instruction>ipconfig /release</instruction>
		<instruction>ipconfig /renew</instruction>
		<instruction>ipconfig /flushdns</instruction>
		<instruction>@confirm Reboot now?|YES⚠️|No</instruction>
		<instruction>shutdown /r /t 0</instruction>
	</function>
</button>