ROBOCOPY exit codes explained
Robocopy does not use a standard pass/fail exit code. It uses a bitmask — a number where each bit represents a different outcome, and multiple bits can be set at the same time. This means a non-zero exit code does…
Practical guides for system administrators — Windows, PowerShell, Active Directory, networking, and infrastructure.
Robocopy does not use a standard pass/fail exit code. It uses a bitmask — a number where each bit represents a different outcome, and multiple bits can be set at the same time. This means a non-zero exit code does…
When a port is unreachable, a service is not responding, or something is holding a connection open, netstat is the first command to run. It shows exactly what is listening on which port, which connections are established, which processes own…
Windows Backup and File History work well enough for workstations, but they are not tools most sysadmins reach for when they need to back up a file server, a shared folder, or a specific directory structure on a schedule they…
Syncing two folders with Robocopy is one of the most common tasks sysadmins use it for – but it is also where the most mistakes happen. The difference between “copy everything” and “mirror exactly” is a single flag, and using…
Git is version control software that tracks changes in files over time. System administrators use it to manage PowerShell scripts, configuration files, infrastructure documentation, and runbooks — anything that changes and needs a history. Without version control, you rely on…
XCOPY can copy files. Robocopy can copy files the way a sysadmin actually needs them copied. Built into every version of Windows since Vista, Robocopy handles network interruptions, preserves NTFS permissions, filters by file attributes, runs multi-threaded, and logs everything…
Every DNS problem in a Windows environment starts the same way: something that should resolve doesn’t, and you need to know why. nslookup is the tool that answers that question — quickly, without installing anything, and directly from the machine…
When Active Directory starts behaving unexpectedly — users cannot log in, Group Policy stops applying, replication falls behind, or DNS resolution breaks for domain names — the first diagnostic tool every AD administrator reaches for is dcdiag. It runs a…
Most disk operations in Windows can be done through the graphical Disk Management tool. But there are situations where the GUI refuses to help — recovery partitions blocking an extend operation, disks that need to be initialized before Windows Setup…
Every time you embed an image in an HTML email, store a secret in a Kubernetes manifest, or pass a file through an API that only accepts text — Base64 is working in the background. It is one of those…