Rain City Techworks Blog

Scripts

windows ·

Reveal Saved WiFi Passwords in PowerShell

Run as Administrator: (netsh wlan show profiles) | Select-String 'All User Profile' | ForEach-Object { $profile = ($_ -split ':')[1].Trim() $key = (netsh wlan show profile name="$profile" key=

Michael 1 min read
windows ·

Force Time Sync with Domain Controller

Time drift between a client machine and the Domain Controller can cause "Trust relationship failed" errors, Kerberos authentication issues, and other domain-related problems. This forces an immediate resynchronization.

Michael 1 min read
windows ·

Reset WSUS Client ID

When cloning VMs, multiple machines can appear as the same client in WSUS, preventing proper reporting and updates. Resetting the client ID forces the machine to re-register with a unique

Michael 1 min read
windows ·

Remove Specific Office License Key

When Office products show "Unlicensed" or activate with the wrong account/key after migration, you might need to remove a specific, problematic license key directly from the command

Michael 1 min read
windows ·

Export All Drivers Before Reformatting Windows

Before reinstalling Windows, export all currently installed third-party drivers. This saves you from hunting down obscure drivers later, especially for older hardware or specific laptop models. The Fix dism /online

Michael 1 min read
windows ·

Nuclear Windows Update Reset

Windows Update is stuck, failing with cryptic errors, or constantly scanning. This performs a complete reset of the Windows Update components, often fixing persistent issues. The Fix net stop wuauserv

Michael 1 min read