Windows 10 disk 100% quick fix batch script .cmd diagTrack

Started on the old forum in July 2020 · view the original in the archive · old links redirect here

#batch #cmd #diagtrack #disk #windows-10

No replies · 64 views · started 6 years ago · 1 min read

something else Fellow · 2,296 posts #1

A lot of friends on Windows 10 constantly have disk at 100% The main culprit is the service diagTrack (microsoft tracking) which is really not needed .

To see what data microsoft is collecting via this service head over to: C:\Windows\DiagTrack and check out the whitelists etc ... (Yes you can edit these to be blank but you need to grant yourself folder permissions)

There is others such as superfetch etc that get the disk percentage up high ... but they are more useful. Where as diagTrack is pointless for a user.

It is easy enough to turn off in services, however as soon as windows updates it will get turned back on.

So I created a quick script to help them fix it without them having to "struggle" looking through services.

Instructions: Create a .txt file edit it and put the following lines in it:

sc config "DiagTrack" start= disabled
sc stop "DiagTrack"
Pause

save it and rename it to fix.cmd (you may need to change view settings to view extension names)

Then any time they need to use it after windows does an update simply right click on it and run as administrator. 😊

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close