Skip to content

Instantly share code, notes, and snippets.

@thewriteway
Created January 16, 2023 11:58
Show Gist options
  • Save thewriteway/df61e9d4522dedf6f8458c693fb44ddb to your computer and use it in GitHub Desktop.
Save thewriteway/df61e9d4522dedf6f8458c693fb44ddb to your computer and use it in GitHub Desktop.
Disable unused services (for me) on Windows 10
REM Superfetch
sc config SysMain start=disabled
rem BOOT TIME Superfetch only
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /f /v EnableSuperfetch /t REG_DWORD /d 2
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /f /v EnablePrefetcher /t REG_DWORD /d 0
REM SSDP Discovery
sc config SSDPSRV start=disabled
REM Geolocation Service
sc config lfsvc start=disabled
REM ActiveX Installer
sc config AXInstSV start=disabled
REM AllJoyn Router Service
sc config AJRouter start=disabled
REM Internet Connetion Sharing
sc config SharedAccess start=disabled
REM Link-Layer Topology Discovery Mapper
sc config lltdsvc start=disabled
REM Microsoft (R) Diagnostics Hub Standard Collector Service
sc config diagnosticshub.standardcollector.service start=disabled
REM Microsoft Windows SMS Router Service
sc config SmsRouter start=disabled
REM Network Connected Devicees Auto-Setup
sc config NcdAutoSetup start=disabled
REM Peer Name Resolution Protocol
sc config PNRPsvc start=disabled
REM Peer Networking Group
sc config p2psvc start=disabled
REM Peer Networking Identity Manager
sc config p2pimsvc start=disabled
REM PNRP Machine Name Publication Service
sc config PNRPAutoReg start=disabled
REM WalletService
sc config WalletService start=disabled
REM Windows Media Player Network Sharing Service
sc config WMPNetworkSvc start=disabled
REM Windows Mobile Hotspot Service
sc config icssvc start=disabled
REM Xbox Live Auth Manager
sc config XblAuthManager start=disabled
REM Xbox Live Game Save Service
sc config XblGameSave start=disabled
REM Xbox Live Networking Service
sc config XboxNetApiSvc start=disabled
REM Device Management Enrollment Service
sc config DmEnrollmentSvc start=disabled
REM Microsoft Retail Demo experience
sc config RetailDemo start=disabled
REM Data Usage Service
sc config DusmSvc start=disabled
REM Windows Connect Now - Config Registrar (WPS Setup)
sc config wcncsvc start=disabled
REM Delivery Optimization (P2P Windows Updates..)
sc config DoSvc start=disabled
REM Program Compatibility Assistant
sc config PcaSvc start=disabled
REM WAP Push Message Routing Service
sc config dmwappushservice start=disabled
REM IP Helper
sc config iphlpsvc start=disabled
REM Quality Windows Audio Video Experience
sc config QWAVE start=disabled
REM Adobe Updater Service
sc config AdobeARMservice start=disabled
REM Gigabyte Adjust Service (EasyTune)
sc config gadjservice start=disabled
REM Corel License Validation Service
sc config PSI_SVC_2 start=disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment