Windows Entries for Users

This section describes values for personal preferences for items that were formerly stored in WIN.INI for versions of Windows for MS-DOS.


HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows

device REG_SZ output-device-name, device-driver, port-connection

Defines the default printer. An explicit port and driver must be assigned to the device. The device-driver is the filename (without the extension) of the device driver file. To change this entry, use Print Manager.

Default: printerName,winspool,LPT1:

Documents REG_SZ extensions

Defines files to be considered "documents" by Windows NT. Use this entry to define only document file extensions not listed in the Extensions subkey, because those extensions are automatically considered documents. The extensions listed in this entry are not associated with any application. Separate the filename extensions with a space, and do not include the preceding periods.

Default: (empty)

DosPrint REG_SZ Boolean

Specifies whether to use MS-DOS interrupts when printing. When this entry is Yes, MS-DOS interrupts are used; if the value is No, printing output is sent directly to the port that the printer is assigned to. The default is No. To change this entry, clear Print Direct To Ports option in the Printer Details dialog box in Print Manager.

Default: No

ErrorMode REG_DWORD 0, 1, or 2

Controls the behavior of hard error popups.

The format for this entry is as follows:

Value

Definition

Mode 0

Current operating mode. Errors are serialized and wait for a response.

Mode 1

If the error does not come from the system, then normal operating mode. If the error comes from the system, then log the error to the event logger, and return OK to the hard error. No intervention is required and the popup is not seen.

Mode 2

Always log the error to the event logger and return OK to the hard error. Popups are not seen.


In all modes, system-originated hard errors are logged to the system log. To run an unattended server, use mode 2.

Default: 0

fPrintFileLine REG_SZ Boolean

Default: False

fPrintVerbose REG_SZ Boolean

Default: False

fPromptOnError REG_SZ Boolean

Default: True

fPromptOnVerbose REG_SZ Boolean

Default: False

fPromptOnWarning REG_SZ Boolean

Default: False

load REG_SZ filename(s)

Specifies the applications to be run as icons when Windows NT is started. This entry is a list of application filenames, or documents associated with an application, with each filename separated by a space. Make sure to specify the path if the file is not located in the SystemRoot directory. To change this entry, add the application to the Startup group in Program Manager, and then check Minimize On Use in the Properties dialog box.

Default: (empty)

NetMessage REG_SZ Boolean

Specifies whether to display a warning message if the system is configured to run a network and the network is not running or the wrong network is running. All Windows network-related options are disabled if the network is disabled or incorrect. Setting this value to 0 turns off the warning message. The default is 1.

Default: no

NullPort REG_SZ string

Specifies the name used for a null port. This name appears in the Printers Connect dialog box in Print Manager when a device is installed (that is, the device driver is present) but is not connected to any port.

Default: None

Programs REG_SZ extensions

Defines which files Windows NT regards as applications. Separate the filename extensions with a space and do not include the preceding periods.

Default: com exe bat pif cmd

run REG_SZ filename(s)

Tells Windows NT to run the specified applications when Windows NT is started. The value is a list of application filenames or documents associated with applications, with each filename separated by a space. Make sure you specify the complete path if the file is not in the SystemRoot directory. To change this entry, add the application to the Startup group in Program Manager.

Default: (none)