REGPATCH(1) System Administration tools REGPATCH(1)

# [NAME](#NAME)

regpatch - Applies registry patches to registry files

# [SYNOPSIS](#SYNOPSIS)

.HP 216u

**regpatch** \[--help] \[--backend=BACKEND] \[--credentials=CREDENTIALS] \[location] \[patch-file]

# [DESCRIPTION](#DESCRIPTION)

.PP The regpatch utility applies registry patches to Windows registry files. The patch files should have the same format as is being used by the regdiff utility and regedit32.exe from Windows.

.PP If no patch file is specified on the command line, regpatch attempts to read it from standard input.

# [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*.

.RE .PP --credentials=CREDENTIALS

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

.RE

# [VERSION](#VERSION)

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

# [SEE ALSO](#SEE_ALSO)

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

# [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 regpatch 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: regpatch(1) from samba 4.25.1-r1 (Chainguard OS)
Source: https://github.com/samba-team/samba
