Windows has a large number of associated databases. Of course, the main database is the Registry, which includes the system, users, and applications.
Program All information set. However, windows also contains a large number of other databases you have never heard. These databases are saved as system database files and are suffixed with SDB. Some of them record the installation of the application. You will find that their names are usually setup. SDB. Others record the Service Pack status and have file names similar to this: apphelp. SDB, apph_sp.sdb, drvmain. SDB, msimain. SDB, and sysmain. SDB. There are other databases to track security or other system settings that are not displayed in the registry, such as SeCEdit. SDB. In short, Windows hides a lot of information except the registry. You can use extensible storage engine technology utility (esentutl) to access all these other databases.
Not every SDB file on your hard disk is a database. What's confusing is that Microsoft also uses the SDB extension on some text files. For example, Visual Studio setup. SDB is a text file. This file tells you a lot about the application, but this information is not in a format that esentutl can manage. The correct SDB file contains binary data.
Warning esentutl is extremely powerful. Improper application of the wrong file will erase the security information or make your system unable to start. Therefore, make sure that you fully understand the tool before using it. Back up data before modifying any database. Verify these modifications as much as possible through the Microsoft Knowledge Base before doing so.
The esentutl tool does not provide you with much help information. In fact, it is difficult for you to find a reference to this tool in all windows help files or many other Microsoft resources. One thing you can find is the Microsoft Knowledge Base. You need to use esentutl to fix many windows problems. You can use "esentutl site: support.microsoft.com" as a keyword to search for some examples of using this tool from the Microsoft Knowledge Base on Google.
Esentutl runs in several modes. Each mode executes different tasks on the SDB file. Here is the syntax for each mode:
Fragment mode: esentutl/d <Database File Name> [Option]
Recovery mode: esentutl/R [Option]
Integrity check mode: esentutl/g <Database File Name> [Option]
Repair Mode: esentutl/P <Database File Name> [Option]
Verification Mode: esentutl/k <Database File Name> [Option]
File dumping mode: esentutl/M [mode modifier] <File Name>
Replication mode: esentutl/Y <Source File> [Option] *** only used for the Vista operating system ***
The preceding options vary according to the mode. However, some options are available in all modes. Here is a general option:
/8 defines the database page size as 8 KB. Under normal circumstances, esentutl automatically checks the page size. This option is used only when the Microsoft Knowledge Base tells you or when you encounter a problem reading the database.
/O disable the Microsoft logo. You can use this option to create report output or as input to another database.
/S <stream File Name> sets the file name for the stream data output. The default value is none. This option is used when you want to use streaming data technology-instead of simply dumping-to send data. This option applies to fragment, integrity check, repair, and file dump modes.
/T <Database File Name> sets the temporary database file name. The default setting is TEMP-DFRG *. EDB. Generally, you do not need to change the database file name because esentutl already supports multiple temporary databases. This option applies to fragment, integrity check, and repair modes.
Note: Some modes use the same option switch for different purposes. Therefore, do not assume that the/F switch in the fragment mode and the/F switch in the integrity check mode perform the same task.