Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 750509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:33:33+00:00 2026-05-14T14:33:33+00:00

To start with I’ll say I’ve read the post here and I’m still having

  • 0

To start with I’ll say I’ve read the post here and I’m still having trouble.

I’m trying to create a CE6 image with a hive-based registry that actually stores results through a reboot.

  • I’ve ticked the hive settings in the catalog items.
  • In common.reg, I’ve set the location of the hive ([HKEY_LOCAL_MACHINE\init\BootVars] “SystemHive”) to “Hard Drive\Registry” (Note: the flash shows up as a device called “Hard Drive”)
  • In common.reg, I’ve set “Flags”=dword:3 in the same place to get the device manager loaded along with the storage manager
  • I’ve verified that these settings are wrapped in “; HIVE BOOT SECTION”

This is where it starts to fall over. It all compiles fine, but on the target system, when it boots, I get:

  • A directory, called “Hard Disk” where a registry is put
  • A device, name called “Hard Disk2” where the permanent flash is
  • Any changes made to the registry are lost on a reboot

What am I still missing?
Why is the registry not being stored on the flash?

Strangly, if I create a random file/directory in the registry directory, it is still there after a reboot, so even though this directory isn’t on the other partition (where I tried to put it), it does appear to be permanent. If it is permanent, why don’t registry settings save (ie Ethernet adapter IP addresses?)

I’m not using any specific profiles, so I’m at a loss as to what the last step is to make this hive registry a permanent store.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:33:33+00:00Added an answer on May 14, 2026 at 2:33 pm

    First, I hope you are not changing common.reg directly. You should never change public code. If you want to change public registry keys you need set them in your project.reg or platform.reg and they will override the public settings.

    SystemHive should be set to the name of the directory to which you want to store the hive files without the name of the device.
    In your case:
    "SystemHive"="Registry\\system.hv"
    Quote from the MSDN source:

    Do not include the name of the file system on which the file is stored. The system will determine which file system to use based on other registry settings.


    Update regarding your second comment (source):

    If this value is present under HKEY_LOCAL_MACHINE, it indicates that the system hive has been restored successfully. If it is present under HKEY_CURRENT_USER, it indicates that the user hive was successfully restored.

    Are you flushing the changes you make?
    Check that you don’t have a wierd implementation of IOCTL_HAL_GET_HIVE_CLEAN_FLAG (source) – your system might be returning a true value to clean the system registry every boot.


    You can add a thread that will periodically flush your registry (though I’d recommend excluding it and let each application flush its own changes) – PRJ_ENABLE_REGFLUSH_THREAD

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Start here: scroll to bottom footer I'm unable to create a hover effect on
To start off, I'm having trouble getting my serial device to generate a SIGIO
to start with I have this: <body class=nojs> I'm trying to remove the nojs
I start to read JavaScript Patterns , some codes confused me. var global =
To start let me just say that I am new to jQuery as well
Start learning Ajax (and jQuery), I encounter the issue with post form data, which
Just start to develop with devise for my app authentication, however running into trouble
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Start with these simple classes... Let's say I have a simple set of classes
To start, let me say that I'm a beginner and this program is my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.