GistStubs of a script to make Windows not suck from Chris and Spooned by me
This is Thread Post 491 Forum Post 12766
https://www.excelfox.com/forum/showt...ge50#post12766
( link to youtube listings https://excelfox.com/forum/showthrea...ge42#post12685
https://excelfox.com/forum/showthrea...ge41#post12674
Link to last post on page 42 https://excelfox.com/forum/showthrea...ge42#post12693
Link to first post in page 43 https://excelfox.com/forum/showthrea...ge43#post12694
Link to first post in page 41 https://excelfox.com/forum/showthrea...ge41#post12674 )
Pull a Plonker #1
Microsoft Office, Bloatware?? – I doubt it
I might come back here when I have proved that the modification is necerssary. I don’t want to risk testing this yet, as if I am right and in testing I loose my Microsoft Office, then it can be a real pain to get it back: Despite having all the expensively purchased ( by me) disks with the Keys, Microsoft make virtually impossible to re install more than a couple of times.
In an earlier live stream video, around minute here and minute here , Chris mentions that he comments out the code line of
"Microsoft.MicrosoftOfficeHub"
so as to avoid deleting Microsoft office. On many other occasions he says following lots of request he is not going to delete it in any script of his. Never the less as I write this around Xmas New Year 2021 2022 , its constantly there in his scripts. Possibly its crept in since he is using GitHub to control his versions etc, GitHub IMO is worse than useless
I have left a few messages and replies to ask about this. I have had no reply and I don’t believe on badgering people who aren’t responding, as with people who are getting too many messages to cope, then it just fuels the situation and makes it worse.
So this Pull a Plonker #1 is doing this
# "Microsoft.MicrosoftOfficeHub"
Pull a Plonker #2
Push Pull Plonker WAP Properites Telemetry ( "DiagTrack" "dmwappushservice" stuff )
In this YouTube video at minute 1, Chris talks about disabling a couple of services, https://youtu.be/yXaYszT11CA?t=60
I expect that these code lines are the implementation of this in
Code:
Write-Host "Stopping and disabling Diagnostics Tracking Service..."
Stop-Service "DiagTrack" -WarningAction SilentlyContinue
Set-Service "DiagTrack" -StartupType Disabled
Write-Host "Stopping and disabling WAP Push Service..."
Stop-Service "dmwappushservice" -WarningAction SilentlyContinue
Set-Service "dmwappushservice" -StartupType Disabled
All well and good.
But in a later Live Stream video, Redesigning the Windows Toolbox, streamed live on Oct 29, 2021 he added a script bit a bit further down to set a few services to Manual, including these two.
So either those later two lines ( in # Service tweaks to Manual ) need to be removed, or the above bit should be removed.
For now I will take out the later lines thus
Code:
# Service tweaks to Manual
$services = @(
"diagnosticshub.standardcollector.service" # Microsoft (R) Diagnostics Hub Standard Collector Service
# "DiagTrack" # Diagnostics Tracking Service https://i.postimg.cc/ZK23pZyY/Services-MSC-Telemetrie.jpg
"DPS"
# "dmwappushservice" # WAP Push Message Routing Service (see known issues) https://i.postimg.cc/t466zfh3/dmwappush.jpg
There is also a possible issue with the Undo Essential Tweaks not putting these back exactly as they were. But maybe I will look at that later ( https://eileenslounge.com/viewtopic.php?f=18&t=37712 )
Edit later Looking at this issue of the Services, Getting at them, it seems that
_ you will need PowerShell 7._ to do anything with
Start up Type AutomaticDelayedStart http://www.eileenslounge.com/viewtop...292019#p292019
http://www.eileenslounge.com/viewtopic.php?f=18&t=37740
See also here
https://excelfox.com/forum/showthrea...ge51#post12777