Active project

Master control PC audit and migration

Replacing a Windows 10 master control engineering PC without losing the invisible setup it had collected over years. Audit it read-only, rebuild clean, move only what's understood, and keep a way back.

Status, plainly: the method, the audit tool, and the runbook are built and tested. I don’t have a record of the final cutover and sign-off yet, so this page doesn’t claim it happened.

The problem

A master control engineering PC running Windows 10 needed to be replaced with a Windows 11 machine.

Broadcast support PCs collect years of small, undocumented setup: vendor utilities, mapped drives, scheduled tasks, startup behavior, USB license dongles, serial adapters, browser bookmarks, and settings that only exist for the account that logs in automatically. Many apps had already been moved by hand, but nobody could say for sure what else still mattered.

There were two obvious ways to do it, and both were bad:

  • Clone the whole old Windows install onto the new PC, and drag every old problem along with it.
  • Rebuild clean and trust memory to catch everything important, and find out what you forgot on air.

The middle path

  1. Audit it first, without changing anything.
  2. Build the new PC clean and reinstall the applications properly.
  3. Move only what the audit shows is real and understood: configs, profiles, shortcuts, bookmarks, scripts, and working folders.
  4. Recreate tasks, services, and startup behavior on purpose, instead of importing them blindly.
  5. Re-enter credentials securely, instead of copying them into documents.
  6. Keep a full way back: the audit package, the selected configs, screenshots, and a full disk image, informally the “oh-shit archive.”
  7. Keep the old PC, powered off and labeled, until the new one has proven itself in normal operation.

The audit tool

A read-only PowerShell audit. It changes nothing on the machine and writes its evidence to its own folders. It records:

  • system details, installed applications, and Windows features
  • services (including any that run under a custom account), startup commands, and scheduled tasks
  • network setup: addresses, routes, DNS, firewall rules, time source, shares, and mapped drives
  • data sources and a list of saved credentials (the list, never the passwords)
  • users, groups, and autologon settings
  • drivers, USB and serial devices, graphics hardware, and anything that looks like a license dongle
  • running processes, environment variables, and certificates
  • likely config and license files, and references to broadcast vendor software
  • targeted registry exports

Everything gets hashed and packaged into one ZIP, with the files worth reading first marked REVIEW, and warnings logged separately from failures.

It’s meant to run as the everyday operator account. On a PC that logs in automatically, mapped drives, saved credentials, and browser profiles all belong to that user, and an admin account would see the wrong picture.

Where it went wrong

  • A script that “finished” in zero seconds. One later version of the audit added nicer status messages, but it had been rewritten around the working code instead of from it, and it lost the actual collection. It ran, said complete, and took zero seconds. That wasn’t an audit. The rule since then: improve the known-good script; don’t replace it with a new wrapper.
  • Folders that loop. A recursive file sweep hung on Windows junction points. The fix was to skip them (robocopy /XJ).
  • Em dashes. Fancy dashes in the script’s comments broke it under PowerShell 5.1. It’s been plain ASCII since.
  • Ctrl+C, twice, mid-run. The resume logic picked up and repaired the half-finished registry export on its own.

How the new PC gets judged

Not by Windows booting, and not by apps opening as an admin. The new PC passes when the operator’s normal workflow works:

  • addresses, DNS, routes, mapped drives, and the system web pages it needs all respond
  • every required app launches from the same shortcuts operators use
  • each app sees the right devices, projects, profiles, and server paths
  • the physical pieces work: dongles, serial adapters, a second network card, capture hardware, the KVM path

And the old PC stays on the shelf until that’s true in real use.

What I took from it

  • “Build clean” and “keep everything” aren’t opposites when the archive lives separately from the new build.
  • The operator’s account is part of the system. Audit as the user who actually runs it.
  • Read-only discovery makes it safe to look hard at a production-adjacent machine.
  • A success message isn’t evidence. Runtime, output files, and hashes are.
  • Improve the known-good version. Don’t rebuild a working tool from a summary of it.

Still open

  • Confirm the cutover date and the final sign-off.
  • Confirm the disk image was made, and when the old PC was retired.
  • Pick the final trusted version of the audit script for the public, generic release (no site paths or hostnames).