diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index 7b9caf55127..d8843175c35 100644
--- a/doc/src/sgml/ref/pg_ctl-ref.sgml
+++ b/doc/src/sgml/ref/pg_ctl-ref.sgml
@@ -1,5 +1,5 @@
@@ -70,6 +70,19 @@ PostgreSQL documentation
killsignal_nameprocess_id
+
+ pg_ctl
+ register
+ -N servicename
+ -U username
+ -P password
+ -D datadir
+ -w
+ -o options
+
+ pg_ctl
+ unregister
+ -N servicename
@@ -143,6 +156,17 @@ PostgreSQL documentation
which does not have a kill> command. Use
--help> to see a list of supported signal names.
+
+
+ mode allows you to register a system service
+ on Microsoft Windows>.
+
+
+
+ mode allows you to unregister a system service
+ on Microsoft Windows>, previously registered with the
+ command.
+
@@ -253,8 +277,44 @@ PostgreSQL documentation
-
-
+
+
+
+
+
+ Windows options
+
+
+
+
+
+
+ Name of the system service to register. The name will be used
+ as both the service name and the display name.
+
+
+
+
+
+
+
+
+ Password for the user to start the service.
+
+
+
+
+
+
+
+
+ Username for the user to start the service. For domain users, use the
+ format DOMAIN\username.
+
+
+
+
+