- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
Hive Files in .NET
Hive Files DataMatrix Printer In .NET Using Barcode generator for ASP.NET Control to generate, create DataMatrix image in ASP.NET applications. www.OnBarcode.comCreate Barcode In .NET Using Barcode encoder for ASP.NET Control to generate, create bar code image in ASP.NET applications. www.OnBarcode.comHive files are binary files that contain portions of the registry. As you recall from 1, "Learning the Basics," Windows XP stores different parts of the registry in different hive files. Regedit displays all these hives together in one logical unit. Hive files are useful tools, though. You can export branches to hive files that can then be imported to another computer or by another user. They're great backups. Exported hive files have purposes similar to REG files. Hive files have most of the advantages of REG files, except that you can't view and edit them in a text editor. The advantage that hive files have over REG files is that you can load and edit them in Regedit without actually replacing your own settings. The section "Working with Hive Files," on the facing page, describes how to load hive files. Data Matrix Creation In C#.NET Using Barcode drawer for .NET Control to generate, create DataMatrix image in Visual Studio .NET applications. www.OnBarcode.comDataMatrix Generator In .NET Using Barcode maker for .NET framework Control to generate, create Data Matrix 2d barcode image in .NET applications. www.OnBarcode.comText Files
Data Matrix 2d Barcode Drawer In Visual Basic .NET Using Barcode drawer for Visual Studio .NET Control to generate, create Data Matrix 2d barcode image in .NET framework applications. www.OnBarcode.comEncode 1D Barcode In .NET Framework Using Barcode printer for ASP.NET Control to generate, create 1D image in ASP.NET applications. www.OnBarcode.comYou can export keys to text files, but you can't import them back into the registry. If you're curious what an exported text file looks like, take a look at the sample printer output in the "Printing the Registry" section. They are one and the same. Regedit makes exported text files more readable than REG files, which can help you interpret settings better, but that's about the only use of text files. Data Matrix Printer In Visual Studio .NET Using Barcode creation for ASP.NET Control to generate, create Data Matrix 2d barcode image in ASP.NET applications. www.OnBarcode.comEncoding QR Code In .NET Using Barcode maker for ASP.NET Control to generate, create Denso QR Bar Code image in ASP.NET applications. www.OnBarcode.comWorking with Hive Files
Drawing EAN-13 In .NET Framework Using Barcode drawer for ASP.NET Control to generate, create UPC - 13 image in ASP.NET applications. www.OnBarcode.comUPC Code Maker In .NET Framework Using Barcode printer for ASP.NET Control to generate, create UPC A image in ASP.NET applications. www.OnBarcode.comThere are two scenarios in which working with hive files is an important part of an IT professional's job. The first is when creating a default user profile, which you learn how to do in 10, "Deploying User Profiles." The other is troubleshooting. You can take a hive file from a computer or user profile that's not working properly, repair it on another computer, and then replace it on the original computer. Loading a hive file is different from importing a hive file. When you import a hive file, which you learned how to do in the previous section, you actually replace settings in the registry. In other words, you load the hive file over existing settings. When you load a hive file, you create a whole new branch in the registry that doesn't overlap or replace any other branch. This enables you to edit the settings in a hive file without changing your own settings. Here's how to load a hive file in to the registry: 1. In the key pane, click either HKU or HKLM. 2. On the File menu, click Load Hive. 3. In the File Name box, type the path and file name of the hive file you're loading, and then click Open. 4. In the Key Name box, shown in Figure 2 6, type the name you want to assign to the hive. Making Code 39 Extended In VS .NET Using Barcode drawer for ASP.NET Control to generate, create Code 3 of 9 image in ASP.NET applications. www.OnBarcode.comInternational Standard Book Number Maker In .NET Using Barcode maker for ASP.NET Control to generate, create ISBN - 10 image in ASP.NET applications. www.OnBarcode.comFigure 2 6: Type a name that describes what the hive file contains. The name you give to the key is arbitrary. Use any name that helps you identify the hive file that you're loading. All you're doing in this step is creating a root key in which to load the hive file. When you're finished editing settings in the hive file, you must unload it before doing anything else with it, such as copying it to a removable disk. That's because Windows XP locks the file until you unload it. Unloading a hive file is easy: Click the key into which you loaded the hive, which you specified in step 4, and then click Unload Hive on the File menu. If you get an error message when you try to copy the hive file or profile folder that contains a hive file, it's usually because you forgot to unload it from the registry. Command Line Alternative 51 Draw EAN-13 Supplement 5 In Java Using Barcode creation for Java Control to generate, create EAN-13 image in Java applications. www.OnBarcode.com1D Barcode Encoder In VB.NET Using Barcode generator for Visual Studio .NET Control to generate, create 1D Barcode image in Visual Studio .NET applications. www.OnBarcode.comWindows XP comes with a killer command line alternative to Regedit. Anything you can do with Regedit you can do with Console Registry Tool for Windows. And this tool installs with Windows XP, unlike earlier versions of Windows, which required you to get the tool from the resource kits. What's so great about a command line registry editor You can use it to script registry changes. For example, you can write a batch file that automatically backs up a portion of the registry. Imagine a batch file that extracts hardware information from a computer and dumps it on to a network share. That's a quick inventory system. Recently, I used Reg.exe to extract the GUID (see 1, "Learning the Basics") from every computer on a network so that I could configure them as managed computers in Active Directory. This was a huge timesaver. 9, "Scripting Registry Changes," describes Console Registry Tool for Windows, otherwise known as Reg.exe, in great detail. If you want to learn more about it now, just type Reg.exe at the MS DOS command prompt. Recognize Bar Code In VS .NET Using Barcode Control SDK for ASP.NET Control to generate, create, read, scan barcode image in ASP.NET applications. www.OnBarcode.comDecode Barcode In Java Using Barcode recognizer for Java Control to read, scan read, scan image in Java applications. www.OnBarcode.comData Matrix ECC200 Recognizer In None Using Barcode decoder for Software Control to read, scan read, scan image in Software applications. www.OnBarcode.comBar Code Drawer In C#.NET Using Barcode printer for Visual Studio .NET Control to generate, create bar code image in .NET applications. www.OnBarcode.comBar Code Maker In Java Using Barcode encoder for BIRT reports Control to generate, create barcode image in Eclipse BIRT applications. www.OnBarcode.comDraw Data Matrix In VB.NET Using Barcode printer for .NET framework Control to generate, create Data Matrix ECC200 image in .NET framework applications. www.OnBarcode.com |
|