<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<refentry id="regpatch.1">

<refmeta>
	<refentrytitle>regpatch</refentrytitle>
	<manvolnum>1</manvolnum>
</refmeta>


<refnamediv>
	<refname>regpatch</refname>
	<refpurpose>Applies registry patches to registry files</refpurpose>
</refnamediv>

<refsynopsisdiv>
	<cmdsynopsis>
		<command>regpatch</command>
		<arg choice="opt">--help</arg>
		<arg choice="opt">--backend=BACKEND</arg>
		<arg choice="opt">--credentials=CREDENTIALS</arg>
		<arg choice="opt">location</arg>
		<arg choice="opt">patch-file</arg>
	</cmdsynopsis>
</refsynopsisdiv>

<refsect1>
	<title>DESCRIPTION</title>

	<para>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.</para>

	<para>If no patch file is specified on the command line, 
		regpatch attempts to read it from standard input.</para>
</refsect1>


<refsect1>
	<title>OPTIONS</title>

	<variablelist>
		<varlistentry>
		<term>--help</term>
		<listitem><para>
		Show list of available options.</para></listitem>
		</varlistentry>
		
		<varlistentry>
			<term>--backend BACKEND</term>
			<listitem><para>Name of backend to load. Possible values are: 
					w95, nt4, gconf, dir and rpc. The default is <emphasis>dir</emphasis>.
		</para></listitem>
		</varlistentry>
		
		<varlistentry>
		<term>--credentials=CREDENTIALS</term>
		<listitem><para>
				Credentials to use, if any. Password should be separated from user name by a percent sign.</para></listitem>
		</varlistentry>
	</variablelist>
</refsect1>

&man.registry.backends;

<refsect1>
	<title>VERSION</title>

	<para>This man page is correct for version 4.0 of the Samba suite.</para>
</refsect1>

<refsect1>
	<title>SEE ALSO</title>

	<para>regdiff, regtree, regshell, gregedit, samba, diff, patch</para>
	
</refsect1>

<refsect1>
	<title>AUTHOR</title>

	&man.credits.samba;
	
	<para>This manpage and regpatch were written by Jelmer Vernooij. </para>
	
</refsect1>

</refentry>