REGDIFF(1) System Administration tools REGDIFF(1)

# [NAME](#NAME)

regdiff - Diff program for Windows registry files

# [SYNOPSIS](#SYNOPSIS)

.HP 192u

**regdiff** \[--help] \[--backend=BACKEND] \[--credentials=CREDENTIALS] \[location]

# [DESCRIPTION](#DESCRIPTION)

.PP regdiff compares two Windows registry files key by key and value by value and generates a text file that contains the differences between the two files.

.PP A file generated by regdiff can later be applied to a registry file by the regpatch utility.

.PP regdiff and regpatch use the same file format as the regedit32.exe utility from Windows.

# [OPTIONS](#OPTIONS)

.PP --help

Show list of available options.

.RE .PP --backend BACKEND

Name of backend to load. Possible values are: creg, regf, dir and rpc. The default is *dir*.

This argument can be specified twice: once for the first registry file and once for the second.

.RE .PP --credentials=CREDENTIALS

Credentials to use, if any. Password should be separated from user name by a percent sign.

This argument can be specified twice: once for the first registry file and once for the second.

.RE

# [VERSION](#VERSION)

.PP This man page is correct for version 4.0 of the Samba suite.

# [SEE ALSO](#SEE_ALSO)

.PP gregedit, regshell, regpatch, regtree, samba, patch, diff

# [AUTHOR](#AUTHOR)

.PP This utility is part of the **Samba**\[1] suite, which is developed by the global **Samba Team**\[2].

.PP This manpage and regdiff were written by Jelmer Vernooij.

# [NOTES](#NOTES)

1\.

Samba

http://www.samba.org/

2\.

Samba Team

http://www.samba.org/samba/team/

11/05/2026 Samba 4.0

---

Document: regdiff(1) from samba 4.25.1-r1 (Chainguard OS)
Source: https://github.com/samba-team/samba
