This file contains hidden or 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 | |
| CHCP 437 >NUL | |
| COLOR 1F | |
| :: Source: https://docs.microsoft.com/en-us/windows/privacy/manage-connections-from-windows-operating-system-components-to-microsoft-services#29-windows-update | |
| TITLE Windows ^& Store Update Toggle On-Off | |
| :: Run as administrator AveYo: no ps\vbs so no av delay, proper parameters pass, loop guard -- Source: https://is.gd/3c6hSR | |
| set "S=%systemroot%\system32"& set "A=%systemdrive%\Users\Default\AppData\Local\Microsoft\Windows\WinX\Group3\01 - Command Prompt" | |
| >nul fltmc || ( if +%+% neq +A if exist "%A%.lnk" ( start "" /high "%A%.lnk" /x/d/rset+=A^&cmd /rcall "%~f0" %*&&exit/b0) else ( |