diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/VPN/Disable VPN support.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/VPN/Disable VPN support.cmd deleted file mode 100644 index f990f9bbbc..0000000000 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/VPN/Disable VPN support.cmd +++ /dev/null @@ -1,33 +0,0 @@ -@echo off -setlocal EnableDelayedExpansion - -set "___args="%~f0" %*" -fltmc > nul 2>&1 || ( - echo Administrator privileges are required. - powershell -c "Start-Process -Verb RunAs -FilePath 'cmd' -ArgumentList """/c $env:___args"""" 2> nul || ( - echo You must run this script as admin. - if "%*"=="" pause - exit /b 1 - ) - exit /b -) - -call toggleDev.cmd -Silent @("NDIS Virtual Network Adapter Enumerator", "Microsoft RRAS Root Enumerator", "WAN Miniport*") - -for %%a in ( - "Eaphost" - "IKEEXT" - "iphlpsvc" - "NdisVirtualBus" - "RasMan" - "SstpSvc" - "WinHttpAutoProxySvc" -) do ( - call setSvc.cmd %%~a 4 -) - -call "%windir%\AtlasModules\Scripts\settingsPages.cmd" /hide network-vpn /silent - -echo Finished, please reboot your device for changes to apply. -pause -exit /b \ No newline at end of file diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/VPN/Enable VPN support (default).cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/VPN/Enable VPN support (default).cmd deleted file mode 100644 index 572c04f318..0000000000 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/VPN/Enable VPN support (default).cmd +++ /dev/null @@ -1,39 +0,0 @@ -@echo off -setlocal EnableDelayedExpansion - -if "%~1"=="/silent" goto main - -set "___args="%~f0" %*" -fltmc > nul 2>&1 || ( - echo Administrator privileges are required. - powershell -c "Start-Process -Verb RunAs -FilePath 'cmd' -ArgumentList """/c $env:___args"""" 2> nul || ( - echo You must run this script as admin. - if "%*"=="" pause - exit /b 1 - ) - exit /b -) - -:main -call toggleDev.cmd -Silent -Enable @("NDIS Virtual Network Adapter Enumerator", "Microsoft RRAS Root Enumerator", "WAN Miniport*") - -for %%a in ( - "SstpSvc" - "WinHttpAutoProxySvc" - "iphlpsvc" - "NdisVirtualBus" - "IKEEXT" - "Eaphost" -) do ( - call setSvc.cmd %%~a 3 -) -call setSvc.cmd BFE 2 -call setSvc.cmd RasMan 2 - -call "%windir%\AtlasModules\Scripts\settingsPages.cmd" /unhide network-vpn /silent - -if "%~1"=="/silent" exit /b - -echo Finished, please reboot your device for changes to apply. -pause -exit /b \ No newline at end of file diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/Wi-Fi/Disable Wi-Fi.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/Wi-Fi/Disable Wi-Fi.cmd deleted file mode 100644 index ff601361d7..0000000000 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/Wi-Fi/Disable Wi-Fi.cmd +++ /dev/null @@ -1,23 +0,0 @@ -@echo off - -set "___args="%~f0" %*" -fltmc > nul 2>&1 || ( - echo Administrator privileges are required. - powershell -c "Start-Process -Verb RunAs -FilePath 'cmd' -ArgumentList """/c $env:___args"""" 2> nul || ( - echo You must run this script as admin. - if "%*"=="" pause - exit /b 1 - ) - exit /b -) - -call setSvc.cmd vwififlt 4 -call setSvc.cmd WlanSvc 4 - -echo Applications like Microsoft Store and Spotify may not function correctly when Wi-Fi is disabled. -echo There might be other issues as well, therefore, we do not recommend it. -pause -echo] -echo Finished, please reboot your device for changes to apply. -pause -exit /b \ No newline at end of file diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/Wi-Fi/Enable Wi-Fi (default).cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/Wi-Fi/Enable Wi-Fi (default).cmd deleted file mode 100644 index 448bfe4c6c..0000000000 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Services/Wi-Fi/Enable Wi-Fi (default).cmd +++ /dev/null @@ -1,25 +0,0 @@ -@echo off - -if "%~1"=="/silent" goto main - -set "___args="%~f0" %*" -fltmc > nul 2>&1 || ( - echo Administrator privileges are required. - powershell -c "Start-Process -Verb RunAs -FilePath 'cmd' -ArgumentList """/c $env:___args"""" 2> nul || ( - echo You must run this script as admin. - if "%*"=="" pause - exit /b 1 - ) - exit /b -) - -:main -call setSvc.cmd eventlog 2 -call setSvc.cmd vwififlt 1 -call setSvc.cmd WlanSvc 2 - -if "%~1"=="/silent" exit /b - -echo Finished, please reboot your device for changes to apply. -pause -exit /b \ No newline at end of file