Removing Automatic Configuration Script for Proxy Settings from Local Area Network (LAN) Settings in Windows 10 or Windows 11

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /t REG_SZ /d "" /f

reg add "HKLM\SYSTEM\ControlSet001\Services\iphlpsvc\Parameters\ProxyMgr\{883B4436-66F2-4B58-9C91-84E325BE6D13}" /v AutoConfigURL /t REG_SZ /d "" /f