Author: Peter Whyte
-
Install Claude Code on Windows, Native and in WSL
Install Claude Code on Windows with the one-line native installer or inside WSL: where claude.exe lands, the PATH fix, the first run and login, updates, and the settings.json keys worth setting on day 1.
-
Claude Code Only Keeps 30 Days of Transcripts
Claude Code silently deletes session transcripts after 30 days. Where the .jsonl files live, the cleanupPeriodDays setting in settings.json, and how to keep them without filling C:.
-
Compact a WSL or Docker Desktop vhdx to Get Disk Space Back
C: is full and the biggest file is a WSL or Docker Desktop vhdx that never shrinks. Find it, prune inside, wsl –shutdown, compact it with diskpart, make it sparse, or move it to another drive.
-
Reset or Reinstall WSL Itself, Not Just a Distro
When wsl –shutdown is not enough: back up every distro, try wsl –update, then wsl –uninstall, the 2 optional components, and wsl –install –no-distribution, with the install errors decoded.
-
Install PowerShell 7 on Windows and Keep Windows PowerShell 5.1
PowerShell 7 installs next to Windows PowerShell 5.1, not over it. winget, the MSI for servers, what the Store package cannot do, and the places the 2 versions keep separate: profiles, policies, modules.
-
SSH Keys for GitHub on Windows With the OpenSSH Agent
Generate an ed25519 key, turn on the built-in Windows ssh-agent service, add the key to GitHub, point Git at the Windows OpenSSH so git push stops asking for the passphrase, and switch remotes to SSH.
-
Where My SQL Server Writing Lives Now
The SQL Server side of this blog moved to sqldba.blog: what is over there, how it is organised, and what happens to the Windows and PowerShell material here.
-
Windows Administration: The Complete Guide
Every Windows administration post on this site in one place: building servers, domains and DNS, installing the tools you actually use, and the built-in commands that answer most questions before you start guessing.
-
PowerShell for Windows Admins: The Complete Guide
Every PowerShell guide on this site grouped by task: files and folders, CSVs, the Windows Firewall, scheduled tasks, and the cmdlets worth knowing by heart.
Three guides collect the posts by the job you are doing rather than by date.
PowerShellFiles, CSVs, the firewall, scheduled tasks WSLInstalling it, distros, files across both worlds Windows AdministrationServers, domains, DNS, the tools worth havingThis site started as a SQL Server blog in 2017 and the archive is still here. The new SQL Server writing, and all the scripts, moved to a site of their own.
sqldba.blogScripts, error library, wait types, SSMS- CLAUDE.md: Project Memory for Claude Code
- Install Claude Code on Windows, Native and in WSL
- Claude Code Only Keeps 30 Days of Transcripts
- Claude Code Permissions: Allow and Deny Rules in settings.json
- Claude Code Hooks: Run a Check After Every Edit
- Compact a WSL or Docker Desktop vhdx to Get Disk Space Back
- AI (14)
- Linux & WSL (31)
- Microsoft SQL Server (51)
- Other (15)
- PowerShell (54)
- Windows Server Admin (40)