initexmf 1 &PACKAGE_NAME; &miktexrev; User Commands
initexmf &MiKTeX; configuration utility
&initexmf; option

## Description

&initexmf; can be used to configure &MiKTeX;.

## User mode vs. administrator mode

This utility can be run in two modes:

User mode (default)

  &MiKTeX; operates on user-scoped configuration and data files.

Administrator mode

  Only system-wide &MiKTeX; configuration and data files are modified, assuming that the &MiKTeX; setup is shared by all users. The utility must be run with administrator privileges.

By default, the utility runs in user mode. You can turn on administrator mode with the `--admin` option.

## Options

`--default-paper-size=paper`

  Set the default paper size. paper must be `a4` or `letter`.

--default-paper-size=paper
paper size setting default
`--edit-config-file=configfile`

  Open the specified config file in a text editor.

--edit-config-file=file
`--list-modes`

  List all known &METAFONT; modes.

--list-modes
METAFONT modes
`--print-only`

  Print what would be done. Nothing is changed.

--print-only
`--quiet`

  Suppress screen output.

--quiet
`--register-root=dir`

  Register a &TEXMF; root directory.

--register-root
&TEXMF; root registering
`--report`

  Write a &MiKTeX; configuration report.

--report
`--set-config-value=[section]valuename=value`

  Set a value to be stored in the &MiKTeXconfigurationdatastore; (see miktex.ini 5).

--set-config-value=[section]valuename=value
`--show-config-value=[section]valuename`

  Print a value from the &MiKTeXconfigurationdatastore; (see miktex.ini 5).

--show-config-value=[section]valuename
`--unregister-root=dir`

  Unregister a &TEXMF; root directory.

--unregister-root
&TEXMF; root unregistering
`--user-roots=directories`

  Register user root directories.

`--verbose`

  Print information on what is being done.

--verbose
`--version`

  Print the version number and exit.

--version

## See also

- miktex 1
- miktex.ini 5