WSUS | Hint for cloned machines.

Do sysprep.exe, but you will lose activation, licenses, maybe devices. The poor mans way: Remove the SusClientID and (if exists) AccountDomainID from Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate

Windows 10 | Unpin/Remove/Delete Programs from Taskbar via GPO/powershell

At first approve applications name: ((New-Object -Com Shell.Application).NameSpace(‘shell:::{4234d49b-0245-4df3-b780-3893943456e1}’).Items()) Then get your languages localized Unpin-String, simply rightclick on that item in yout taskbar and get the unpin string. For English it’s ‘Unpin from taskbar’, for German it’s ‘Von Taskleiste l√∂sen’ ARRRGGGG! # THE EDGY EDGE $appname = “Microsoft Edge” ((New-Object -Com Shell.Application).NameSpace(‘shell:::{4234d49b-0245-4df3-b780-3893943456e1}’).Items() | ?{$_.Name -eq $appname}).Verbs() […]

UBUNTU // Handle old kernel mess

Automatic: dpkg-reconfigure unattended-upgrades vi /etc/apt/apt.conf.d/50unattended-upgrades //Unattended-Upgrade::Remove-Unused-Dependencies “false”; —> //Unattended-Upgrade::Remove-Unused-Dependencies “true”; By hand: apt install byobu purge-old-kernels or apt autoremove –purge

BASH | Shalla | Squid acl import error | blacklist import // deduplicate shalla blacklists

# SLOW function dedup () { declare -a A_IN=(“${!1}”) declare -a A_OUT=(“${!1}”) for A_IN_ELEM in “${A_IN[@]}”; do II=-1 for A_OUT_ELEM in “${A_OUT[@]}”; do II=$(( $II + 1 )) [[ “x$A_OUT_ELEM” == “x$A_IN_ELEM” ]] && continue [[ “x$A_OUT_ELEM” == “x” ]] && continue echo “$A_OUT_ELEM” | grep -w “$A_IN_ELEM” > /dev/null if [ $? -eq 0 […]