Fixboot

bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd

chkdsk C: /f /r
SFC SCANNOW
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
Dism /online /Get-Drivers / all /Format:Table

Easy Fix UEFI Boot Missing Winload.efi Using BCDedit Command - winload.efi probleem

BCDedit /set {default} device partition=C:
BCDedit /set {default} osdevice partition=C:

W10 W11 Võrk kõigub

netsh int tcp set heuristics disabled
netsh int tcp set global autotuninglevel=disabled
netsh int tcp set global rss=enabled
netsh winsock reset and press Enter
netsh int ip reset and press Enter
ipconfig /renew and press Enter
ipconfig /flushdns and press Enter

sc stop BITS
sc config BITS start=disabled

Serviisid kinni v2

@echo off
title Windows Service Control v25.05.2023
color 30
echo.
echo.
:start
@echo off
echo Windows Service Control - Supported OS: Windows7, Windows10, Windows11.
echo WARNING: Services can only be disabled as Administrator, rightclick run as Admin.
echo File Version: 25.05.2023 - Press X and hit ENTER to get the latest Version.
echo.
echo Press 1 to view my Youtube Channel.
echo Press 2 and hit ENTER to view a list of all services and tasks.
echo.
echo Press A and hit ENTER to disable  ALL services and tasks.
echo Press B and hit ENTER to reactive ALL services and tasks.
echo.
echo Press C and hit ENTER to disable    unnecessary services and tasks.
echo Press D and hit ENTER to reactivate unnecessary services and tasks.
echo.
echo Press E and hit ENTER to disable    windows update and store services and tasks.
echo Press F and hit ENTER to reactivate windows update and store services and tasks.
echo.
echo Press G and hit ENTER to disable    remote services and tasks.
echo Press H and hit ENTER to reactivate remote services and tasks.
echo.
echo Press I and hit ENTER to disable    printer services and tasks.
echo Press J and hit ENTER to reactivate printer services and tasks.
echo.
echo Press K and hit ENTER to disable    bluetooth services and tasks.
echo Press L and hit ENTER to reactivate bluetooth services and tasks.
echo.
echo Press M and hit ENTER to disable    wifi services and tasks.
echo Press N and hit ENTER to reactivate wifi services and tasks.
echo.
echo Press R to reboot your PC now, services and tasks will be disabled after reboot.
echo Press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
:A
echo.
echo.
@echo on
reg add "HKLM\System\CurrentControlSet\Services\PimIndexMaintenanceSvc" /v "Start" /t REG_DWORD /d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc" /v "Start" /t REG_DWORD /d "4" /fd
reg add "HKLM\System\CurrentControlSet\Services\BcastDVRUserService" /v "Start" /t REG_DWORD /d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\xbgm" /v "Start" /t REG_DWORD /d "4" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AppCaptureEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AudioCaptureEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "CursorCaptureEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "MicrophoneCaptureEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\System\GameConfigStore" /v "GameDVR_FSEBehavior" /t REG_DWORD /d "2" /f
reg add "HKCU\System\GameConfigStore" /v "GameDVR_HonorUserFSEBehaviorMode" /t REG_DWORD /d "2" /f
reg add "HKCU\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d "0" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\GameBar" /v "AutoGameModeEnabled" /t REG_DWORD /d "0" /f
sc config wlidsvc start= disabled
sc config DisplayEnhancementService start= disabled
sc config DiagTrack start= disabled
sc config DusmSvc start= disabled
sc config TabletInputService start= disabled
sc config RetailDemo start= disabled
sc config Fax start= disabled
sc config SharedAccess start= disabled
sc config lfsvc start= disabled
sc config WpcMonSvc start= disabled
sc config SessionEnv start= disabled
sc config MicrosoftEdgeElevationService start= disabled
sc config edgeupdate start= disabled
sc config edgeupdatem start= disabled
sc config autotimesvc start= disabled
sc config CscService start= disabled
sc config TermService start= disabled
sc config SensorDataService start= disabled
sc config SensorService start= disabled
sc config SensrSvc start= disabled
sc config shpamsvc start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config PhoneSvc start= disabled
sc config TapiSrv start= disabled
sc config UevAgentService start= disabled
sc config WalletService start= disabled
sc config TokenBroker start= disabled
sc config WebClient start= disabled
sc config MixedRealityOpenXRSvc start= disabled
sc config stisvc start= disabled
sc config WbioSrvc start= disabled
sc config icssvc start= disabled
sc config Wecsvc start= disabled
sc config XboxGipSvc start= disabled
sc config XblAuthManager start= disabled
sc config XboxNetApiSvc start= disabled
sc config XblGameSave start= disabled
sc config SEMgrSvc start= disabled
sc config iphlpsvc start= disabled
sc config Backupper Service start= disabled
sc config BthAvctpSvc start= disabled
sc config BDESVC start= disabled
sc config cbdhsvc start= disabled
sc config CDPSvc start= disabled
sc config CDPUserSvc start= disabled
sc config DevQueryBroker start= disabled
sc config DevicesFlowUserSvc start= disabled
sc config dmwappushservice start= disabled
sc config DispBrokerDesktopSvc start= disabled
sc config TrkWks start= disabled
sc config dLauncherLoopback start= disabled
sc config EFS start= disabled
sc config fdPHost start= disabled
sc config FDResPub start= disabled
sc config IKEEXT start= disabled
sc config NPSMSvc start= disabled
sc config WPDBusEnum start= disabled
sc config PcaSvc start= disabled
sc config RasMan start= disabled
sc config RetailDemo start=disabled
sc config SstpSvc start=disabled
sc config ShellHWDetection start= disabled
sc config SSDPSRV start= disabled
sc config SysMain start= disabled
sc config OneSyncSvc start= disabled
sc config lmhosts start= disabled
sc config UserDataSvc start= disabled
sc config UnistoreSvc start= disabled
sc config Wcmsvc start= disabled
sc config FontCache start= disabled
sc config W32Time start= disabled
sc config tzautoupdate start= disabled
sc config DsSvc start= disabled
sc config DevicesFlowUserSvc_5f1ad start= disabled
sc config diagsvc start= disabled
sc config DialogBlockingService start= disabled
sc config PimIndexMaintenanceSvc_5f1ad start= disabled
sc config MessagingService_5f1ad start= disabled
sc config AppVClient start= disabled
sc config MsKeyboardFilter start= disabled
sc config NetTcpPortSharing start= disabled
sc config ssh-agent start= disabled
sc config SstpSvc start= disabled
sc config OneSyncSvc_5f1ad start= disabled
sc config wercplsupport start= disabled
sc config WMPNetworkSvc start= disabled
sc config WerSvc start= disabled
sc config WpnUserService_5f1ad start= disabled
sc config WinHttpAutoProxySvc start= disabled
sc config DsmSvc start= disabled
sc config DeviceAssociationService start= disabled
sc config stisvc start= disabled
schtasks /DELETE /TN "AMDInstallLauncher" /f
schtasks /DELETE /TN "AMDLinkUpdate" /f
schtasks /DELETE /TN "AMDRyzenMasterSDKTask" /f
schtasks /DELETE /TN "Driver Easy Scheduled Scan" /f
schtasks /DELETE /TN "ModifyLinkUpdate" /f
schtasks /DELETE /TN "SoftMakerUpdater" /f
schtasks /DELETE /TN "StartCN" /f
schtasks /DELETE /TN "StartDVR" /f
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device" /Disable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device User" /Disable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /Disable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\Scheduled" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\StorageSense" /Disable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Disable
schtasks /Change /TN "Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClient" /Disable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload" /Disable
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\OneSettings\RefreshCache" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\LocalUserSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\MouseSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\PenSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\TouchpadSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\International\Synchronize Language Settings" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Installation" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Uninstallation" /Disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Cellular" /Disable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Logon" /Disable
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser" /Disable
schtasks /Change /TN "Microsoft\Windows\MUI\LPRemove" /Disable
schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Disable
schtasks /Change /TN "Microsoft\Windows\PushToInstall\Registration" /Disable
schtasks /Change /TN "Microsoft\Windows\Ras\MobilityManager" /Disable
schtasks /Change /TN "Microsoft\Windows\RecoveryEnvironment\VerifyWinRE" /Disable
schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Disable
schtasks /Change /TN "Microsoft\Windows\RetailDemo\CleanupOfflineContent" /Disable
schtasks /Change /TN "Microsoft\Windows\Servicing\StartComponentCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\SettingSync\NetworkStateChangeTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Setup\SetupCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Setup\SnapshotCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Disable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceManagerTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Speech\SpeechModelDownloadTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\ResPriStaticDbSync" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Task Manager\Interactive" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Zone\SynchronizeTimeZone" /Disable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-HASCertRetr" /Disable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Disable
schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Disable
schtasks /Change /TN "Microsoft\Windows\User Profile Service\HiveUploadTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WDI\ResolutionHost" /Disable
schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Disable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Management" /Disable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Validation" /Disable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Logon Synchronization" /Disable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Maintenance Work" /Disable
schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Disable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\NotificationTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\OobeDiscovery" /Disable
schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /Disable
sc stop uhssvc
sc stop upfc
sc stop PushToInstall
sc stop BITS
sc stop InstallService
sc stop uhssvc
sc stop UsoSvc
sc stop wuauserv
sc stop LanmanServer
sc stop ClipSVC
sc config ClipSVC start= disabled
sc config BITS start= disabled
sc config InstallService start= disabled
sc config uhssvc start= disabled
sc config UsoSvc start= disabled
sc config wuauserv start= disabled
sc config LanmanServer start= disabled
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InstallService" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upfc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\uhssvc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ossrs" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpdatePeriod" /t REG_DWORD /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgrade" /t REG_DWORD /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgradePeriod" /t REG_DWORD /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DisableWindowsUpdateAccess" /t REG_DWORD /d "1" /f
schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdates" /Disable
schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdatesAsUser" /Disable
schtasks /Change /TN "Microsoft\Windows\InstallService\SmartRetry" /Disable
schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndContinueUpdates" /Disable
schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndScanForUpdates" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Report policies" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\UpdateModelTask" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\USO_UxBroker" /Disable
schtasks /Change /TN "Microsoft\Windows\WaaSMedic\PerformRemediation" /Disable
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable
sc config RemoteRegistry start= disabled
sc config RemoteAccess start= disabled
sc config WinRM start= disabled
sc config RmSvc start= disabled
sc config PrintNotify start= disabled
sc config Spooler start= disabled
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Disable
sc config BTAGService start= disabled
sc config bthserv start= disabled
sc config NlaSvc start= disabled
sc config LanmanWorkstation start= disabled
schtasks /Change /TN "Microsoft\Windows\WlanSvc\CDSSync" /Disable
schtasks /Change /TN "Microsoft\Windows\WCM\WiFiTask" /Disable
schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Disable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Disable
reg add "HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator" /v "NoActiveProbe" /t REG_DWORD /d "1" /f
reg add "HKLM\System\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v "EnableActiveProbing" /t REG_DWORD /d "0" /f
sc config BFE start= demand
sc config Dnscache start= demand
sc config WinHttpAutoProxySvc start= demand
sc config Dhcp start= auto
sc config DPS start= auto
sc config lmhosts start= disabled
sc config nsi start= auto
sc config Wcmsvc start= disabled
sc config Winmgmt start= auto
sc config WlanSvc start= demand
@echo off
echo.
echo.
echo ALL services and tasks DISABLED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
:B
echo.
echo.
@echo on
reg add "HKLM\System\CurrentControlSet\Services\PimIndexMaintenanceSvc" /v "Start" /t REG_DWORD /d "3" /f
reg add "HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc" /v "Start" /t REG_DWORD /d "3" /fd
sc config wlidsvc start= demand
sc config DisplayEnhancementService start= demand
sc config DiagTrack start= demand
sc config DusmSvc start= demand
sc config TabletInputService start= demand
sc config RetailDemo start= demand
sc config Fax start= demand
sc config SharedAccess start= demand
sc config lfsvc start= demand
sc config WpcMonSvc start= demand
sc config SessionEnv start= demand
sc config MicrosoftEdgeElevationService start= demand
sc config edgeupdate start= demand
sc config edgeupdatem start= demand
sc config autotimesvc start= demand
sc config CscService start= demand
sc config TermService start= demand
sc config SensorDataService start= demand
sc config SensorService start= demand
sc config SensrSvc start= demand
sc config shpamsvc start= demand
sc config diagnosticshub.standardcollector.service start= demand
sc config PhoneSvc start= demand
sc config TapiSrv start= demand
sc config UevAgentService start= demand
sc config WalletService start= demand
sc config TokenBroker start= demand
sc config WebClient start= demand
sc config MixedRealityOpenXRSvc start= demand
sc config stisvc start= demand
sc config WbioSrvc start= demand
sc config icssvc start= demand
sc config Wecsvc start= demand
sc config XboxGipSvc start= demand
sc config XblAuthManager start= demand
sc config XboxNetApiSvc start= demand
sc config XblGameSave start= demand
sc config SEMgrSvc start= demand
sc config iphlpsvc start= demand
sc config Backupper Service start= demand
sc config BthAvctpSvc start= demand
sc config BDESVC start= demand
sc config cbdhsvc start= demand
sc config CDPSvc start= demand
sc config CDPUserSvc start= demand
sc config DevQueryBroker start= demand
sc config DevicesFlowUserSvc start= demand
sc config dmwappushservice start= demand
sc config DispBrokerDesktopSvc start= demand
sc config TrkWks start= demand
sc config dLauncherLoopback start= demand
sc config EFS start= demand
sc config fdPHost start= demand
sc config FDResPub start= demand
sc config IKEEXT start= demand
sc config NPSMSvc start= demand
sc config WPDBusEnum start= demand
sc config PcaSvc start= demand
sc config RasMan start= demand
sc config RetailDemo start=disabled
sc config SstpSvc start=disabled
sc config ShellHWDetection start= demand
sc config SSDPSRV start= demand
sc config SysMain start= demand
sc config OneSyncSvc start= demand
sc config lmhosts start= demand
sc config UserDataSvc start= demand
sc config UnistoreSvc start= demand
sc config Wcmsvc start= demand
sc config FontCache start= demand
sc config W32Time start= demand
sc config tzautoupdate start= demand
sc config DsSvc start= demand
sc config DevicesFlowUserSvc_5f1ad start= demand
sc config diagsvc start= demand
sc config DialogBlockingService start= demand
sc config PimIndexMaintenanceSvc_5f1ad start= demand
sc config MessagingService_5f1ad start= demand
sc config AppVClient start= demand
sc config MsKeyboardFilter start= demand
sc config NetTcpPortSharing start= demand
sc config ssh-agent start= demand
sc config SstpSvc start= demand
sc config OneSyncSvc_5f1ad start= demand
sc config wercplsupport start= demand
sc config WMPNetworkSvc start= demand
sc config WerSvc start= demand
sc config WpnUserService_5f1ad start= demand
sc config WinHttpAutoProxySvc start= demand
sc config DsmSvc start= demand
sc config DeviceAssociationService start= demand
sc config stisvc start= demand
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Enable
schtasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Enable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Enable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Enable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Enable
schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Enable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device" /Enable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device User" /Enable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /Enable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\Scheduled" /Enable
schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Enable
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Enable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Enable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\StorageSense" /Enable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Enable
schtasks /Change /TN "Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClient" /Enable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload" /Enable
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Enable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures" /Enable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing" /Enable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting" /Enable
schtasks /Change /TN "Microsoft\Windows\Flighting\OneSettings\RefreshCache" /Enable
schtasks /Change /TN "Microsoft\Windows\Input\LocalUserSyncDataAvailable" /Enable
schtasks /Change /TN "Microsoft\Windows\Input\MouseSyncDataAvailable" /Enable
schtasks /Change /TN "Microsoft\Windows\Input\PenSyncDataAvailable" /Enable
schtasks /Change /TN "Microsoft\Windows\Input\TouchpadSyncDataAvailable" /Enable
schtasks /Change /TN "Microsoft\Windows\International\Synchronize Language Settings" /Enable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Installation" /Enable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources" /Enable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Uninstallation" /Enable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Enable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Enable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Cellular" /Enable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Logon" /Enable
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Enable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser" /Enable
schtasks /Change /TN "Microsoft\Windows\MUI\LPRemove" /Enable
schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Enable
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Enable
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Enable
schtasks /Change /TN "Microsoft\Windows\PushToInstall\Registration" /Enable
schtasks /Change /TN "Microsoft\Windows\Ras\MobilityManager" /Enable
schtasks /Change /TN "Microsoft\Windows\RecoveryEnvironment\VerifyWinRE" /Enable
schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Enable
schtasks /Change /TN "Microsoft\Windows\RetailDemo\CleanupOfflineContent" /Enable
schtasks /Change /TN "Microsoft\Windows\Servicing\StartComponentCleanup" /Enable
schtasks /Change /TN "Microsoft\Windows\SettingSync\NetworkStateChangeTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Setup\SetupCleanupTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Setup\SnapshotCleanupTask" /Enable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Enable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceManagerTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Speech\SpeechModelDownloadTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" /Enable
schtasks /Change /TN "Microsoft\Windows\Sysmain\ResPriStaticDbSync" /Enable
schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Task Manager\Interactive" /Enable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Enable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Enable
schtasks /Change /TN "Microsoft\Windows\Time Zone\SynchronizeTimeZone" /Enable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-HASCertRetr" /Enable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Enable
schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Enable
schtasks /Change /TN "Microsoft\Windows\User Profile Service\HiveUploadTask" /Enable
schtasks /Change /TN "Microsoft\Windows\WDI\ResolutionHost" /Enable
schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Enable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Management" /Enable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Validation" /Enable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Logon Synchronization" /Enable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Maintenance Work" /Enable
schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Enable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\NotificationTask" /Enable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\OobeDiscovery" /Enable
sc config uhssvc start= demand
sc config upfc start= demand
sc config PushToInstall start= demand
sc config BITS start= demand
sc config InstallService start= demand
sc config uhssvc start= demand
sc config UsoSvc start= demand
sc config wuauserv start= demand
sc config LanmanServer start= demand
sc config NlaSvc start= demand
sc config ClipSVC start= disabled
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InstallService" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upfc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\uhssvc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ossrs" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpdatePeriod" /t REG_DWORD /d "0" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgrade" /t REG_DWORD /d "0" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgradePeriod" /t REG_DWORD /d "0" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DisableWindowsUpdateAccess" /t REG_DWORD /d "0" /f
schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdates" /Enable
schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdatesAsUser" /Enable
schtasks /Change /TN "Microsoft\Windows\InstallService\SmartRetry" /Enable
schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndContinueUpdates" /Enable
schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndScanForUpdates" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Report policies" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\UpdateModelTask" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\USO_UxBroker" /Enable
schtasks /Change /TN "Microsoft\Windows\WaaSMedic\PerformRemediation" /Enable
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Enable
schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Enable
sc config RemoteRegistry start= demand
sc config RemoteAccess start= demand
sc config WinRM start= demand
sc config RmSvc start= demand
sc config PrintNotify start= demand
sc config Spooler start= demand
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Enable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Enable
sc config BTAGService start= demand
sc config bthserv start= demand
sc config LanmanWorkstation start= demand
sc config WdiServiceHost start= demand
sc config NcbService start= demand
sc config ndu start= demand
sc config Netman start= demand
sc config netprofm start= demand
sc config WwanSvc start= demand
sc config Dhcp start= auto
sc config DPS start= auto
sc config lmhosts start= auto
sc config NlaSvc start= auto
sc config nsi start= auto
sc config RmSvc start= auto
sc config Wcmsvc start= auto
sc config Winmgmt start= auto
sc config WlanSvc start= auto
schtasks /Change /TN "Microsoft\Windows\WlanSvc\CDSSync" /Enable
schtasks /Change /TN "Microsoft\Windows\WCM\WiFiTask" /Enable
schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Enable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Enable
reg add "HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator" /v "NoActiveProbe" /t REG_DWORD /d "0" /f
reg add "HKLM\System\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v "EnableActiveProbing" /t REG_DWORD /d "1" /f
reg add "HKLM\System\CurrentControlSet\Services\BFE" /v "Start" /t REG_DWORD /d "2" /f
reg add "HKLM\System\CurrentControlSet\Services\Dnscache" /v "Start" /t REG_DWORD /d "2" /f
reg add "HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc" /v "Start" /t REG_DWORD /d "3" /f
net start DPS
net start nsi
net start NlaSvc
net start Dhcp
net start Wcmsvc
net start RmSvc
wmic path win32_networkadapter where index=0 call disable
wmic path win32_networkadapter where index=1 call disable
wmic path win32_networkadapter where index=2 call disable
wmic path win32_networkadapter where index=3 call disable
wmic path win32_networkadapter where index=4 call disable
wmic path win32_networkadapter where index=5 call disable
wmic path win32_networkadapter where index=0 call enable
wmic path win32_networkadapter where index=1 call enable
wmic path win32_networkadapter where index=2 call enable
wmic path win32_networkadapter where index=3 call enable
wmic path win32_networkadapter where index=4 call enable
wmic path win32_networkadapter where index=5 call enable
arp -d *
route -f
nbtstat -R
nbtstat -RR
netcfg -d
netsh winsock reset
netsh int 6to4 reset all
netsh int httpstunnel reset all
netsh int ip reset
netsh int isatap reset all
netsh int portproxy reset all
netsh int tcp reset all
netsh int teredo reset all
netsh branchcache reset
ipconfig /release
ipconfig /renew
@echo off
echo.
echo.
echo ALL services and tasks REACTIVATED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
:2
echo.
echo.
@echo off
echo Total amount of unnecessary services to be disabled = 94.
echo To view a description for those services press Windows and R key at the same time.
echo Type services.msc then hit ENTER.
echo Total amount of unnecessary tasks to be disabled = 82.
echo To view a description for those tasks press Windows and R key at the same time.
echo Type taskschd.msc then hit ENTER.
echo.
echo.
echo Unnecessary Services: (Total 94)
echo.
echo.
echo PimIndexMaintenanceSvc
echo WinHttpAutoProxySvc
echo wlidsvc
echo DisplayEnhancementService
echo DiagTrack
echo DeviceAssociationService
echo DusmSvc
echo TabletInputService
echo RetailDemo
echo Fax
echo SharedAccess
echo lfsvc
echo WpcMonSvc
echo SessionEnv
echo MicrosoftEdgeElevationService
echo edgeupdate
echo edgeupdatem
echo autotimesvc
echo CscService
echo TermService
echo SensorDataService
echo SensorService
echo SensrSvc
echo shpamsvc
echo stisvc
echo diagnosticshub.standardcollector.service
echo PhoneSvc
echo TapiSrv
echo UevAgentService
echo WalletService
echo TokenBroker
echo WebClient
echo MixedRealityOpenXRSvc
echo stisvc
echo WbioSrvc
echo icssvc
echo Wecsvc
echo XboxGipSvc
echo XblAuthManager
echo XboxNetApiSvc
echo XblGameSave
echo SEMgrSvc
echo iphlpsvc
echo Backupper Service
echo BthAvctpSvc
echo BDESVC
echo cbdhsvc
echo CDPSvc
echo CDPUserSvc
echo DevQueryBroker
echo DevicesFlowUserSvc
echo dmwappushservice
echo DispBrokerDesktopSvc
echo TrkWks
echo dLauncherLoopback
echo EFS
echo fdPHost
echo FDResPub
echo IKEEXT
echo NPSMSvc
echo WPDBusEnum
echo PcaSvc
echo RasMan
echo RetailDemo start=disabled
echo SstpSvc start=disabled
echo ShellHWDetection
echo SSDPSRV
echo SysMain
echo OneSyncSvc
echo lmhosts
echo UserDataSvc
echo UnistoreSvc
echo Wcmsvc
echo FontCache
echo W32Time
echo tzautoupdate
echo DsSvc
echo DevicesFlowUserSvc_5f1ad
echo diagsvc
echo DialogBlockingService
echo PimIndexMaintenanceSvc_5f1ad
echo MessagingService_5f1ad
echo AppVClient
echo MsKeyboardFilter
echo NetTcpPortSharing
echo ssh-agent
echo SstpSvc
echo OneSyncSvc_5f1ad
echo wercplsupport
echo WMPNetworkSvc
echo WerSvc
echo WpnUserService_5f1ad
echo WinHttpAutoProxySvc
echo DsmSvc
echo.
echo.
echo Update and Store Services: (Total 13)
echo.
echo.
echo ClipSVC
echo DoSvc
echo upfc
echo uhssvc
echo uhssvc
echo UsoSvc
echo ossrs
echo BITS
echo wuauserv
echo PushToInstall
echo InstallService
echo LanmanServer
echo WaaSMedicSvc
echo.
echo.
echo Remote: (Total: 3)
echo RemoteRegistry
echo RemoteAccess
echo WinRM
echo.
echo
echo Printer (Total 2)
echo PrintNotify
echo Spooler
echo.
echo.
echo Bluetooth: (Total 2)
echo BTAGService
echo bthserv
echo.
echo.
echo Wifi: (Total 3)
echo RmSvc
echo NlaSvc
echo LanmanWorkstation
echo.
echo.
echo Unnecessary Tasks: (Total 82)
echo.
echo.
echo "Driver Easy Scheduled Scan"
echo "ModifyLinkUpdate"
echo "SoftMakerUpdater"
echo "StartCN"
echo "StartDVR"
echo Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser
echo Microsoft\Windows\Application Experience\PcaPatchDbTask
echo Microsoft\Windows\Application Experience\ProgramDataUpdater
echo Microsoft\Windows\Application Experience\StartupAppTask
echo Microsoft\Windows\Autochk\Proxy
echo Microsoft\Windows\Customer Experience Improvement Program\Consolidator
echo Microsoft\Windows\Customer Experience Improvement Program\UsbCeip
echo Microsoft\Windows\Defrag\ScheduledDefrag
echo Microsoft\Windows\Device Information\Device
echo Microsoft\Windows\Device Information\Device User
echo Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner
echo Microsoft\Windows\Diagnosis\Scheduled
echo Microsoft\Windows\DiskCleanup\SilentCleanup
echo Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector
echo Microsoft\Windows\DiskFootprint\Diagnostics
echo Microsoft\Windows\DiskFootprint\StorageSense
echo Microsoft\Windows\DUSM\dusmtask
echo Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask
echo Microsoft\Windows\Feedback\Siuf\DmClient
echo Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload
echo Microsoft\Windows\FileHistory\File History (maintenance mode)
echo Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures
echo Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing
echo Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting
echo Microsoft\Windows\Flighting\OneSettings\RefreshCache
echo Microsoft\Windows\Input\LocalUserSyncDataAvailable
echo Microsoft\Windows\Input\MouseSyncDataAvailable
echo Microsoft\Windows\Input\PenSyncDataAvailable
echo Microsoft\Windows\Input\TouchpadSyncDataAvailable
echo Microsoft\Windows\International\Synchronize Language Settings
echo Microsoft\Windows\LanguageComponentsInstaller\Installation
echo Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources
echo Microsoft\Windows\LanguageComponentsInstaller\Uninstallation
echo Microsoft\Windows\License Manager\TempSignedLicenseExchange
echo Microsoft\Windows\License Manager\TempSignedLicenseExchange
echo Microsoft\Windows\Management\Provisioning\Cellular
echo Microsoft\Windows\Management\Provisioning\Logon
echo Microsoft\Windows\Maintenance\WinSAT
echo Microsoft\Windows\Maps\MapsToastTask
echo Microsoft\Windows\Maps\MapsUpdateTask
echo Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parserd
echo Microsoft\Windows\MUI\LPRemove
echo Microsoft\Windows\NetTrace\GatherNetworkInfo
echo Microsoft\Windows\PI\Sqm-Tasks
echo Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem
echo Microsoft\Windows\PushToInstall\Registration
echo Microsoft\Windows\Ras\MobilityManager
echo Microsoft\Windows\RecoveryEnvironment\VerifyWinRE
echo Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask
echo Microsoft\Windows\RetailDemo\CleanupOfflineContent
echo Microsoft\Windows\Servicing\StartComponentCleanup
echo Microsoft\Windows\SettingSync\NetworkStateChangeTask
echo Microsoft\Windows\Setup\SetupCleanupTask
echo Microsoft\Windows\Setup\SnapshotCleanupTask
echo Microsoft\Windows\SpacePort\SpaceAgentTask
echo Microsoft\Windows\SpacePort\SpaceManagerTask
echo Microsoft\Windows\Speech\SpeechModelDownloadTask
echo Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization
echo Microsoft\Windows\Sysmain\ResPriStaticDbSync
echo Microsoft\Windows\Sysmain\WsSwapAssessmentTask
echo Microsoft\Windows\Task Manager\Interactive
echo Microsoft\Windows\Time Synchronization\ForceSynchronizeTime
echo Microsoft\Windows\Time Synchronization\SynchronizeTime
echo Microsoft\Windows\Time Zone\SynchronizeTimeZone
echo Microsoft\Windows\TPM\Tpm-HASCertRetr
echo Microsoft\Windows\TPM\Tpm-Maintenance
echo Microsoft\Windows\UPnP\UPnPHostConfig
echo Microsoft\Windows\User Profile Service\HiveUploadTask
echo Microsoft\Windows\WDI\ResolutionHost
echo Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange
echo Microsoft\Windows\WOF\WIM-Hash-Management
echo Microsoft\Windows\WOF\WIM-Hash-Validation
echo Microsoft\Windows\Work Folders\Work Folders Logon Synchronization
echo Microsoft\Windows\Work Folders\Work Folders Maintenance Work
echo Microsoft\Windows\Workplace Join\Automatic-Device-Join
echo Microsoft\Windows\WwanSvc\NotificationTask
echo Microsoft\Windows\WwanSvc\OobeDiscovery
echo.
echo.
echo Update and Store Tasks: (Total 12)
echo.
echo.
echo Microsoft\Windows\InstallService\ScanForUpdates
echo Microsoft\Windows\InstallService\ScanForUpdatesAsUser
echo Microsoft\Windows\InstallService\SmartRetry
echo Microsoft\Windows\InstallService\WakeUpAndContinueUpdates
echo Microsoft\Windows\InstallService\WakeUpAndScanForUpdates
echo Microsoft\Windows\UpdateOrchestrator\Report policies
echo Microsoft\Windows\UpdateOrchestrator\Schedule Scan
echo Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task
echo Microsoft\Windows\UpdateOrchestrator\UpdateModelTask
echo Microsoft\Windows\UpdateOrchestrator\USO_UxBroker
echo Microsoft\Windows\WaaSMedic\PerformRemediation
echo Microsoft\Windows\WindowsUpdate\Scheduled Start
echo.
echo.
echo Printer: (Total 2)
echo.
echo.
echo Microsoft\Windows\Printing\EduPrintProv
echo Microsoft\Windows\Printing\PrinterCleanupTask
echo.
echo.
echo Wifi: (Total 3)
echo Microsoft\Windows\WlanSvc\CDSSync
echo Microsoft\Windows\WCM\WiFiTask
echo Microsoft\Windows\NlaSvc\WiFiTask
echo.
echo.
echo All services and tasks listed above.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:C
echo.
echo.
@echo on
reg add "HKLM\System\CurrentControlSet\Services\PimIndexMaintenanceSvc" /v "Start" /t REG_DWORD /d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc" /v "Start" /t REG_DWORD /d "4" /fd
reg add "HKLM\System\CurrentControlSet\Services\BcastDVRUserService" /v "Start" /t REG_DWORD /d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\xbgm" /v "Start" /t REG_DWORD /d "4" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AppCaptureEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AudioCaptureEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "CursorCaptureEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "MicrophoneCaptureEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\System\GameConfigStore" /v "GameDVR_FSEBehavior" /t REG_DWORD /d "2" /f
reg add "HKCU\System\GameConfigStore" /v "GameDVR_HonorUserFSEBehaviorMode" /t REG_DWORD /d "2" /f
reg add "HKCU\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d "0" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Microsoft\GameBar" /v "AutoGameModeEnabled" /t REG_DWORD /d "0" /f
sc config wlidsvc start= disabled
sc config DisplayEnhancementService start= disabled
sc config DiagTrack start= disabled
sc config DusmSvc start= disabled
sc config TabletInputService start= disabled
sc config RetailDemo start= disabled
sc config Fax start= disabled
sc config SharedAccess start= disabled
sc config lfsvc start= disabled
sc config WpcMonSvc start= disabled
sc config SessionEnv start= disabled
sc config MicrosoftEdgeElevationService start= disabled
sc config edgeupdate start= disabled
sc config edgeupdatem start= disabled
sc config autotimesvc start= disabled
sc config CscService start= disabled
sc config TermService start= disabled
sc config SensorDataService start= disabled
sc config SensorService start= disabled
sc config SensrSvc start= disabled
sc config shpamsvc start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config PhoneSvc start= disabled
sc config TapiSrv start= disabled
sc config UevAgentService start= disabled
sc config WalletService start= disabled
sc config TokenBroker start= disabled
sc config WebClient start= disabled
sc config MixedRealityOpenXRSvc start= disabled
sc config stisvc start= disabled
sc config WbioSrvc start= disabled
sc config icssvc start= disabled
sc config Wecsvc start= disabled
sc config XboxGipSvc start= disabled
sc config XblAuthManager start= disabled
sc config XboxNetApiSvc start= disabled
sc config XblGameSave start= disabled
sc config SEMgrSvc start= disabled
sc config iphlpsvc start= disabled
sc config Backupper Service start= disabled
sc config BthAvctpSvc start= disabled
sc config BDESVC start= disabled
sc config cbdhsvc start= disabled
sc config CDPSvc start= disabled
sc config CDPUserSvc start= disabled
sc config DevQueryBroker start= disabled
sc config DevicesFlowUserSvc start= disabled
sc config dmwappushservice start= disabled
sc config DispBrokerDesktopSvc start= disabled
sc config TrkWks start= disabled
sc config dLauncherLoopback start= disabled
sc config EFS start= disabled
sc config fdPHost start= disabled
sc config FDResPub start= disabled
sc config IKEEXT start= disabled
sc config NPSMSvc start= disabled
sc config WPDBusEnum start= disabled
sc config PcaSvc start= disabled
sc config RasMan start= disabled
sc config RetailDemo start=disabled
sc config SstpSvc start=disabled
sc config ShellHWDetection start= disabled
sc config SSDPSRV start= disabled
sc config SysMain start= disabled
sc config OneSyncSvc start= disabled
sc config lmhosts start= disabled
sc config UserDataSvc start= disabled
sc config UnistoreSvc start= disabled
sc config Wcmsvc start= disabled
sc config FontCache start= disabled
sc config W32Time start= disabled
sc config tzautoupdate start= disabled
sc config DsSvc start= disabled
sc config DevicesFlowUserSvc_5f1ad start= disabled
sc config diagsvc start= disabled
sc config DialogBlockingService start= disabled
sc config PimIndexMaintenanceSvc_5f1ad start= disabled
sc config MessagingService_5f1ad start= disabled
sc config AppVClient start= disabled
sc config MsKeyboardFilter start= disabled
sc config NetTcpPortSharing start= disabled
sc config ssh-agent start= disabled
sc config SstpSvc start= disabled
sc config OneSyncSvc_5f1ad start= disabled
sc config wercplsupport start= disabled
sc config WMPNetworkSvc start= disabled
sc config WerSvc start= disabled
sc config WpnUserService_5f1ad start= disabled
sc config WinHttpAutoProxySvc start= disabled
sc config DsmSvc start= disabled
schtasks /DELETE /TN "AMDInstallLauncher" /f
schtasks /DELETE /TN "AMDLinkUpdate" /f
schtasks /DELETE /TN "AMDRyzenMasterSDKTask" /f
schtasks /DELETE /TN "Driver Easy Scheduled Scan" /f
schtasks /DELETE /TN "ModifyLinkUpdate" /f
schtasks /DELETE /TN "SoftMakerUpdater" /f
schtasks /DELETE /TN "StartCN" /f
schtasks /DELETE /TN "StartDVR" /f
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device" /Disable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device User" /Disable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /Disable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\Scheduled" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\StorageSense" /Disable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Disable
schtasks /Change /TN "Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClient" /Disable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload" /Disable
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting" /Disable
schtasks /Change /TN "Microsoft\Windows\Flighting\OneSettings\RefreshCache" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\LocalUserSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\MouseSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\PenSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\Input\TouchpadSyncDataAvailable" /Disable
schtasks /Change /TN "Microsoft\Windows\International\Synchronize Language Settings" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Installation" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources" /Disable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Uninstallation" /Disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Cellular" /Disable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Logon" /Disable
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser" /Disable
schtasks /Change /TN "Microsoft\Windows\MUI\LPRemove" /Disable
schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Disable
schtasks /Change /TN "Microsoft\Windows\PushToInstall\Registration" /Disable
schtasks /Change /TN "Microsoft\Windows\Ras\MobilityManager" /Disable
schtasks /Change /TN "Microsoft\Windows\RecoveryEnvironment\VerifyWinRE" /Disable
schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Disable
schtasks /Change /TN "Microsoft\Windows\RetailDemo\CleanupOfflineContent" /Disable
schtasks /Change /TN "Microsoft\Windows\Servicing\StartComponentCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\SettingSync\NetworkStateChangeTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Setup\SetupCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Setup\SnapshotCleanupTask" /Disable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Disable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceManagerTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Speech\SpeechModelDownloadTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\ResPriStaticDbSync" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Task Manager\Interactive" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
schtasks /Change /TN "Microsoft\Windows\Time Zone\SynchronizeTimeZone" /Disable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-HASCertRetr" /Disable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Disable
schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Disable
schtasks /Change /TN "Microsoft\Windows\User Profile Service\HiveUploadTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WDI\ResolutionHost" /Disable
schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Disable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Management" /Disable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Validation" /Disable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Logon Synchronization" /Disable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Maintenance Work" /Disable
schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Disable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\NotificationTask" /Disable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\OobeDiscovery" /Disable
schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /Disable
@echo off
echo.
echo.
echo unnecessary services and tasks DISABLED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:D
echo.
echo.
@echo on
reg add "HKLM\System\CurrentControlSet\Services\PimIndexMaintenanceSvc" /v "Start" /t REG_DWORD /d "3" /f
reg add "HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc" /v "Start" /t REG_DWORD /d "3" /fd
sc config wlidsvc start= demand
sc config DisplayEnhancementService start= demand
sc config DiagTrack start= demand
sc config DusmSvc start= demand
sc config TabletInputService start= demand
sc config RetailDemo start= demand
sc config Fax start= demand
sc config SharedAccess start= demand
sc config lfsvc start= demand
sc config WpcMonSvc start= demand
sc config SessionEnv start= demand
sc config MicrosoftEdgeElevationService start= demand
sc config edgeupdate start= demand
sc config edgeupdatem start= demand
sc config autotimesvc start= demand
sc config CscService start= demand
sc config TermService start= demand
sc config SensorDataService start= demand
sc config SensorService start= demand
sc config SensrSvc start= demand
sc config shpamsvc start= demand
sc config diagnosticshub.standardcollector.service start= demand
sc config PhoneSvc start= demand
sc config TapiSrv start= demand
sc config UevAgentService start= demand
sc config WalletService start= demand
sc config TokenBroker start= demand
sc config WebClient start= demand
sc config MixedRealityOpenXRSvc start= demand
sc config stisvc start= demand
sc config WbioSrvc start= demand
sc config icssvc start= demand
sc config Wecsvc start= demand
sc config XboxGipSvc start= demand
sc config XblAuthManager start= demand
sc config XboxNetApiSvc start= demand
sc config XblGameSave start= demand
sc config SEMgrSvc start= demand
sc config iphlpsvc start= demand
sc config Backupper Service start= demand
sc config BthAvctpSvc start= demand
sc config BDESVC start= demand
sc config cbdhsvc start= demand
sc config CDPSvc start= demand
sc config CDPUserSvc start= demand
sc config DevQueryBroker start= demand
sc config DevicesFlowUserSvc start= demand
sc config dmwappushservice start= demand
sc config DispBrokerDesktopSvc start= demand
sc config TrkWks start= demand
sc config dLauncherLoopback start= demand
sc config EFS start= demand
sc config fdPHost start= demand
sc config FDResPub start= demand
sc config IKEEXT start= demand
sc config NPSMSvc start= demand
sc config WPDBusEnum start= demand
sc config PcaSvc start= demand
sc config RasMan start= demand
sc config RetailDemo start=disabled
sc config SstpSvc start=disabled
sc config ShellHWDetection start= demand
sc config SSDPSRV start= demand
sc config SysMain start= demand
sc config OneSyncSvc start= demand
sc config lmhosts start= demand
sc config UserDataSvc start= demand
sc config UnistoreSvc start= demand
sc config Wcmsvc start= demand
sc config FontCache start= demand
sc config W32Time start= demand
sc config tzautoupdate start= demand
sc config DsSvc start= demand
sc config DevicesFlowUserSvc_5f1ad start= demand
sc config diagsvc start= demand
sc config DialogBlockingService start= demand
sc config PimIndexMaintenanceSvc_5f1ad start= demand
sc config MessagingService_5f1ad start= demand
sc config AppVClient start= demand
sc config MsKeyboardFilter start= demand
sc config NetTcpPortSharing start= demand
sc config ssh-agent start= demand
sc config SstpSvc start= demand
sc config OneSyncSvc_5f1ad start= demand
sc config wercplsupport start= demand
sc config WMPNetworkSvc start= demand
sc config WerSvc start= demand
sc config WpnUserService_5f1ad start= demand
sc config WinHttpAutoProxySvc start= demand
sc config DsmSvc start= demand
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Enable
schtasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Enable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Enable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Enable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Enable
schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Enable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device" /Enable
schtasks /Change /TN "Microsoft\Windows\Device Information\Device User" /Enable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /Enable
schtasks /Change /TN "Microsoft\Windows\Diagnosis\Scheduled" /Enable
schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Enable
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Enable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Enable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\StorageSense" /Enable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Enable
schtasks /Change /TN "Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClient" /Enable
schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload" /Enable
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Enable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures" /Enable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing" /Enable
schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting" /Enable
schtasks /Change /TN "Microsoft\Windows\Flighting\OneSettings\RefreshCache" /Enable
schtasks /Change /TN "Microsoft\Windows\Input\LocalUserSyncDataAvailable" /Enable
schtasks /Change /TN "Microsoft\Windows\Input\MouseSyncDataAvailable" /Enable
schtasks /Change /TN "Microsoft\Windows\Input\PenSyncDataAvailable" /Enable
schtasks /Change /TN "Microsoft\Windows\Input\TouchpadSyncDataAvailable" /Enable
schtasks /Change /TN "Microsoft\Windows\International\Synchronize Language Settings" /Enable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Installation" /Enable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources" /Enable
schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Uninstallation" /Enable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Enable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Enable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Cellular" /Enable
schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Logon" /Enable
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Enable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser" /Enable
schtasks /Change /TN "Microsoft\Windows\MUI\LPRemove" /Enable
schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Enable
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Enable
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Enable
schtasks /Change /TN "Microsoft\Windows\PushToInstall\Registration" /Enable
schtasks /Change /TN "Microsoft\Windows\Ras\MobilityManager" /Enable
schtasks /Change /TN "Microsoft\Windows\RecoveryEnvironment\VerifyWinRE" /Enable
schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Enable
schtasks /Change /TN "Microsoft\Windows\RetailDemo\CleanupOfflineContent" /Enable
schtasks /Change /TN "Microsoft\Windows\Servicing\StartComponentCleanup" /Enable
schtasks /Change /TN "Microsoft\Windows\SettingSync\NetworkStateChangeTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Setup\SetupCleanupTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Setup\SnapshotCleanupTask" /Enable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Enable
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceManagerTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Speech\SpeechModelDownloadTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" /Enable
schtasks /Change /TN "Microsoft\Windows\Sysmain\ResPriStaticDbSync" /Enable
schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Enable
schtasks /Change /TN "Microsoft\Windows\Task Manager\Interactive" /Enable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Enable
schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Enable
schtasks /Change /TN "Microsoft\Windows\Time Zone\SynchronizeTimeZone" /Enable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-HASCertRetr" /Enable
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Enable
schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Enable
schtasks /Change /TN "Microsoft\Windows\User Profile Service\HiveUploadTask" /Enable
schtasks /Change /TN "Microsoft\Windows\WDI\ResolutionHost" /Enable
schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Enable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Management" /Enable
schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Validation" /Enable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Logon Synchronization" /Enable
schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Maintenance Work" /Enable
schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Enable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\NotificationTask" /Enable
schtasks /Change /TN "Microsoft\Windows\WwanSvc\OobeDiscovery" /Enable
@echo off
echo.
echo.
echo unnecessary services and tasks REACTIVATED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:E
echo.
echo.
@echo on
sc stop ClipSVC
sc stop uhssvc
sc stop upfc
sc stop PushToInstall
sc stop BITS
sc stop InstallService
sc stop uhssvc
sc stop UsoSvc
sc stop wuauserv
sc stop LanmanServer
sc config ClipSVC start= disabled
sc config BITS start= disabled
sc config InstallService start= disabled
sc config uhssvc start= disabled
sc config UsoSvc start= disabled
sc config wuauserv start= disabled
sc config LanmanServer start= disabled
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InstallService" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upfc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\uhssvc" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ossrs" /v Start /t reg_dword /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpdatePeriod" /t REG_DWORD /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgrade" /t REG_DWORD /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgradePeriod" /t REG_DWORD /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DisableWindowsUpdateAccess" /t REG_DWORD /d "1" /f
schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdates" /Disable
schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdatesAsUser" /Disable
schtasks /Change /TN "Microsoft\Windows\InstallService\SmartRetry" /Disable
schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndContinueUpdates" /Disable
schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndScanForUpdates" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Report policies" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\UpdateModelTask" /Disable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\USO_UxBroker" /Disable
schtasks /Change /TN "Microsoft\Windows\WaaSMedic\PerformRemediation" /Disable
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable
@echo off
echo.1
echo.
echo windows update and store services and tasks DISABLED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
echo Some windows update tasks can not be disabled as administrator, for instructions press 3.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:F
echo.
echo.
@echo on
sc config ClipSVC start= demand
sc config uhssvc start= demand
sc config upfc start= demand
sc config PushToInstall start= demand
sc config BITS start= demand
sc config InstallService start= demand
sc config uhssvc start= demand
sc config UsoSvc start= demand
sc config wuauserv start= demand
sc config LanmanServer start= demand
sc config NlaSvc start= demand
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InstallService" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upfc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\uhssvc" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ossrs" /v Start /t reg_dword /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpdatePeriod" /t REG_DWORD /d "0" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgrade" /t REG_DWORD /d "0" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgradePeriod" /t REG_DWORD /d "0" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DisableWindowsUpdateAccess" /t REG_DWORD /d "0" /f
schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdates" /Enable
schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdatesAsUser" /Enable
schtasks /Change /TN "Microsoft\Windows\InstallService\SmartRetry" /Enable
schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndContinueUpdates" /Enable
schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndScanForUpdates" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Report policies" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\UpdateModelTask" /Enable
schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\USO_UxBroker" /Enable
schtasks /Change /TN "Microsoft\Windows\WaaSMedic\PerformRemediation" /Enable
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Enable
schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Enable
@echo off
echo.
echo.
echo windows update and store services and tasks REACTIVATED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:G
echo.
echo.
@echo on
sc config RemoteRegistry start= disabled
sc config RemoteAccess start= disabled
sc config WinRM start= disabled
sc config RmSvc start= disabled
@echo off
echo.
echo.
echo remote services and tasks DISABLED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:H
echo.
echo.
@echo on
sc config RemoteRegistry start= demand
sc config RemoteAccess start= demand
sc config WinRM start= demand
sc config RmSvc start= demand
@echo off
echo.
echo.
echo remote services and tasks REACTIVATED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:I
echo.
echo.
@echo on
sc config PrintNotify start= disabled
sc config Spooler start= disabled
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Disable
@echo off
echo.
echo.
echo printer services and tasks DISABLED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:J
echo.
echo.
@echo on
sc config PrintNotify start= demand
sc config Spooler start= demand
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Enable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Enable
@echo off
echo.
echo.
echo printer services and tasks REACTIVATED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:K
echo.
echo.
@echo on
sc config BTAGService start= disabled
sc config bthserv start= disabled
@echo off
echo.
echo.
echo bluetooth services and tasks DISABLED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:L
echo.
echo.
@echo on
sc config BTAGService start= demand
sc config bthserv start= demand
@echo off
echo bluetooth services and tasks REACTIVATED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:M
echo.
echo.
@echo on
sc config NlaSvc start= disabled
sc config LanmanWorkstation start= disabled
schtasks /Change /TN "Microsoft\Windows\WlanSvc\CDSSync" /Disable
schtasks /Change /TN "Microsoft\Windows\WCM\WiFiTask" /Disable
schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Disable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Disable
reg add "HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator" /v "NoActiveProbe" /t REG_DWORD /d "1" /f
reg add "HKLM\System\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v "EnableActiveProbing" /t REG_DWORD /d "0" /f
sc config BFE start= demand
sc config Dnscache start= demand
sc config WinHttpAutoProxySvc start= demand
sc config Dhcp start= auto
sc config DPS start= auto
sc config lmhosts start= disabled
sc config nsi start= auto
sc config Wcmsvc start= disabled
sc config Winmgmt start= auto
sc config WlanSvc start= demand
@echo off
echo.
echo.
echo wifi services and tasks DISABLED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:N
echo.
echo.
@echo on
sc config LanmanWorkstation start= demand
sc config WdiServiceHost start= demand
sc config NcbService start= demand
sc config ndu start= demand
sc config Netman start= demand
sc config netprofm start= demand
sc config WwanSvc start= demand
sc config Dhcp start= auto
sc config DPS start= auto
sc config lmhosts start= auto
sc config NlaSvc start= auto
sc config nsi start= auto
sc config RmSvc start= auto
sc config Wcmsvc start= auto
sc config Winmgmt start= auto
sc config WlanSvc start= auto
schtasks /Change /TN "Microsoft\Windows\WlanSvc\CDSSync" /Enable
schtasks /Change /TN "Microsoft\Windows\WCM\WiFiTask" /Enable
schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Enable
schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Enable
reg add "HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator" /v "NoActiveProbe" /t REG_DWORD /d "0" /f
reg add "HKLM\System\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v "EnableActiveProbing" /t REG_DWORD /d "1" /f
reg add "HKLM\System\CurrentControlSet\Services\BFE" /v "Start" /t REG_DWORD /d "2" /f
reg add "HKLM\System\CurrentControlSet\Services\Dnscache" /v "Start" /t REG_DWORD /d "2" /f
reg add "HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc" /v "Start" /t REG_DWORD /d "3" /f
net start DPS
net start nsi
net start NlaSvc
net start Dhcp
net start Wcmsvc
net start RmSvc
wmic path win32_networkadapter where index=0 call disable
wmic path win32_networkadapter where index=1 call disable
wmic path win32_networkadapter where index=2 call disable
wmic path win32_networkadapter where index=3 call disable
wmic path win32_networkadapter where index=4 call disable
wmic path win32_networkadapter where index=5 call disable
wmic path win32_networkadapter where index=0 call enable
wmic path win32_networkadapter where index=1 call enable
wmic path win32_networkadapter where index=2 call enable
wmic path win32_networkadapter where index=3 call enable
wmic path win32_networkadapter where index=4 call enable
wmic path win32_networkadapter where index=5 call enable
arp -d *
route -f
nbtstat -R
nbtstat -RR
netcfg -d
netsh winsock reset
netsh int 6to4 reset all
netsh int httpstunnel reset all
netsh int ip reset
netsh int isatap reset all
netsh int portproxy reset all
netsh int tcp reset all
netsh int teredo reset all
netsh branchcache reset
ipconfig /release
ipconfig /renew
@echo off
echo.
echo.
echo wifi services and tasks REACTIVATED.
echo If access was denied you are not in administrator mode.
echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
set /p example=
if %example% == 0 goto start
if %example% == 1 goto 1
if %example% == 2 goto 2
if %example% == 3 goto 3
if %example% == 4 goto 4
if %example% == 5 goto 5
if %example% == 6 goto 6
if %example% == 7 goto 7
if %example% == 8 goto 8
if %example% == 9 goto 9
if %example% == a goto A
if %example% == A goto A
if %example% == b goto B
if %example% == B goto B
if %example% == c goto C
if %example% == C goto C
if %example% == d goto D
if %example% == D goto D
if %example% == e goto E
if %example% == E goto E
if %example% == f goto F
if %example% == F goto F
if %example% == g goto G
if %example% == G goto G
if %example% == h goto H
if %example% == H goto H
if %example% == i goto I
if %example% == I goto I
if %example% == j goto J
if %example% == J goto J
if %example% == k goto K
if %example% == K goto K
if %example% == l goto L
if %example% == L goto L
if %example% == m goto M
if %example% == M goto M
if %example% == n goto N
if %example% == N goto N
if %example% == r goto R
if %example% == R goto R
if %example% == x goto X
if %example% == X goto X
pause
:3
start https://yewtu.be/watch?v=03UvVWg1rrQ
goto start
pause
:1
start https://yewtu.be/channel/UCb5DJKYvC4fzjzv7oQbmFRA
goto start
pause
:X
start https://codeberg.org/PrivacyIsFreedom/PrivacyIsFreedom
start https://mega.nz/folder/Ec12lKzb#zEMGh0bReGSAe2EIj8s_Bg
start https://github.com/PrivacyIsFreedom/Privacy-is-Freedom
goto start
pause
:R
:r
shutdown /r /f /t 0

Serviisid kinni w11

#Requires -RunAsAdministrator
# "test service" and "core svc test" means potentially needed to work 
# WIP SCRIPT!

$services = @(
    "diagnosticshub.standardcollector.service"     # Microsoft (R) Diagnostics Hub Standard Collector Service
    "DiagTrack"                                    # Diagnostics Tracking Service
    "dmwappushservice"                             # WAP Push Message Routing Service (see known issues)
    "lfsvc"                                        # Geolocation Service
    "MapsBroker"                                   # Downloaded Maps Manager
    "NetTcpPortSharing"                            # Net.Tcp Port Sharing Service
    "RemoteAccess"                                 # Routing and Remote Access
    "RemoteRegistry"                               # Remote Registry
    "SharedAccess"                                 # Internet Connection Sharing (ICS)
    "TrkWks"                                       # Distributed Link Tracking Client
    "WbioSrvc"                                     # Windows Biometric Service (required for Fingerprint reader / facial detection)
    #"WlanSvc"                                     # WLAN AutoConfig, can break WIFI
    "WMPNetworkSvc"                                # Windows Media Player Network Sharing Service
    #"wscsvc"                                      # Windows Security Center Service
    "WSearch"                                      # Windows Search
    "XblAuthManager"                               # Xbox Live Auth Manager
    "XblGameSave"                                  # Xbox Live Game Save Service
    "XboxNetApiSvc"                                # Xbox Live Networking Service
    "XboxGipSvc"                                   #Disables Xbox Accessory Management Service
    #"ndu" # test                                  # Windows Network Data Usage Monitor
    "WerSvc"                                       #disables windows error reporting
    "Spooler"                                      #Disables your printer
    "Fax"                                          #Disables fax
    "fhsvc"                                        #Disables fax histroy
    "gupdate"                                      #Disables google update
    "gupdatem"                                     #Disable another google update
    "stisvc"                                       #Disables Windows Image Acquisition (WIA)
    "AJRouter"                                     #Disables (needed for AllJoyn Router Service)
    "MSDTC"                                        # Disables Distributed Transaction Coordinator
    "WpcMonSvc"                                    #Disables Parental Controls
    "PhoneSvc"                                     #Disables Phone Service(Manages the telephony state on the device)
   # "PrintNotify"                                  #Disables Windows printer notifications and extentions
    "PcaSvc"                                       #Disables Program Compatibility Assistant Service
    "WPDBusEnum"                                   #Disables Portable Device Enumerator Service
    "LicenseManager"                               #Disable LicenseManager(Windows store may not work properly)
    "seclogon"                                     #Disables  Secondary Logon(disables other credentials only password will work)
    "SysMain"                                      #Disables sysmain
    "lmhosts"                                      #Disables TCP/IP NetBIOS Helper
    "wisvc"                                        #Disables Windows Insider program(Windows Insider will not work)
    "FontCache"                                    #Disables Windows font cache
    "RetailDemo"                                   #Disables RetailDemo whic is often used when showing your device
    "ALG"                                          #Disables Application Layer Gateway Service(Provides support for 3rd party protocol plug-ins for Internet Connection Sharing)
    "SCardSvr"                                     #Disables Windows smart card, most home users don't need it, businesses may need it however
    "SCPolicySvc"                                  #Allows the system to be configured to lock the user desktop upon smart card removal.
    "ScDeviceEnum"                                 #Creates software device nodes for all smart card readers accessible to a given session. If this service is disabled, WinRT APIs will not be able to enumerate smart card readers.
    "MessagingService_34048"                       # Service supporting text messaging and related functionality.
    "wlidsvc"                                      #Enables user sign-in through Microsoft account identity services.  If you loged in using a microsft account, while setting up Windows your pc will likely break
    "EntAppSvc"                                    #Disables enterprise application management. Home users likely don't need this.
    "BthAvctpSvc"                                  #Disables AVCTP service (if you use  Bluetooth Audio Device or Wireless Headphones. then don't disable this)
    #"FrameServer"                                 #Zoom won't work,Disables Windows Camera Frame Server(this allows multiple clients to access video frames from camera devices.)
    "Browser"                                      #Disables computer browser
    "BthAvctpSvc"                                  #AVCTP service (This is Audio Video Control Transport Protocol service.)
    "BDESVC"                                       #Disables bitlocker
    "iphlpsvc"                                     #Disables ipv6 but most websites don't use ipv6 they use ipv4     
    "edgeupdate"                                   #Disables one of edge's update service
    "MicrosoftEdgeElevationService"                #Disables one of edge's  service 
    "edgeupdatem"                                  #Disbales another one of update service (disables edgeupdatem)                          
    "SEMgrSvc"                                     #Disables Payments and NFC/SE Manager (Manages payments and Near Field Communication (NFC) based secure elements)
    #"PNRPsvc"                                     #Disables peer Name Resolution Protocol ( some peer-to-peer and collaborative applications, such as Remote Assistance, may not function, Discord will still work)
    #"p2psvc"                                      #Disbales Peer Name Resolution Protocol(nables multi-party communication using Peer-to-Peer Grouping.  If disabled, some applications, such as HomeGroup, may not function. Discord will still work)
    #"p2pimsvc"                                    #Disables Peer Networking Identity Manager (Peer-to-Peer Grouping services may not function, and some applications, such as HomeGroup and Remote Assistance, may not function correctly.Discord will still work)
    "PerfHost"                                     #Disables  remote users and 64-bit processes to query performance .
    "BcastDVRUserService_48486de"                  #Disables GameDVR and Broadcast   is used for Game Recordings and Live Broadcasts
    "CaptureService_48486de"                       #Disables ptional screen capture functionality for applications that call the Windows.Graphics.Capture API.  
    "cbdhsvc_48486de"                              #Disables   cbdhsvc_48486de (clipboard service it disables)
    "BluetoothUserService_48486de"                 #disbales BluetoothUserService_48486de (The Bluetooth user service supports proper functionality of Bluetooth features relevant to each user session.)
  # "WpnService"    test service                  #Disables WpnService (Push Notifications may not work )
    "DoSvc"                                        #Performs content delivery optimization tasks, mainly for windows updates.
    "RtkBtManServ"                                 #Disables Realtek Bluetooth Device Manager Service
    "QWAVE"                                        #Disables Quality Windows Audio Video Experience (audio and video might sound worse)
    "SNMPTrap"                                     #Receives trap messages generated by local or remote Simple Network Management Protocol (SNMP) agents and forwards the messages to SNMP management programs running on this computer. If this service is stopped, SNMP-based programs on this computer will not receive SNMP trap messages. If this service is disabled, any services that explicitly depend on it will fail to start.
    "SECOMNService"                                #Sound Research SECOMN Service
    #"WpnUserService_34048"  #core svc test        #Required by WpnService, allows for notifications from other apps
    "AMD External Events Utility"                  # Placeholder
    "cbdhsvc_34048"                                # Disables the windows clipboard
    "autotimesvc"                                  # This service sets time based on NITZ messages from a Mobile Network
    #"TimeBrokerSvc"  # not reccomended to disabler# Windows UWP(Microsft store apps) will stop working. Coordinates execution of background work for WinRT application. If this service is stopped or disabled, then background work might not be triggered.
    "TokenBroker"                                  # This service is used by Web Account Manager to provide single-sign-on to apps and services.
    "RmSvc"                                        # Radio Management and Airplane Mode Service
    "RtkAudioUniversalService"                     # Realtek Audio Universal Service
    "SensorDataService"                            # Delivers data from a variety of sensors
    #"OneSyncSvc_34048"                             # May be named differently. This service synchronizes mail, contacts, calendar and various other user data. Mail and other applications dependent on this functionality will not work properly when this service is not running.
    #"OneSyncSvc"
    "EventLog"                                    # This service manages events and event logs. 
    "tzautoupdate"                                 # Automatically sets the system time zone.
    "SynTPEnhService"                              # Synaptics TouchPad Enhancements Service
    #"TermService"  # test service                 # Allows users to connect interactively to a remote computer. Remote Desktop and Remote Desktop Session Host Server depend on this service.  To prevent remote use of this computer, clear the checkboxes on the Remote tab of the System properties control panel item.
    #"SessionEnv"  # test service                  # Remote Desktop Configuration service (RDCS) is responsible for all Remote Desktop Services and Remote Desktop related configuration and session maintenance activities that require SYSTEM context. These include per-session temporary folders, RD themes, and RD certificates.
    "RasMan"                                       # Manages dial-up and virtual private network (VPN) connections from your computer to the Internet or other remote networks. If this service is disabled, any services that explicitly depend on it will fail to start."
    "BcastDVRUserService_34048"                    # This user service is used for Game Recordings and Live Broadcasts
    "PenService_34048"                             # Digital pen service. All digital pens will fail to work
    #  "NPSMSvc_34048"  test service               # Provides support for the Now Playing feature.
    #   "DPS"                                      # The Diagnostic Policy Service enables problem detection, troubleshooting and resolution for Windows components. If this service is stopped, diagnostics will no longer function.
    "tapisrv"                                      # Provides Telephony API (TAPI) support for programs that control telephony devices on the local computer and, through the LAN, on servers that are also running the service.
    # HP services
    "HPAppHelperCap"                                #Disable HPAppHelperCap(used by hp software; safe to remove)
    "HPDiagsCap"                                    #Disable HPDiagsCap(used by hp software; safe to remove)
    "HPNetworkCap"                                  #Disable HPNetworkCap(used by hp software; safe to remove)
    "HPSysInfoCap"                                  #Disable HPSysInfoCap(used by hp software; safe to remove)
    "HpTouchpointAnalyticsService"                  #Disable HpTouchpointAnalyticsService(used by hp software; safe to remove)
   
    #hyper-v services
     "HvHost"                                       #Manages and supports Hyper-V virtualization services
    "vmickvpexchange"                               #Facilitates communication between the host and virtual machines
    "vmicguestinterface"                            #Provides network communication for guest virtual machines
    "vmicshutdown"                                  #Allows for proper shutdown coordination between host and virtual machines
    "vmicheartbeat"                                 #Monitors the heartbeat status of virtual machines for health monitoring
    "vmicvmsession"                                 #Manages sessions between the host and virtual machines
    "vmicrdv"                                       #Handles Remote Desktop Virtualization
    "vmictimesync"                                  #Ensures time synchronization between the host and virtual machines.
    # Dell services can somone with a dell latop conform these are the names?
    "SupportAssistAgent"                            #Automated support and system health monitoring for Dell Computer
    "DellUpService"                                 #Manages Dell driver and software updates for Dell Computer
    "DataVault"                                     #Provides data protection and management features for Dell computer
    "DellCustomerConnect"                           #Offers promotions and deals for Dell computer
    "Dell.Foundation.Agent"                         #Supports other Dell software functionalities for Dell computer
    "nosGetPlusHelper"                              #Handles software delivery and installation process for Dell computer
    
    #Lenovo can someone with a dell conform these are the names?
    "LSCNotify"                                     #Collects data for for Lenovo computer
    "LnvAgent"                                      #Provides system updates and support For Lenovo computers
    "Lenovo.Modern.ImController.PluginHost.CompanionApp" # Part of Lenovo Vantage for system management.
    "Lenovo.Modern.ImController.PluginHost.Device"  # Handles device-related functions in Lenovo Vantage.
    "Lenovo.Modern.ImController"                    #Manages system settings and updates.
    "LenovoUtility"                                 #Offers various utility functions for Lenovo devices.
    # Services which cannot be disabled

#    "Themes"                                   # This disables all Personalization setting  
#    "AppXSvc"                                  # https://answers.microsoft.com/en-us/windows/forum/all/whats-the-point-that-when-you-disable-the-state/50dea8b0-50a0-4404-83e2-b70277520973
#    "RpcSs"                                    #The RPCSS service is the Service Control Manager for COM and DCOM servers. It performs object activations requests, object exporter resolutions and distributed garbage collection for COM and DCOM servers. If this service is stopped or disabled, programs using COM or DCOM will not function properly. It is strongly recommended that you have the RPCSS service running.
#    "RpcEptMapper"                             #The RPCSS service is the Service Control Manager for COM and DCOM servers. It performs object activations requests, object exporter resolutions and distributed garbage collection for COM and DCOM servers. If this service is stopped or disabled, programs using COM or DCOM will not function properly. It is strongly recommended that you have the RPCSS service running.                                #The Diagnostic Policy Service enables problem detection, troubleshooting and resolution for Windows components.  If this service is stopped, diagnostics will no longer function.
#   "WdiServiceHost"                            #The Diagnostic Service Host is used by the Diagnostic Policy Service to host diagnostics that need to run in a Local Service context.  If this service is stopped, any diagnostics that depend on it will no longer function.
#   "WdiSystemHost"                             #The Diagnostic System Host is used by the Diagnostic Policy Service to host diagnostics that need to run in a Local System context.  If this service is stopped, any diagnostics that depend on it will no longer function.
#   "BFE"                                       #Disables Base Filtering Engine (BFE) (is a service that manages firewall and Internet Protocol security)
#   "BrokerInfrastructure"                      #Disables Windows infrastructure service that controls which background tasks can run on the system.
#   "SENS"                                      # Monitors system events and notifies subscribers to COM+ Event System of these events.
#   "AppIDSvc"                                  # Determines and verifies the identity of an application. Disabling this service will prevent AppLocker from being enforced.
#   "camsvc"                                    # Provides facilities for managing UWP apps access to app capabilities as well as checking an app's access to specific app capabilities.
#   "WdNisSvc"                                  # Helps guard against intrusion attempts targeting known and newly discovered vulnerabilities in network protocols.
#   "StorSvc"                                   #Disables StorSvc (usb external hard drive will not be reconised by windows)
    #"StateRepository"                              #Provides required infrastructure support for the application model. Apps on the Microsoft store will not work https://answers.microsoft.com/en-us/windows/forum/all/whats-the-point-that-when-you-disable-the-state/50dea8b0-50a0-4404-83e2-b70277520973
    #"CertPropSvc"   # needed service              # Copies user certificates and root certificates from smart cards into the current user's certificate store, detects when a smart card is inserted into a smart card reader, and, if needed, installs the smart card Plug and Play minidriver.



# TextInputManagementService seems to be needed to login
# CloudBackupRestoreSvc_34048 is not needed to be disabled

    Out-File -FilePath  ".\log.txt" -Append
)
# These services break core functionality
#$deepservices =@ (
#    "LanmanServer"                            #The LanmanServer service allows your computer to share files and printers with other devices on your network.
#    "Dhcp"                                    #Registers and updates IP addresses and DNS records for this computer. If this service is stopped, this computer will not receive dynamic IP addresses and DNS updates. If this service is disabled, any services that explicitly depend on it will fail to start.
#    "Dnscache"  not reccomended to disable    #The DNS Client service (dnscache) caches Domain Name System (DNS) names and registers the full computer name for this computer. If the service is stopped, DNS names will continue to be resolved. However, the results of DNS name queries will not be cached and the computer's name will not be registered. If the service is disabled, any services that explicitly depend on it will fail to start.
#    "Power"                                   #Manages power policy and power policy notification delivery.
#     "VaultSvc"                               #Provides secure storage and retrieval of credentials to users, applications and security service packages
#    "TroubleshootingSvc"                      #The Recommended Troubleshooting Service 
#    "diagsvc"                                 #Executes diagnostic actions for troubleshooting support   

#)

# uncomment the above services and the script below in order for it to run
# This disables core services which may break core functionality
#foreach ($service in $services) {
#    Get-Service -Name $service | Stop-Service -Force
#    Get-Service -Name $service | Set-Service -StartupType Disabled
#    Write-Output "Trying to disable $service"
#    Write-Output "Trying to Stop $service"
#    Out-File -FilePath  ".\log.txt"
#}

foreach ($service in $services) {
    Get-Service -Name $service | Stop-Service -Force | Out-File -FilePath  ".\log.txt" -Append
    Get-Service -Name $service | Set-Service -StartupType Disabled | Out-File -FilePath  ".\log.txt" -Append
    Write-Output "Trying to disable $service" | Out-File -FilePath  ".\log.txt" -Append
    Write-Output "Trying to Stop $service" | Out-File -FilePath  ".\log.txt" -Append
}

# Disables all acer services (I don't have an acer laptop, either remove this script or manually disable the services.If you dont trust it)
$acer = Get-Service | Where-Object {$_.DisplayName -like '*Acer*'}
foreach ($acer in $acer) {
    Get-Service -Name $acer | Stop-Service -Force 
    Get-Service -Name $acer | Set-Service -StartupType Disabled 
    The follow acer service is being stopped Stop-Service $acer 
    The follow acer service is being disabled Disable-Service $acer 
}

#Disables all Samsung services( I don't have an Samsung laptop, either remove this script or manually disable the services, If you dont trust it)
$sam = Get-Service | Where-Object {$_.DisplayName -like '*Samsung*'}
foreach ($sam in $sam) {
    Get-Service -Name $sam | Stop-Service -Force 
    Get-Service -Name $sam | Set-Service -StartupType Disabled 
    The follow acer service is being stopped Stop-Service $sam
    The follow acer service is being disabled Disable-Service $sam
    Out-File -FilePath  ".\log.txt"
}

#Disables all MSI services( I don't have an MSI, either remove this script or manually disable the services. If you dont trust it)
$msi = Get-Service | Where-Object {$_.DisplayName -like '*msi*'}
foreach ($msi in $msi) {
    Get-Service -Name $msi | Stop-Service -Force 
    Get-Service -Name $msi | Set-Service -StartupType Disabled 
    The follow acer service is being stopped Stop-Service $msi
    The follow acer service is being disabled Disable-Service $msi
    Out-File -FilePath  ".\log.txt"
}

#Disables all Huawei services( I don't have an Huawei laptop, either remove this script or manually disable the services. If you dont trust it)
$Huawei = Get-Service | Where-Object {$_.DisplayName -like '*Huawei*'}
foreach ($Huawei in $Huawei) {
    Get-Service -Name $Huawei | Stop-Service -Force 
    Get-Service -Name $Huawei | Set-Service -StartupType Disabled 
    The follow acer service is being stopped Stop-Service $Huawei
    The follow acer service is being disabled Disable-Service $Huawei 
}


source: https://gist.github.com/Brandonbr1/e93fc0219ba68fa0ed37a5f1e4717c1d

Skripte

netsh wlan set hostednetwork mode=disallow
netsh wlan stop hostednetwork
sfc-scannow

Set-NetIsatapConfiguration -State disabled
Set-Net6to4Configuration -State disabled
Set-NetTeredoConfiguration -Type disabled

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor -All
 
DISM /Online /Disable-Feature:Microsoft-Hyper-V

Disable-NetAdapterBinding -InterfaceDescription "Intel(R) PRO/1000 MT Network Connection " -ComponentID ms_tcpip6

Ipv6 kinni Powershell

echo "Aimar kirjutas 24.02.2021 taiendas 26.02"
echo "keela ipv6"
C:\WINDOWS\system32>netstat -b -o -a -r -n
netsh int ipv6 isatap set state disabled
netsh int ipv6 6to4 set state disabled
netsh interface teredo set state disable
echo "CMD tcpip6 binding maha"
netsh interface teredo set state disabled
netsh interface ipv6 6to4 set state state=disabled undoonstop=disabled
netsh interface ipv6 isatap set state state=disabled
echo "flsuhdns"
ipconfig /flushdns
echo "PRINDI ROUTE"
Route print
echo "prindi aktiivsed routingud"
netstat -r
netstat -abno 
echo "kustuta ruuting"
netsh interface ip delete destinationcache
Route print
echo "näita ARP"
arp -a
echo "kustuta ARP"
netsh interface ip delete arpcache
echo "tee tracert"
tracert ::1
echo "kui vastab siis on jama - kustutame ära"
route delete ::1/128
route delete ff00::/8
Route print
echo "ruuting tabel puhtaks"
echo "TCIP SERVICE MAHA"
sc config TCPIP6 start=disabled
echo "registrist ka maha igasugused kahtlased tunnelid"
reg delete Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP6TUNNEL /v /f
reg delete Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIPTUNNEL /v /f
reg delete Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tunnel /v /f
reg delete Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UdkUserSvc /f
reg delete HKLM\SYSTEM\CurrentControlSet\Services\UdkUserSvc_15133e /v /f
ipconfig /flushdns
ipconfig /release
ipconfig /renew
netsh int ip stop
netsh int ip start
echo "mingid netsh asjad - näitavad interfeisse"
netsh int tcp show global
netsh interface ipv4 show interfaces
netsh interface ipv6 show interfaces
ipconfig /displaydns






echo "keela kõik võrguadapterid mis pole aktiivsed - ainult kasutajatel"
wmic path win32_networkadapter where PhysicalAdapter=True call disable


echo "powershell tcpip6 binding maha"
Get-NetAdapterBinding -ComponentID ms_tcpip6
Disable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6
Get-NetAdapterBinding -ComponentID ms_tcpip6
echo "eemaldaad üleliigsed adapterid"
Get-NetAdapter -Name * -IncludeHidden
Get-NetAdapter -Name vEthernet* | fl * | more
Get-NetAdapter -Name * -IncludeHidden | Format-List -Property *
Get-NetAdapter -Name * -IncludeHidden | where adminstatus -eq “up”
Get-NetAdapter -Name * -IncludeHidden | where adminstatus -eq “down”
Get-NetAdapter -Name vEthernet* | Disable-NetAdapter
Disable-NetAdapter -Name "*" 
echo "netbios maha üle tcp ip"
Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces\tcpip* -Name NetbiosOptions -Value 2
echo "powershell alias otsimine"
C:\WINDOWS\system32> Get-alias
echo "powershell kustuta prügi"
echo "üleliigsed aliased maha"
Get-alias
Remove-Item -Path Alias:\wget
Remove-Item Alias:Curl
Remove-Item Alias:Curl
Start-Sleep -Seconds 5
Get-alias
echo "kustutada üleliigsed adapterid - hyperv häkkimist tehakse kuidagi läbi selle"
Get-NetAdapterAdvancedProperty
Disable-NetAdapter
Disable-NetAdapterBinding
get-wmiobject win32_networkadapter | select netconnectionid, name, InterfaceIndex, netconnectionstatus
echo "disable services xbox ja muu jama"
$services = @(
    "diagnosticshub.standardcollector.service" # Microsoft (R) Diagnostics Hub Standard Collector Service
    "DiagTrack"                                # Diagnostics Tracking Service
    "dmwappushservice"                         # WAP Push Message Routing Service (see known issues)
    "lfsvc"                                    # Geolocation Service
    "MapsBroker"                               # Downloaded Maps Manager
    "NetTcpPortSharing"                        # Net.Tcp Port Sharing Service
    "RemoteAccess"                             # Routing and Remote Access
    "RemoteRegistry"                           # Remote Registry
    "SharedAccess"                             # Internet Connection Sharing (ICS)
    "TrkWks"                                   # Distributed Link Tracking Client
    #"WbioSrvc"                                 # Windows Biometric Service (required for Fingerprint reader / facial detection)
    #"WlanSvc"                                 # WLAN AutoConfig
    "WMPNetworkSvc"                            # Windows Media Player Network Sharing Service
    #"wscsvc"                                  # Windows Security Center Service
    #"WSearch"                                 # Windows Search
    "XblAuthManager"                           # Xbox Live Auth Manager
    "XblGameSave"                              # Xbox Live Game Save Service
    "XboxNetApiSvc"                            # Xbox Live Networking Service
    "ndu"                                      # Windows Network Data Usage Monitor
    "RasMan"                                      # Windows REMOTE CONNECTION MANAGER
   "SSDPSRV"                                      # SSDP Discovery
   "SstpSvc"                                      # SECURE SOCKET TUNNELING PROTOCOL SERVICE
  "WinHttpAutoProxySvc"                           # web proxy autodiscovery service
 "UdkUserSvc_15c865"                           # kahtlane teenus lihtsalt
 "WinRM"                           # windows remote management vist ka maha
"workfolderssvc"          # windows work folders ei kasuta
"HvHost"		# hyperv jama kui pole vaja siis minema
"vmickvpexchange"	# hyperv jama kui pole vaja siis minema
"vmicguestinterface"	# hyperv jama kui pole vaja siis minema
"vmicshutdown"		# hyperv jama kui pole vaja siis minema
"vmicvmsession"		# hyperv jama kui pole vaja siis minema
"vmicrdv"		# hyperv jama kui pole vaja siis minema
"vmictimesync"		# hyperv jama kui pole vaja siis minema
"vmicvss"		# hyperv jama kui pole vaja siis minema
"NetTcpPortSharing"	#
"RemoteAccess"		#
"SCardSvr"		#
"AxInstSV"		#
"MapsBroker"		#
"lfsvc"		#
"SharedAccess"		#
"lltdsvc"		#
"wlidsvc"		#
"NgcSvc"		#
"NcbService"		#
"PhoneSvc"		#
"RmSvc"		#
"SSDPSRV"		#
"ShellHWDetection"		#
"ScDeviceEnum"		#
#SSDPSRV		# net discovery
"WiaRpc"		#
"OneSyncSvc"		#
"TabletInputService"		#
"upnphost"		#
"ShellHWDetection"		#
"TabletInputService"		#
"UserDataSvc"		#
"UnistoreSvc"		#
"WalletService"		#
"Audiosrv"		#
"AudioEndpointBuilder"		#
"FrameServer"		#
"stisvc"		#
"wisvc"		#
"icssvc"		#
"WpnService"		#
"WpnUserService"		#
"XblAuthManager"		#
"XblGameSave"		#
# Services which cannot be disabled
#"WdNisSvc"
)

foreach ($service in $services) {
    Write-Output "Trying to disable $service"
    Get-Service -Name $service | Set-Service -StartupType Disabled
}



#clear-recyclebin - võibolla siiski ei taha roti jälgi kustutada
Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root /norestart
Disable-WindowsOptionalFeature -Online -FeatureName WCF-TCP-PortSharing45 /norestart
Disable-WindowsOptionalFeature -Online -FeatureName WCF-Services45 /norestart
Disable-WindowsOptionalFeature -Online -FeatureName WorkFolders-Client /norestart
Disable-WindowsOptionalFeature -Online -FeatureName Printing-XPSServices-Features /norestart 
Disable-WindowsOptionalFeature -Online -FeatureName Printing-Foundation-InternetPrinting-Client /norestart 
DISM /online /get-features /format:table
Dism /Online /Disable-Feature /FeatureName:AppServerClient /norestart 
Dism /Online /Disable-Feature /FeatureName:Client-DviceLockdown /norestart 
Dism /Online /Disable-Feature /FeatureName:Client-EmbeddedBootExp /norestart 
Dism /Online /Disable-Feature /FeatureName:Client-EmbeddedLogon /norestart 
Dism /Online /Disable-Feature /FeatureName:Client-EmbeddedShellLauncher /norestart 
Dism /Online /Disable-Feature /FeatureName:ClientForNFS-Infrastructure /norestart 
Dism /Online /Disable-Feature /FeatureName:Client-KeyboardFilter /norestart 
Dism /Online /Disable-Feature /FeatureName:Client-ProjFS /norestart 
Dism /Online /Disable-Feature /FeatureName:Client-UnifiedWriteFilter /norestart
Dism /Online /Disable-Feature /FeatureName:Containers /norestart 
Dism /Online /Disable-Feature /FeatureName:DataCenterBridging /norestart 
Dism /Online /Disable-Feature /FeatureName:DirectoryServices-ADAM-Client /norestart 
Dism /Online /Disable-Feature /FeatureName:DirectPlay /norestart 
Dism /Online /Disable-Feature /FeatureName:FaxServicesClientPackage /norestart 
Dism /Online /Disable-Feature /FeatureName:HostGuardian /norestart 
Dism /Online /Disable-Feature /FeatureName:HypervisorPlatform /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ApplicationDevelopment /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ApplicationInit /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ASP /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ASPNET /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ASPNET45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-BasicAuthentication /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-CertProvider /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-CGI /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ClientCertificateMappingAuthentication /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-CommonHttpFeatures /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-CustomLogging /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-DefaultDocument /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-DigestAuthentication /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-DirectoryBrowsing /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-FTPExtensibility /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-FTPServer /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-FTPSvc /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-HealthAndDiagnostics /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-HostableWebCore /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-HttpCompressionDynamic /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-HttpCompressionStatic /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-HttpErrors /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-HttpLogging /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-HttpRedirect /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-HttpTracing /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-IIS6ManagementCompatibility /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-IISCertificateMappingAuthentication /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-IPSecurity /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ISAPIExtensions /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ISAPIFilter /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-LegacyScripts /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-LegacySnapIn /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-LoggingLibraries /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ManagementConsole /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ManagementScriptingTools /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ManagementService /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-Metabase /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-NetFxExtensibility /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-NetFxExtensibility45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ODBCLogging /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-Performance /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-RequestFiltering /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-RequestMonitor /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-Security /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-ServerSideIncludes /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-StaticContent /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-URLAuthorization /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-WebDAV /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-WebServer /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-WebServerManagementTools /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-WebServerRole /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-WebSockets /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-WindowsAuthentication /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:IIS-WMICompatibility /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Internet-Explorer-Optional-amd64 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:LegacyComponents /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MediaPlayback /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-All /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Hypervisor /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Management-Clients /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Management-PowerShell /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Services /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Tools-All /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-Client-EmbeddedExp-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-NetFx3-OC-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-NetFx3-WCF-OC-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-NetFx4-US-OC-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-NetFx4-WCF-US-OC-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-NetFx-VCRedist-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-Printing-PrintToPDFServices-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-Printing-XPSServices-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MSMQ-ADIntegration /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MSMQ-Container /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MSMQ-DCOMProxy /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MSMQ-HTTP /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MSMQ-Multicast /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MSMQ-Server /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MSMQ-Triggers /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MSRDC-Infrastructure /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MultiPoint-Connector /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MultiPoint-Connector-Services /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:MultiPoint-Tools /Remove /norestart 
Dism /online /Disable-Feature /featurename:Microsoft-Windows-NetFx3-OC-Package /Remove /norestart 
Dism /online /Disable-Feature /featurename:Microsoft-Windows-NetFx3-WCF-OC-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:NetFx3 /All /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:NetFx4-AdvSrvs /Remove /norestart  
Dism /online /Disable-Feature /featurename:Microsoft-Windows-NetFx4-US-OC-Package /Remove /norestart 
Dism /online /Disable-Feature /featurename:Microsoft-Windows-NetFx4-WCF-US-OC-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:NetFx4Extended-ASPNET45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:NFS-Administration /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Printing-Foundation-Features /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Printing-Foundation-LPDPrintService /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Printing-Foundation-LPRPortMonitor /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Printing-XPSServices-Features /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:RasCMAK /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:RasRip /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:ScanManagementConsole /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:SearchEngine-Client-Package /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:ServicesForNFS-ClientOnly /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:SimpleTCP /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:SMB1Protocol /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:SMB1Protocol-Client /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:SMB1Protocol-Server /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:SmbDirect /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:SNMP /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:TelnetClient /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:TFTP /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:TIFFIFilter /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WAS-ConfigurationAPI /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WAS-NetFxEnvironment /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WAS-ProcessModel /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WAS-WindowsActivationService
Dism /Online /Disable-Feature /FeatureName:WCF-HTTP-Activation /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WCF-HTTP-Activation45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WCF-MSMQ-Activation45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WCF-NonHTTP-Activation /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WCF-Pipe-Activation45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WCF-Services45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WCF-TCP-Activation45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:WCF-TCP-PortSharing45 /Remove /norestart 
Dism /Online /Disable-Feature /FeatureName:Windows-Defender-ApplicationGuard
Dism /Online /Disable-Feature /FeatureName:Windows-Defender-Default-Definitions
Dism /Online /Disable-Feature /FeatureName:Windows-Identity-Foundation
Dism /Online /Disable-Feature /FeatureName:WindowsMediaPlayer
Dism /Online /Disable-Feature /FeatureName:WMISnmpProvider
Dism /Online /Disable-Feature /FeatureName:WorkFolders-Client /Remove /norestart 
DISM /online /get-features /format:table
DISM /online /get-features /format:table | find """Enabled""" | more
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Disable-WindowsOptionalFeature -Online -FeatureName "Hearts"
get-windowsoptionalfeature -online
Dism /Online /Cleanup-Image /RestoreHealth
DISM /Online /Cleanup-Image /ScanHealth


echo "kontrolli integrity üle"






sfc /scannow

Dism /Online /Cleanup-Image /RestoreHealth

kui DVD ON SEES
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:X:\sources\Install.wim:1


Services maha
REMOTE ACCESS CONNECTION MANAGER 
SECURE SOCKET TUNNELING PROTOCOL SERVICE 
SSDP Discovery
PROXY MAHA
Open the host file in the following location as an administrator: %systemdrive%\Windows\System32\Drivers\etc\
Create the following entry for WPAD in the host file: 255.255.255.255 wpad.
IPRoute
ipstat
Netinfo
EnableRouter
iparp