For Build 3202:
Desciption | Offset | Original | Patched |
---|
Install Package Control for easy package management.
Ctrl+`
windows_update_toggle.bat v10.1 final
~ one script to rule them all!
~ block build upgrades and/or automatic updates without breawking Store downloads and Defender protection updates
~ there is a lot of focus on Defender updates working independently, unlike any other updates "management" solution
~ ifeo safe blocking with no destructive changes of ownership, deleting files, removing tasks, or over-blocking
~ toggle everything from the Desktop right-click context menu!
but wait, there is more:
~ hide/unhide/install update lists with counter at the Desktop right-click context menu!
Previous update toggle batch suite scripts have been overwritten on pastebin, but will still be available here:
@echo off | |
setlocal EnableDelayedExpansion | |
ver | find "10." > nul | |
if errorlevel 1 ( | |
echo Your Windows version is not Windows 10... yet. Brace yourself, Windows 10 is coming^^! | |
pause | |
exit | |
) |
@rem *** Disable Some Service *** | |
sc stop DiagTrack | |
sc stop diagnosticshub.standardcollector.service | |
sc stop dmwappushservice | |
sc stop WMPNetworkSvc | |
sc stop WSearch | |
sc config DiagTrack start= disabled | |
sc config diagnosticshub.standardcollector.service start= disabled | |
sc config dmwappushservice start= disabled |
#References | |
#base script | |
#https://stackoverflow.com/questions/22988384/powershell-change-owner-of-files-and-folders | |
#parameters | |
#https://powershell.org/forums/topic/file-path-parameter/ | |
param ( | |
[Parameter(Mandatory=$true)] | |
[ValidateScript({Test-Path -Path $_})] | |
[string]$path | |
) |
function Power-Delete { | |
[CmdletBinding()] | |
param( | |
[parameter(Position = 0, ValueFromRemainingArguments = $true, ValueFromPipelineByPropertyName = $true)] | |
$FullName, | |
[switch] | |
$AllHardLinks | |
) | |
process { |
<# | |
.SYNOPSIS : PowerShell script to set Ethernet connection as metered or not metered | |
.AUTHOR : Michael Pietroforte | |
.SITE : https://4sysops.com | |
#> | |
# Retrieved from https://4sysops.com/archives/set-windows-10-ethernet-connection-to-metered-with-powershell/ |
@echo off && setlocal | |
:checkPrivileges | |
NET FILE 1>NUL 2>NUL | |
if '%errorlevel%' == '0' ( | |
goto mainScript | |
) else ( | |
goto getPrivileges | |
) |