-
-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Operating system
Windows
Name of the script
Disable Additional Services and Programs (as of 07-23-25) (Part 2)
Documentation/References
Disable Microsoft Streaming Service Proxy (mskssrv)
Reference: https://batcmd.com/windows/10/services/mskssrv/
----
Disable Microsoft Streaming Clock Proxy (mspclock)
Reference: https://batcmd.com/windows/10/services/mspclock/
----
Disable Microsoft Streaming Quality Manager Proxy (mspqm)
Reference: https://batcmd.com/windows/10/services/mspqm/
----
Disable Microsoft Streaming Tee/Sink-to-Sink Converter (mstee)
Reference: https://batcmd.com/windows/10/services/mstee/
----
Disable Marvell Flash Controller Driver (mvumis)
Reference: https://batcmd.com/windows/10/services/mvumis/
----
Disable NetworkDirect Service (ndfltr)
Reference: https://batcmd.com/windows/11/services/ndfltr/
----
Disable Microsoft Virtual Network Adapter Enumerator (ndisvirtualbus)
Reference: https://batcmd.com/windows/10/services/ndisvirtualbus/
----
Disable NDKPing Driver (ndkping)
Reference: https://web.archive.org/web/20250724205235/https://learn.microsoft.com/en-us/windows-hardware/drivers/network/overview-of-network-direct-kernel-provider-interface--ndkpi-
----
Disable NDIS Proxy Driver (ndproxy)
Reference: https://batcmd.com/windows/10/services/ndproxy/
----
Disable NVIDIA nForce RAID Driver (nvraid)
Reference: https://batcmd.com/windows/10/services/nvraid/
----
Disable NVIDIA nForce Storage Controller (nvstor)
Reference: https://batcmd.com/windows/10/services/nvstor/
----
Disable PCMCIA Bus Driver (pcmcia)
Reference: https://batcmd.com/windows/10/services/pcmcia/
----
Disable Avago MEGASAS RAID 2i Controller Driver (percsas2i)
Reference: https://batcmd.com/windows/10/services/percsas2i/
----
Disable Avago MEGASAS RAID 3i Controller Driver (percsas3i)
Reference: https://batcmd.com/windows/10/services/percsas3i/
----
Disable Bluetooth Device (RFCOMM Protocol TDI) (rfcomm)
Reference: https://batcmd.com/windows/10/services/rfcomm/
----
Disable S3 Graphics Driver (s3cap)
Reference: https://batcmd.com/windows/10/services/s3cap/
----
Disable SBP-2 Transport/Protocol Bus Driver (sbp2port)
Reference: https://batcmd.com/windows/10/services/sbp2port/
----
Disable Smart Card PnP Class Filter Driver (scfilter)
Reference: https://batcmd.com/windows/10/services/scfilter/
----
Disable Serial Mouse Driver (sermouse)
Reference: https://batcmd.com/windows/10/services/sermouse/
----
Disable Silicon Integrated Systems RAID2 (sisraid2)
Reference: https://batcmd.com/windows/10/services/sisraid2/
----
Disable Silicon Integrated Systems RAID4 (sisraid4)
Reference: https://batcmd.com/windows/10/services/sisraid4/
----
Disable Microsemi Storport Miniport Driver for SmartRAID/SmartHBA Controllers (smartsamd)
Reference: https://web.archive.org/web/20250724211648/https://learn.microsoft.com/en-us/windows-hardware/drivers/storage/storport-miniport-drivers
----
Disable Server SMB 2.XXX Driver (srv2)
Reference: https://batcmd.com/windows/10/services/srv2/
----
Disable Server Network Driver (srvnet)
Reference: https://batcmd.com/windows/10/services/srvnet/
----
Disable Promise SuperTrak EX Series SAS/SATA RAID Controller Card Driver (stexstor)
Reference: https://batcmd.com/windows/10/services/stexstor/
----
Disable Storage VSC Driver (storvsc)
Reference: https://batcmd.com/windows/10/services/storvsc/
----
Disable Synthetic 3D Display Controller Driver (synth3dvsc)
Reference: https://revertservice.com/10/synth3dvsc/
----
Disable TAP-Windows Adapter V9 (tap0901)
Reference 1: https://web.archive.org/web/20250724212833/https://learn.microsoft.com/en-us/answers/questions/3244184/how-to-reinstall-tap-windows-adapter-v9?forum=windows-all&referrer=answers
Reference 2: https://web.archive.org/web/20250724213303/https://learn.microsoft.com/en-us/answers/questions/4352963/unknown-driver-with-tap0901-hardware-ids
----
Disable Microsoft Tunnel Miniport Adapter Driver (tunnel)
Reference: https://batcmd.com/windows/10/services/tunnel/
----
Disable eHome Infrared Receiver (usbcir)
Reference: https://batcmd.com/windows/10/services/usbcir/
----
Disable Virtual Render Device (virtualrender)
Reference: https://web.archive.org/web/20250724213943/https://learn.microsoft.com/en-us/windows-hardware/drivers/display/gpu-paravirtualization
----
Disable Virtual Machine Bus (vmbus)
Reference: https://batcmd.com/windows/10/services/vmbus/
----
Disable VIA StorX Storage RAID Controller Windows Driver (vstxraid)
Reference: https://batcmd.com/windows/10/services/vstxraid/
----
Disable Virtual WiFi Miniport Service (vwifimp)
Reference: https://batcmd.com/windows/10/services/vwifimp/
----
Disable Wacom Serial Pen HID Driver (wacompen)
Reference: https://batcmd.com/windows/10/services/wacompen/
----
Disable Windows NAT Driver (winnat)
Reference: https://batcmd.com/windows/10/services/winnat/
----
Disable WinVerbs Service (winverbs)
Reference: https://web.archive.org/web/20250724214750/https://learn.microsoft.com/en-us/windows/release-health/status-windows-10-22h2
Reference: https://batcmd.com/windows/11/services/winverbs/
----
Disable Agent Activation Runtime (AarSvc)
Reference 1: https://revertservice.com/10/aarsvc/
Reference 2: https://web.archive.org/web/20250724215601/https://superuser.com/questions/1478298/windows-10-service-called-aarsvc-70f961-what-is-it-and-how-could-i-disable-it
----
Disable Agent Activation Runtime_6ae88 (AarSvc_6ae88)
Reference 1: https://revertservice.com/10/aarsvc/
Reference 2: https://web.archive.org/web/20250724215601/https://superuser.com/questions/1478298/windows-10-service-called-aarsvc-70f961-what-is-it-and-how-could-i-disable-it
----
Disable App Readiness (AppReadiness)
Reference: https://web.archive.org/web/20250724220001/https://techcommunity.microsoft.com/discussions/azurevirtualdesktopforum/appreadiness-service-and-black-screen/1107153
----
Disable World Wide Web Publishing Service (W3SVC)
Reference: https://web.archive.org/web/20250724224736/https://learn.microsoft.com/en-us/answers/questions/1286934/iis-w3svc-service-keep-getting-disabled
----
Disable Application Identity (AppIDSvc)
Reference: https://web.archive.org/web/20250724225318/https://learn.microsoft.com/en-us/windows/security/application-security/application-control/app-control-for-business/applocker/configure-the-application-identity-service
----
Disable ASP.NET State Service (aspnet_state)
Reference: https://web.archive.org/web/20250724225713/https://learn.microsoft.com/en-us/troubleshoot/windows-server/application-management/services-not-start-upgrade-to-dotnet-framework-4
----
Disable Claims to Windows Token Service (c2wts)
Reference: https://web.archive.org/web/20250724230002/https://learn.microsoft.com/en-us/sql/reporting-services/install-windows/claims-to-windows-token-service-c2wts-and-reporting-services?view=sql-server-ver17
----
Disable Credential Enrollment Manager User Service (CredentialEnrollmentManagerUserSvc)
Reference 1: https://www.file.net/process/credentialenrollmentmanager.exe.html
Reference 2: https://web.archive.org/web/20250724233355/https://learn.microsoft.com/en-us/answers/questions/3260023/why-do-i-have-two-credentialenrollmentmanagerusers
----
Disable Credential Enrollment Manager User Service (6ae88) (CredentialEnrollmentManagerUserSvc_6ae88)
Reference 1: https://www.file.net/process/credentialenrollmentmanager.exe.html
Reference 2: https://web.archive.org/web/20250724233355/https://learn.microsoft.com/en-us/answers/questions/3260023/why-do-i-have-two-credentialenrollmentmanagerusers
----
Disable Declared Configuration (DC) Service (dcsvc)
Reference: https://web.archive.org/web/20250724234643/https://learn.microsoft.com/en-us/answers/questions/4281717/what-is-dcsvc-service-declared-configuration(dc)-s
----
Disable Graphics Performance Service (GraphicsPerfSvc)
Reference 1: https://web.archive.org/web/20250725004956/https://steamcommunity.com/discussions/forum/11/2798375980835798574/
Reference 2: https://batcmd.com/windows/10/services/graphicsperfsvc/
----
Disable KtmRm for Distributed Transaction Coordinator (KtmRm)
Reference: https://batcmd.com/windows/10/services/ktmrm/
----
Disable Local Profile Assistant Service (wlpasvc)
Reference: https://batcmd.com/windows/10/services/wlpasvc/
----
Disable Universal Print Management Service (McpManagementService)
Reference: https://web.archive.org/web/20250725011415/https://learn.microsoft.com/en-us/answers/questions/4132982/error-around-universal-print-how-can-i-fix-and-do
----
Disable Message Queuing (MSMQ)
Reference: https://web.archive.org/web/20250725011837/https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/installing-message-queuing-msmq
Reference: https://web.archive.org/web/20250725012418/https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/msmq-activation
----
Disable Microsoft Passport Container (NgcCtnrSvc)
Reference: https://batcmd.com/windows/10/services/ngcctnrsvc/
----
Disable Net.Msmq Listener Adapter (NetMsmqActivator)
Reference 1: https://web.archive.org/web/20250725012418/https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/msmq-activation
Reference 2: https://web.archive.org/web/20250725014130/https://learn.microsoft.com/en-us/answers/questions/2653574/solution-needed-the-net-msmg-listener-adapter-serv
----
Disable Net.Pipe Listener Adapter (NetPipeActivator)
Reference 1: https://web.archive.org/web/20250725012418/https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/msmq-activation
Reference 2: https://web.archive.org/web/20250725012942/https://learn.microsoft.com/en-us/answers/questions/1354970/net-pipe-listener-adapter-unavailable-in-service-c
----
Disable Net.Tcp Listener Adapter (NetTcpActivator)
Reference 1: https://web.archive.org/web/20250725012418/https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/msmq-activation
Reference 2: https://web.archive.org/web/20250725014546/https://learn.microsoft.com/en-us/answers/questions/768927/net-tns-listener-adapter-is-missing-server-2022-an
----
Disable Recommended Troubleshooting Service (TroubleshootingSvc)
Reference: https://revertservice.com/10/troubleshootingsvc/
----
Disable Spot Verifier (svsvc)
Reference: https://batcmd.com/windows/10/services/svsvc/
----
Disable Still Image Acquisition Events (WiaRpc)
Reference 1: https://web.archive.org/web/20250725015051/https://learn.microsoft.com/en-us/answers/questions/4080388/imgsvc-in-task-manager-is-it-normal-for-this-proce
Reference 2: https://web.archive.org/web/20250725015254/https://learn.microsoft.com/en-us/windows/release-health/status-windows-10-22h2
Reference 3: https://web.archive.org/web/20250725015422/https://learn.microsoft.com/en-us/answers/questions/2689415/wia-services-settings-at-pc-start
Reference 4: https://web.archive.org/web/20250725015606/https://learn.microsoft.com/en-us/answers/questions/2689415/wia-services-settings-at-pc-start?page=2
----
Disable User Data Knowledge User Service (UdkUserSvc)
Reference: https://web.archive.org/web/20250725015750/https://learn.microsoft.com/en-us/windows/application-management/per-user-services-in-windows
----
Disable User Data Knowledge User Service (6ae88) (UdkUserSvc_6ae88)
Reference: https://web.archive.org/web/20250725015750/https://learn.microsoft.com/en-us/windows/application-management/per-user-services-in-windows
----
Disable Universal Plug and Play Device Host (upnphost)
Reference: https://batcmd.com/windows/10/services/upnphost/
----
Disable Visual Studio Installer Elevation Service (VSInstallerElevationService)
Reference: https://web.archive.org/web/20250725020330/https://developercommunity.visualstudio.com/t/visual-studio-installer-elevation-required/19601
----
Disable Volumetric Audio Compositor Service (VacSvc)
Reference: https://batcmd.com/windows/10/services/vacsvc/
----
Disable W3C Logging Service (w3logsvc)
Reference: https://web.archive.org/web/20250725020700/https://techcommunity.microsoft.com/blog/iis-support-blog/w3c-logging-services-goes-in-to-the-stop-state-automatically/1130318
----
Disable Windows Management Service (WManSvc)
Reference: https://batcmd.com/windows/10/services/wmansvc/
----
Disable Wired AutoConfig (dot3svc)
Reference: https://web.archive.org/web/20250725021113/https://learn.microsoft.com/en-us/answers/questions/1358548/wired-autoconfig-missing-in-the-services-tab-windo
----
Disable Microsoft Hyper-V Storage Accelerator (storflt)
Reference: https://batcmd.com/windows/10/services/storflt/
----
Disable Microsoft Hyper-V Guest Infrastructure Driver (vmgid)
Reference: https://batcmd.com/windows/10/services/vmgid/
----
Disable Microsoft Hyper-V Virtual PCI Bus (vpci)
Reference: https://revertservice.com/11/vpci/
https://batcmd.com/windows/11/services/vpci/
Code
:: ----------------------------------------------------------
:: -------Disable Microsoft Streaming Service Proxy (mskssrv)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Streaming Service Proxy (mskssrv)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\mskssrv!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\mskssrv'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\mskssrv' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Streaming Clock Proxy (mspclock)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Streaming Clock Proxy (mspclock)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\mspclock!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\mspclock'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\mspclock' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Streaming Quality Manager Proxy (mspqm)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Streaming Quality Manager Proxy (mspqm)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\mspqm!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\mspqm'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\mspqm' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Streaming Tee/Sink-to-Sink Converter (mstee)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Streaming Tee/Sink-to-Sink Converter (mstee)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\mstee!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\mstee'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\mstee' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Marvell Flash Controller Driver (mvumis)--------
:: ----------------------------------------------------------
echo --- Disable Marvell Flash Controller Driver (mvumis)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\mvumis!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\mvumis'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\mvumis' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable NetworkDirect Service (ndfltr)--------
:: ----------------------------------------------------------
echo --- Disable NetworkDirect Service (ndfltr)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\ndfltr!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\ndfltr'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\ndfltr' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Virtual Network Adapter Enumerator (ndisvirtualbus)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Virtual Network Adapter Enumerator (ndisvirtualbus)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\ndisvirtualbus!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\ndisvirtualbus'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\ndisvirtualbus' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable NDKPing Driver (ndkping)--------
:: ----------------------------------------------------------
echo --- Disable NDKPing Driver (ndkping)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\ndkping!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\ndkping'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\ndkping' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable NDIS Proxy Driver (ndproxy)--------
:: ----------------------------------------------------------
echo --- Disable NDIS Proxy Driver (ndproxy)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\ndproxy!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\ndproxy'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\ndproxy' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable NVIDIA nForce RAID Driver (nvraid)--------
:: ----------------------------------------------------------
echo --- Disable NVIDIA nForce RAID Driver (nvraid)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\nvraid!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\nvraid'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\nvraid' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable NVIDIA nForce Storage Controller (nvstor)--------
:: ----------------------------------------------------------
echo --- Disable NVIDIA nForce Storage Controller (nvstor)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\nvstor!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\nvstor'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\nvstor' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable PCMCIA Bus Driver (pcmcia)--------
:: ----------------------------------------------------------
echo --- Disable PCMCIA Bus Driver (pcmcia)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\pcmcia!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\pcmcia'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\pcmcia' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Avago MEGASAS RAID 2i Controller Driver (percsas2i)--------
:: ----------------------------------------------------------
echo --- Disable Avago MEGASAS RAID 2i Controller Driver (percsas2i)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\percsas2i!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\percsas2i'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\percsas2i' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Avago MEGASAS RAID 3i Controller Driver (percsas3i)--------
:: ----------------------------------------------------------
echo --- Disable Avago MEGASAS RAID 3i Controller Driver (percsas3i)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\percsas3i!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\percsas3i'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\percsas3i' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Bluetooth Device (RFCOMM Protocol TDI) (rfcomm)--------
:: ----------------------------------------------------------
echo --- Disable Bluetooth Device (RFCOMM Protocol TDI) (rfcomm)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\rfcomm!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\rfcomm'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\rfcomm' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable S3 Graphics Driver (s3cap)--------
:: ----------------------------------------------------------
echo --- Disable S3 Graphics Driver (s3cap)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\s3cap!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\s3cap'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\s3cap' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable SBP-2 Transport/Protocol Bus Driver (sbp2port)--------
:: ----------------------------------------------------------
echo --- Disable SBP-2 Transport/Protocol Bus Driver (sbp2port)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\sbp2port!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\sbp2port'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\sbp2port' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Smart Card PnP Class Filter Driver (scfilter)--------
:: ----------------------------------------------------------
echo --- Disable Smart Card PnP Class Filter Driver (scfilter)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\scfilter!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\scfilter'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\scfilter' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Serial Mouse Driver (sermouse)--------
:: ----------------------------------------------------------
echo --- Disable Serial Mouse Driver (sermouse)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\sermouse!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\sermouse'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\sermouse' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Silicon Integrated Systems RAID2 (sisraid2)--------
:: ----------------------------------------------------------
echo --- Disable Silicon Integrated Systems RAID2 (sisraid2)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\sisraid2!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\sisraid2'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\sisraid2' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Silicon Integrated Systems RAID4 (sisraid4)--------
:: ----------------------------------------------------------
echo --- Disable Silicon Integrated Systems RAID4 (sisraid4)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\sisraid4!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\sisraid4'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\sisraid4' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsemi Storport Miniport Driver for SmartRAID/SmartHBA Controllers (smartsamd)--------
:: ----------------------------------------------------------
echo --- Disable Microsemi Storport Miniport Driver for SmartRAID/SmartHBA Controllers (smartsamd)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\smartsamd!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\smartsamd'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\smartsamd' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Server SMB 2.XXX Driver (srv2)--------
:: ----------------------------------------------------------
echo --- Disable Server SMB 2.XXX Driver (srv2)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\srv2!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\srv2'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\srv2' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Server Network Driver (srvnet)--------
:: ----------------------------------------------------------
echo --- Disable Server Network Driver (srvnet)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\srvnet!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\srvnet'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\srvnet' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Promise SuperTrak EX Series SAS/SATA RAID Controller Card Driver (stexstor)--------
:: ----------------------------------------------------------
echo --- Disable Promise SuperTrak EX Series SAS/SATA RAID Controller Card Driver (stexstor)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\stexstor!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\stexstor'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\stexstor' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Storage VSC Driver (storvsc)--------
:: ----------------------------------------------------------
echo --- Disable Storage VSC Driver (storvsc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\storvsc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\storvsc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\storvsc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Synthetic 3D Display Controller Driver (synth3dvsc)--------
:: ----------------------------------------------------------
echo --- Disable Synthetic 3D Display Controller Driver (synth3dvsc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\synth3dvsc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\synth3dvsc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\synth3dvsc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable TAP-Windows Adapter V9 (tap0901)--------
:: ----------------------------------------------------------
echo --- Disable TAP-Windows Adapter V9 (tap0901)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\tap0901!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\tap0901'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\tap0901' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Tunnel Miniport Adapter Driver (tunnel)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Tunnel Miniport Adapter Driver (tunnel)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\tunnel!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\tunnel'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\tunnel' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable eHome Infrared Receiver (usbcir)--------
:: ----------------------------------------------------------
echo --- Disable eHome Infrared Receiver (usbcir)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\usbcir!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\usbcir'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\usbcir' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Virtual Render Device (virtualrender)--------
:: ----------------------------------------------------------
echo --- Disable Virtual Render Device (virtualrender)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\virtualrender!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\virtualrender'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\virtualrender' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Virtual Machine Bus (vmbus)--------
:: ----------------------------------------------------------
echo --- Disable Virtual Machine Bus (vmbus)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\vmbus!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\vmbus'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\vmbus' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable VIA StorX Storage RAID Controller Windows Driver (vstxraid)--------
:: ----------------------------------------------------------
echo --- Disable VIA StorX Storage RAID Controller Windows Driver (vstxraid)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\vstxraid!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\vstxraid'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\vstxraid' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Virtual WiFi Miniport Service (vwifimp)--------
:: ----------------------------------------------------------
echo --- Disable Virtual WiFi Miniport Service (vwifimp)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\vwifimp!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\vwifimp'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\vwifimp' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Wacom Serial Pen HID Driver (wacompen)--------
:: ----------------------------------------------------------
echo --- Disable Wacom Serial Pen HID Driver (wacompen)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\wacompen!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\wacompen'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\wacompen' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Windows NAT Driver (winnat)--------
:: ----------------------------------------------------------
echo --- Disable Windows NAT Driver (winnat)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\winnat!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\winnat'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\winnat' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable WinVerbs Service (winverbs)--------
:: ----------------------------------------------------------
echo --- Disable WinVerbs Service (winverbs)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\winverbs!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\winverbs'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\winverbs' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Agent Activation Runtime (AarSvc)--------
:: ----------------------------------------------------------
echo --- Disable Agent Activation Runtime (AarSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\AarSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\AarSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\AarSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Agent Activation Runtime_6ae88 (AarSvc_6ae88)--------
:: ----------------------------------------------------------
echo --- Disable Agent Activation Runtime_6ae88 (AarSvc_6ae88)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\AarSvc_6ae88!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\AarSvc_6ae88'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\AarSvc_6ae88' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable App Readiness (AppReadiness)--------
:: ----------------------------------------------------------
echo --- Disable App Readiness (AppReadiness)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\AppReadiness!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\AppReadiness'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\AppReadiness' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable World Wide Web Publishing Service (W3SVC)--------
:: ----------------------------------------------------------
echo --- Disable World Wide Web Publishing Service (W3SVC)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\W3SVC!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\W3SVC'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\W3SVC' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Application Identity (AppIDSvc)--------
:: ----------------------------------------------------------
echo --- Disable Application Identity (AppIDSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\AppIDSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\AppIDSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\AppIDSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable ASP.NET State Service (aspnet_state)--------
:: ----------------------------------------------------------
echo --- Disable ASP.NET State Service (aspnet_state)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\aspnet_state!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\aspnet_state'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\aspnet_state' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Claims to Windows Token Service (c2wts)--------
:: ----------------------------------------------------------
echo --- Disable Claims to Windows Token Service (c2wts)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\c2wts!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\c2wts'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\c2wts' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Credential Enrollment Manager User Service (CredentialEnrollmentManagerUserSvc)--------
:: ----------------------------------------------------------
echo --- Disable Credential Enrollment Manager User Service (CredentialEnrollmentManagerUserSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\CredentialEnrollmentManagerUserSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\CredentialEnrollmentManagerUserSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\CredentialEnrollmentManagerUserSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Credential Enrollment Manager User Service (6ae88) (CredentialEnrollmentManagerUserSvc_6ae88)--------
:: ----------------------------------------------------------
echo --- Disable Credential Enrollment Manager User Service (6ae88) (CredentialEnrollmentManagerUserSvc_6ae88)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\CredentialEnrollmentManagerUserSvc_6ae88!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\CredentialEnrollmentManagerUserSvc_6ae88'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\CredentialEnrollmentManagerUserSvc_6ae88' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Declared Configuration (DC) Service (dcsvc)--------
:: ----------------------------------------------------------
echo --- Disable Declared Configuration (DC) Service (dcsvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\dcsvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\dcsvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\dcsvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Graphics Performance Service (GraphicsPerfSvc)--------
:: ----------------------------------------------------------
echo --- Disable Graphics Performance Service (GraphicsPerfSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\GraphicsPerfSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\GraphicsPerfSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\GraphicsPerfSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable KtmRm for Distributed Transaction Coordinator (KtmRm)--------
:: ----------------------------------------------------------
echo --- Disable KtmRm for Distributed Transaction Coordinator (KtmRm)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\KtmRm!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\KtmRm'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\KtmRm' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Local Profile Assistant Service (wlpasvc)--------
:: ----------------------------------------------------------
echo --- Disable Local Profile Assistant Service (wlpasvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\wlpasvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\wlpasvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\wlpasvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Universal Print Management Service (McpManagementService)--------
:: ----------------------------------------------------------
echo --- Disable Universal Print Management Service (McpManagementService)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\McpManagementService!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\McpManagementService'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\McpManagementService' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Message Queuing (MSMQ)--------
:: ----------------------------------------------------------
echo --- Disable Message Queuing (MSMQ)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\MSMQ!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\MSMQ'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\MSMQ' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Passport Container (NgcCtnrSvc)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Passport Container (NgcCtnrSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\NgcCtnrSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\NgcCtnrSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\NgcCtnrSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Net.Msmq Listener Adapter (NetMsmqActivator)--------
:: ----------------------------------------------------------
echo --- Disable Net.Msmq Listener Adapter (NetMsmqActivator)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\NetMsmqActivator!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\NetMsmqActivator'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\NetMsmqActivator' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Net.Pipe Listener Adapter (NetPipeActivator)--------
:: ----------------------------------------------------------
echo --- Disable Net.Pipe Listener Adapter (NetPipeActivator)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\NetPipeActivator!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\NetPipeActivator'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\NetPipeActivator' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Net.Tcp Listener Adapter (NetTcpActivator)--------
:: ----------------------------------------------------------
echo --- Disable Net.Tcp Listener Adapter (NetTcpActivator)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\NetTcpActivator!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\NetTcpActivator'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\NetTcpActivator' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Recommended Troubleshooting Service (TroubleshootingSvc)--------
:: ----------------------------------------------------------
echo --- Disable Recommended Troubleshooting Service (TroubleshootingSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\TroubleshootingSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\TroubleshootingSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\TroubleshootingSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Spot Verifier (svsvc)--------
:: ----------------------------------------------------------
echo --- Disable Spot Verifier (svsvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\svsvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\svsvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\svsvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Still Image Acquisition Events (WiaRpc)--------
:: ----------------------------------------------------------
echo --- Disable Still Image Acquisition Events (WiaRpc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\WiaRpc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\WiaRpc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\WiaRpc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable User Data Knowledge User Service (UdkUserSvc)--------
:: ----------------------------------------------------------
echo --- Disable User Data Knowledge User Service (UdkUserSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\UdkUserSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\UdkUserSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\UdkUserSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable User Data Knowledge User Service (6ae88) (UdkUserSvc_6ae88)--------
:: ----------------------------------------------------------
echo --- Disable User Data Knowledge User Service (6ae88) (UdkUserSvc_6ae88)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\UdkUserSvc_6ae88!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\UdkUserSvc_6ae88'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\UdkUserSvc_6ae88' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Universal Plug and Play Device Host (upnphost)--------
:: ----------------------------------------------------------
echo --- Disable Universal Plug and Play Device Host (upnphost)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\upnphost!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\upnphost'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\upnphost' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Visual Studio Installer Elevation Service (VSInstallerElevationService)--------
:: ----------------------------------------------------------
echo --- Disable Visual Studio Installer Elevation Service (VSInstallerElevationService)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\VSInstallerElevationService!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\VSInstallerElevationService'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\VSInstallerElevationService' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Volumetric Audio Compositor Service (VacSvc)--------
:: ----------------------------------------------------------
echo --- Disable Volumetric Audio Compositor Service (VacSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\VacSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\VacSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\VacSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable W3C Logging Service (w3logsvc)--------
:: ----------------------------------------------------------
echo --- Disable W3C Logging Service (w3logsvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\w3logsvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\w3logsvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\w3logsvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Windows Management Service (WManSvc)--------
:: ----------------------------------------------------------
echo --- Disable Windows Management Service (WManSvc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\WManSvc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\WManSvc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\WManSvc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Wired AutoConfig (dot3svc)--------
:: ----------------------------------------------------------
echo --- Disable Wired AutoConfig (dot3svc)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\dot3svc!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\dot3svc'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\dot3svc' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Hyper-V Storage Accelerator (storflt)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Hyper-V Storage Accelerator (storflt)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\storflt!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\storflt'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\storflt' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Hyper-V Guest Infrastructure Driver (vmgid)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Hyper-V Guest Infrastructure Driver (vmgid)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\vmgid!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\vmgid'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\vmgid' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
:: ----------------------------------------------------------
:: -------Disable Microsoft Hyper-V Virtual PCI Bus (vpci)--------
:: ----------------------------------------------------------
echo --- Disable Microsoft Hyper-V Virtual PCI Bus (vpci)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\vpci!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\vpci'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\vpci' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
Revert code
No response
Suggested category
No response
Recommendation level
None
Additional information
These scripts are used on Windows 10 (Version 22H2 (Operating System Build 19045.4894)).
There are so many legacy services, programs, and drivers that I have not known much, but these scripts would gain performance of Windows 10.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request