Registry Export Error.

This is a discussion about Registry Export Error. in the Everything New Technology category; Everytime I try to export HKLM and HKU as Registry Hive Files using regedit, I get the following error message: Registry Editor Cannot export D:\Hives\Local Machine: Error writing the file. There may be a disk or file system error.

Everything New Technology 1823 This topic was started by ,


data/avatar/default/avatar23.webp

3 Posts
Location -
Joined 2004-06-26
Everytime I try to export HKLM and HKU as Registry Hive Files using regedit, I get the following
error message:
 
 
Registry Editor
Cannot export D:\Hives\Local Machine: Error writing the file. There may be a disk or file system
error.
 
 
I am trying to export the above mentioned hive to my second hdd. Can anyone tell me what I am
doing wrong?
I have no problem using regedit to save HKLM and HKU as .reg files.
 
I'm using WinXP Pro SP2.
 
What have I tried? I did a clean install for WinXP with no service
pack update on a new hdd. As soon as the installation was complete, I
used regedit to access the registry. I tried to export HKLM as a
registry hive file to my desktop and received the a similar error
message.
I have administrator rights.
 
Thanx for taking the time.
 

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jul 1
Created
Jul 2
Last Response
0
Likes
2 minutes
Read Time
User User User
Users

Responses to this topic


data/avatar/default/avatar39.webp

1457 Posts
Location -
Joined 2001-12-18
I am not certain why it is giving you a "disk full" error, but as I understand it, while you can export hives, they are exported in binary format, and as far as I know cannot be re-imported. In other words, what is in there is your machine's configuration at a machine language level.

data/avatar/default/avatar09.webp

1019 Posts
Location -
Joined 2004-12-21
Hmm.. I got that too.
 
"Cannot export C:\Documents and Settings\Ville\My Documents\test: Error writing the file. There may be a disk or file system error."
 

data/avatar/default/avatar23.webp

3 Posts
Location -
Joined 2004-06-26
OP
Sampson,
Thanx for the reply.
 
I'm not getting a full disk error. I'm getting a file write error. The message also mentions that there may be a disk or a file system error. According to Jerry Honeycutt's book, Microsoft Windows XP Registry Guide, you can export and import Hives as Registry Hive Files. As a matter of fact, he states that backing up Hives is better than using Reg files.
 
Let me also state that I'm am able to export the remaining three hives, HKCC,HKCU,and HKCR, with no problem.
 
 

data/avatar/default/avatar23.webp

3 Posts
Location -
Joined 2004-06-26
OP
Resolved the problem. HKLM is comprised of sub-Hives. I can access each sub-Hive individually and export it to another location.
To export SAM (Security Accounts Manager) permission must be granted. Same goes for HKU.