1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="regshell.1">
6 <refentrytitle>regshell</refentrytitle>
7 <manvolnum>1</manvolnum>
12 <refname>regshell</refname>
13 <refpurpose>Windows registry file browser using readline</refpurpose>
18 <command>regshell</command>
19 <arg choice="opt">--help</arg>
20 <arg choice="opt">--backend=BACKEND</arg>
21 <arg choice="opt">--credentials=CREDENTIALS</arg>
22 <arg choice="opt">location</arg>
27 <title>DESCRIPTION</title>
30 regshell is a utility that lets you browse thru a Windows registry
31 file as if you were using a regular unix shell to browse thru a
39 <title>OPTIONS</title>
45 Show list of available options.</para></listitem>
49 <term>--backend BACKEND</term>
50 <listitem><para>Name of backend to load. Possible values are:
51 w95, nt4, gconf, dir and rpc. The default is <emphasis>dir</emphasis>.
56 <term>--credentials=CREDENTIALS</term>
58 Credentials to use, if any. Password should be separated from user name by a percent sign.</para></listitem>
64 <title>COMMANDS</title>
68 <term>ck|cd <keyname></term>
70 Go to the specified subkey.
75 <term>ch|predef [predefined-key-name]</term>
77 Go to the specified predefined key.
84 List subkeys and values of the current key.
89 <term>mkkey|mkdir <keyname></term>
91 Create a key with the specified <replaceable>keyname</replaceable> as a subkey of the current key.
96 <term>rmval|rm <valname></term>
98 Delete the specified value.
103 <term>rmkey|rmdir <keyname></term>
105 Delete the specified subkey recursively.
111 <listitem><para>Print the full name of the current key.</para></listitem>
115 <term>set|update</term>
116 <listitem><para>Update the value of a key value. Not implemented at the moment.</para></listitem>
121 <listitem><para>Print a list of available commands.</para></listitem>
124 <term>exit|quit</term>
125 <listitem><para>Leave regshell.</para></listitem>
131 <title>EXAMPLES</title>
133 <para>Browsing thru a nt4 registry file</para>
135 <userinput>regshell -b nt4 NTUSER.DAT</userinput>
136 $$$PROTO.HIV> <userinput>ls</userinput>
146 K UNICODE Program Groups
147 K Windows 3.1 Migration Status
148 $$$PROTO.HIV> <userinput>exit</userinput>
151 <para>Listing the subkeys of HKEY_CURRENT_USER\AppEvents on a remote computer:</para>
153 <userinput>regshell --remote=ncacn_np:aurelia -c "jelmer%secret"</userinput>
154 HKEY_CURRENT_MACHINE> <userinput>predef HKEY_CURRENT_USER</userinput>
155 HKEY_CURRENT_USER> <userinput>cd AppEvents</userinput>
156 Current path is: HKEY_CURRENT_USER\AppEvents
157 HKEY_CURRENT_USER\AppEvents> <userinput>ls</userinput>
160 HKEY_CURRENT_USER\AppEvents> <userinput>exit</userinput>
165 <title>VERSION</title>
167 <para>This man page is correct for version 4.0 of the Samba suite.</para>
171 <title>SEE ALSO</title>
173 <para>regtree, regdiff, regpatch, gregedit, samba</para>
178 <title>AUTHOR</title>
180 <para>This utility is part of the <ulink url="http://www.samba.org/">Samba</ulink> suite, which is developed by the global <ulink url="http://www.samba.org/samba/team/">Samba Team</ulink>.</para>
182 <para>This manpage and regshell were written by Jelmer Vernooij. </para>