Microsoft Windows NT 4.0 Guide Instrukcja Użytkownika Strona 8

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 35
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 7
Application Compatibility Scripts for Windows NT Server, Terminal Server Edition 4
Applications keep configuration information in a system database called the registry.
The two most important sections of the registry are called
HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER.
Information that pertains to the entire system should be stored in
HKEY_LOCAL_MACHINE. An application might store the following information in
this section:
The components of an application that were installed.
The path used to load application components.
In certain circumstances, the path to a shared database. For example, a Point
of Sale application where all users reference the same database could put that
path in HKEY_LOCAL_MACHINE.
Applications store user specific information in the HKEY_CURRENT_USER section.
This section is part of the user profile. When a user logs on, his profile is loaded
into the systems registry and it becomes HKEY_CURRENT_USER. When the user
logs off, any changes to HKEY_CURRENT_USER are written back to his user
profile. Applications might store the following types of information in
HKEY_CURRENT_USER:
Paths to custom dictionaries, mailboxes, configuration files, and temporary
directories. Per-user paths are particularly important for multi-user operation.
Settings which are per-user preferences. For instance, some users might want
to enable background spell checking while others may want to disable it.
Per User Data in HKEY_LOCAL_MACHINE:
An application may put per-user data into HKEY_LOCAL_MACHINE instead of
HKEY_CURRENT_USER. For example, an application may store the path to a
mailbox in HKEY_LOCAL_MACHINE. This would cause all users to share the
same mailbox, which probably isnt the desired result. The application should use
HKEY_CURRENT_USER for per-user paths.
Resolution:
The most common problem deals with paths. By mapping each users home
directory to a drive letter, a common path can be specified which still maps to
individual files for each user. This technique will be discussed in more detail in the
Setting up Users sections on p. 14.
Other types of HKEY_LOCAL_MACHINE issues typically cant be corrected. For
example, if the application stores color preferences in HKEY_LOCAL_MACHINE,
then users wont be able to specify custom color preferences.
HKEY_CURRENT_USER information setup for single user only:
REGISTRY SETTINGS
Przeglądanie stron 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 34 35

Komentarze do niniejszej Instrukcji

Brak uwag