File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ function Optimize-ServicesRunning() {
65
65
<# Network Services #>
66
66
" iphlpsvc" # DEFAULT: Automatic | IP Helper Service (IPv6 (6to4, ISATAP, Port Proxy and Teredo) and IP-HTTPS)
67
67
" lmhosts" # DEFAULT: Manual | TCP/IP NetBIOS Helper
68
- " ndu" # DEFAULT: Automatic | Windows Network Data Usage Monitoring Driver (Shows network usage per-process on Task Manager)
69
68
# "NetTcpPortSharing" # DEFAULT: Disabled | Net.Tcp Port Sharing Service
70
69
" SharedAccess" # DEFAULT: Manual | Internet Connection Sharing (ICS)
71
70
<# Telemetry Services #>
@@ -86,6 +85,10 @@ function Optimize-ServicesRunning() {
86
85
" gupdatem" # DEFAULT: Manual | Google Update Service²
87
86
)
88
87
88
+ $ServicesToAutomatic = @ (
89
+ " ndu" # DEFAULT: Automatic | Windows Network Data Usage Monitoring Driver (Shows network usage per-process on Task Manager)
90
+ )
91
+
89
92
Write-Title " Services tweaks"
90
93
Write-Section " Disabling services from Windows"
91
94
@@ -103,6 +106,7 @@ function Optimize-ServicesRunning() {
103
106
}
104
107
105
108
Set-ServiceStartup - State ' Manual' - Services $ServicesToManual
109
+ Set-ServiceStartup - State ' Automatic' - Services $ServicesToAutomatic
106
110
}
107
111
108
112
# List all services:
You can’t perform that action at this time.
0 commit comments