REM "작업 스케줄러 윈도우 스토어 예약 작업 중지 WinStore.App.exe"
schtasks /Change /TN "\Microsoft\Windows\InstallService\ScanForUpdates" /Disable >nul
schtasks /Change /TN "\Microsoft\Windows\InstallService\ScanForUpdatesAsUser" /Disable >nul
schtasks /Change /TN "\Microsoft\Windows\InstallService\SmartRetry" /Disable >nul
schtasks /Change /TN "\Microsoft\Windows\InstallService\WakeUpAndContinueUpdates" /Disable >nul
schtasks /Change /TN "\Microsoft\Windows\InstallService\WakeUpAndScanForUpdates" /Disable >nul
REM "복구"
REM schtasks /Change /TN "\Microsoft\Windows\InstallService\ScanForUpdates" /Enable >nul
REM schtasks /Change /TN "\Microsoft\Windows\InstallService\ScanForUpdatesAsUser" /Enable >nul
REM schtasks /Change /TN "\Microsoft\Windows\InstallService\SmartRetry" /Enable >nul
REM schtasks /Change /TN "\Microsoft\Windows\InstallService\WakeUpAndContinueUpdates" /Enable >nul
REM schtasks /Change /TN "\Microsoft\Windows\InstallService\WakeUpAndScanForUpdates" /Enable >nul
REM "Microsoft Store 설치 서비스" 중지
sc stop InstallService
sc config InstallService start= disabled
REM "ms 스토어 복구 하기"
REM sc config InstallService start= demand
REM " https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsStore::RemoveWindowsStore_2&Language=ko-kr "
REM "ms 스토어 중지 하기https://wezard4u.tistory.com/3829"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore" /v RemoveWindowsStore /t REG_DWORD /d 01 -F
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore" /v AutoDownload /t REG_DWORD /d 04 -F
REM "백그라운드 앱 모드 중지 https://www.tenforums.com/tutorials/7225-turn-off-background-apps-windows-10-a.html "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications" /v GlobalUserDisabled /t REG_DWORD /d 1 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications" /v BackgroundAppGlobalToggle /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy" /v LetAppsRunInBackground /t REG_DWORD /d 2 /f
REM "복구 하려면 지우면 된다 유져로 했더니 자꾸 움직여서 이걸로 해본다"
REM "ms 스토어 업데이트 더이상 받지 않기 때문에 1로 완료로 한다"
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications" /v Migrated /t REG_DWORD /d 1 /f