Server next to a checklist where a magnifying glass reveals missed update boxes

WSUS Doesn't Tell You What You're Missing - Here's How to Find Out

If you manage Windows updates through WSUS, you’ve probably been there: a server is missing patches, you dig into it, and it turns out the product category was never enabled in WSUS. No warning, no report - it just silently never synced those updates. The frustrating part is that WSUS has no built-in way to tell you which product categories your clients actually need. You can see what’s subscribed, but not what you’re missing. It doesn’t know what’s installed on your clients unless you’ve already told it to care. ...

June 16, 2026 · 3 min · thomasf
Phone connected over USB to a laptop streaming photos, music and apps into a backup box

Fast Android backup with ADB

Want to create a full backup of your Android phone without root access? ADB (Android Debug Bridge) is your best friend. This method works on all Android versions and gives you complete control over what gets backed up. Android phone with USB debugging enabled Computer with ADB installed USB cable # Ubuntu/Debian sudo apt install android-tools-adb # Windows: Download Android SDK Platform Tools # macOS: brew install android-platform-tools ...

September 22, 2025 · 2 min · thomasf
Laptop terminal pushing scheduled updates to a row of servers that all report success

Automating Windows Updates Across Multiple Servers with PowerShell

Managing Windows updates across multiple servers doesn’t have to be a manual, time-consuming process. With PowerShell and the PSWindowsUpdate module, you can automate the entire update process from a single session. This script creates scheduled tasks across multiple servers that will automatically install Windows updates and reboot when necessary: # Create scheduled task on all servers that runs in 2 minutes Invoke-Command -ComputerName $servers -ScriptBlock { $action = New-ScheduledTaskAction -Execute "PowerShell.exe" -Argument @" -ExecutionPolicy Bypass -Command " if (!(Get-Module -List PSWindowsUpdate)) { Install-PackageProvider -Name NuGet -Force Install-Module PSWindowsUpdate -Force } Import-Module PSWindowsUpdate Install-WindowsUpdate -AcceptAll -AutoReboot | Out-File C:\PSWindowsUpdate.log " "@ $trigger = New-ScheduledTaskTrigger -Once -At (Get-Date).AddSeconds(30) $principal = New-ScheduledTaskPrincipal -UserId "SYSTEM" -LogonType ServiceAccount -RunLevel Highest Register-ScheduledTask -TaskName "WindowsUpdateInstall" -Action $action -Trigger $trigger -Principal $principal -Force Write-Host "$env:COMPUTERNAME : Task created, updates starting in 2 minutes" } -ThrottleLimit 50 Scheduled Task Approach: Instead of running updates immediately, the script creates a scheduled task on each server. This allows your PowerShell session to complete quickly while updates run independently with proper system privileges. ...

June 19, 2025 · 2 min · thomasf
settings

Monitoring Event Logs in Windows with PowerShell: A Script for Recent Events

When managing a Windows environment, analyzing event logs is an essential part of troubleshooting. Windows logs a wide range of system, security, and application events, but sometimes specific problems can arise without easily accessible evidence. For example, when tracking down recent events, it can be cumbersome to manually check each log for relevant entries. In this post, I’ll share a simple PowerShell script that extracts recent log entries across all event logs—not just the default System, Application, and Security logs. This script is particularly useful when you need to quickly review what’s been happening on your machine over the last 5 minutes. ...

September 10, 2024 · 4 min · thomasf

Optimizing RDP Performance on Linux: My Best Settings with xfreerdp

If you’re like me and rely heavily on Remote Desktop Protocol (RDP) to connect to Windows servers from a Linux environment, you know how crucial performance can be. After experimenting with numerous settings, I’ve found a configuration that delivers the best performance using xfreerdp. Here’s a breakdown of the settings that worked wonders for me. xfreerdp is an open-source RDP client that offers a plethora of customization options, making it a powerful tool for Linux users needing to connect to Windows servers. Its flexibility allows for fine-tuning, which is essential for optimizing performance. ...

July 27, 2024 · 2 min · thomasf
new-software-old-computer

Install winget without the Microsoft App Store

If you are unable to access the Windows Store app and wish to install winget, you can easily do so by following these steps: First download the latest version of winget: https://aka.ms/getwinget Then use this Powershell command to install winget Add-AppxPackage -Path Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle Probably you will get this error: Windows cannot install package Microsoft.DesktopAppInstaller_1.19.10173.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework “Microsoft.UI.Xaml.2.7” published by “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”, with neutral or x64 processor architecture and minimum version 7.2109.13004.0, along with this package to install. The frameworks with name “Microsoft.UI.Xaml.2.7” currently installed are: {} ...

May 24, 2023 · 2 min · thomasf
OpenSSH_logo

Install and Configure OpenSSH Windows Server 2019 and 2022 and configure key-based authentication

OpenSSH is a free and open-source software that allows secure communication between computers over an unsecured network. It is widely used on Linux and Unix systems, but it is also available for Windows systems. In this article, we will show you how to install and configure OpenSSH on a Windows 2022 server. The first step is to install OpenSSH on your Windows server. To do this, follow these steps: ...

April 6, 2023 · 3 min · thomasf
OpenSSH_logo

NTP Error: the computer did not resync because no time data was available

When it comes to configuring your Primary Domain Controller (PDC) or local Network Time Protocol (NTP), you’ll find a a lot of information online. But in a nutshell this is what you have to do: w32tm /config /manualpeerlist:"<IPTIMESERVER>,0x1" /syncfromflags:manual /reliable:yes /update net stop w32time net start w32time w32tm /resync /rediscover But if the timeserver isn’t reliable you get the error: The fix is really easy. Remove the /reliable:yes option w32tm /config /manualpeerlist:"<IPTIMESERVER>,0x1" /syncfromflags:manual /update And then after the w32tm /resync /rediscover: ...

April 3, 2023 · 1 min · thomasf
snort3

TCPDump alternative Windows

Are you in a situation where you need to capture and analyze network traffic, but don’t have Wireshark or TCPDump at your disposal? Don’t worry, there’s still a solution. Enter pktmon. While it may not be the most sophisticated tool out there, pktmon is a viable option for monitoring traffic in real-time. With its lightweight and efficient design, you can quickly capture and analyze packets without the need for any additional software installations. ...

March 31, 2023 · 2 min · thomasf
windows-powershell-ise-icon

Update Windows Server with powershell

This is for 2016 server. But it will work for other versions of Windows [Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12 Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted Install-Module PSWindowsUpdate -Confirm:$false Set-PSRepository -Name "PSGallery" -InstallationPolicy Untrusted Get-WindowsUpdate -AcceptAll -Install -AutoReboot Happy Patching :)

September 20, 2022 · 1 min · thomasf