/build/static/layout/Breadcrumb_cap_w.png

Fix your slow logins on windows 10

We have noticed the HDD is pegging at 100% on some machines for the first couple of minutes after login.  I have traced it down to 3 programs causing this

1.  Microsoft's Windows spyware telemetry is the worst.
http://www.infoworld.com/article/3020152/microsoft-windows/microsoft-walks-a-thin-line-between-windows-10-telemetry-and-snooping.html
https://www.google.com/search?q=windows+10+hard+drive+100+percent&ie=utf-8&oe=utf-8

2. Windows SuperFetch

3. Windows search indexer

You may want to keep search indexer running that is up to you.  In our Academic Env with the machines locked down with deepfreeze it gives no help.

This is my AutoIT script to stop those 3 programs from running.  You can also push this as a kscript command by command or via a batch file.

RunWait(@ComSpec & " /c " & "taskkill /f /im compattelrunner.exe /t")
RunWait(@ComSpec & " /c " & "takeown /f c:\windows\system32\compattelrunner.exe /a")
RunWait(@ComSpec & " /c " & "icacls c:\windows\system32\compattelrunner.exe /grant everyone:F /c")
FileMove ( "C:\Windows\System32\compattelrunner.exe", "C:\Windows\System32\compattelrun.exe")
RunWait(@ComSpec & " /c " & "net stop sysmain","",@SW_MINIMIZE)
RunWait(@ComSpec & " /c " & "reg add HKLM\SYSTEM\CurrentControlSet\Services\SysMain /v start /t REG_DWORD /d 4 /f","",@SW_MINIMIZE)
RunWait(@ComSpec & " /c " & "net stop wsearch","",@SW_MINIMIZE)
RunWait(@ComSpec & " /c " & "reg add HKLM\SYSTEM\CurrentControlSet\Services\wsearch /v start /t REG_DWORD /d 4 /f","",@SW_MINIMIZE)

This is my K2000 post batch to stop them

start /wait taskkill /f /im compattelrunner.exe /t
start /wait takeown /f c:\windows\system32\compattelrunner.exe /a
start /wait icacls c:\windows\system32\compattelrunner.exe /grant everyone:F /c
rename c:\windows\system32\compattelrunner.exe compattelrunnerold.exe
reg add HKLM\SYSTEM\CurrentControlSet\Services\SysMain /v start /t REG_DWORD /d 4 /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\wsearch /v start /t REG_DWORD /d 4 /f



Comments

  • I'll be keeping this in mind when we roll out windows10 in the next 6-8 months. Thanks! - Keltonfoss 7 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ