Error Exporting registry

G

Guest

Hello,

I'm having problems exporting registry keys for backup.
When I go to Regedit and try to export the registry an error message appears
saying "Error writing the file, There may be a Disk or File System Error"
Of course there is no error with disk (Have checked that) and there is the
file output (about 64MB)
How can I get rid of the error message and how can I make sure the file
output is correct?

Thanks,
 
G

Guest

Error message appears when trying to export HKEY_CURRENT_USER ans HKEY_USERS
In particular when I tried to export Control Panel under HKEY_CURRENT_USER
error message appeared.
Originally I tried to backup the whole registry when I notied this error.
Then tied to do it Key by Key and then branch by branch.
Is there a way to do it faster than checking branch by branch?
 
L

Larry Gardner

Try Exporting as a hive instead of .reg file (use the drop-down list).

HKEY_USERS by the way is not all the users on the system. Just the system
users, default (which isn't then true Default User), and the currently
logged in user.
 
G

Guest

Ok, here are the details:

- When trying to view "HKEY_CURRENT_USER>Control Panel>International" a
message is displayed: Error reading the value's content !
But it displays everything; I cannot export it to .reg but successful to
export it as a hive.
- The same thing under "HKEY_USERS>S-1-5-...>Control Panel>International"
meaning I cannot export it as .reg but successful to export as a hive file.
- However when I try to export "HKEY_LOCAL_MACHINE>SECURITY" as a hive I
receive the message: "The selected Branch does not exist. Make sure the
correct path is given"

Any ideas?
Thanks
 
L

Larry Gardner

1. You cannot export an empty branch (SECURITY)
2. If you can export as hive but not reg file then that means that a value
has embedded nulls in it (I ran into this on my cousins system and could not
delete the key to fix the value).

You should have values to the right and one sub-key branch named Geo with a
value of Nation in it.
Here is mine:

[HKEY_CURRENT_USER\Control Panel\International]
"iCountry"="1"
"iCurrDigits"="2"
"iCurrency"="0"
"iDate"="0"
"iDigits"="2"
"iLZero"="1"
"iMeasure"="1"
"iNegCurr"="0"
"iTime"="0"
"iTLZero"="0"
"Locale"="00000409"
"s1159"="AM"
"s2359"="PM"
"sCountry"="United States"
"sCurrency"="$"
"sDate"="/"
"sDecimal"="."
"sLanguage"="ENU"
"sList"=","
"sLongDate"="dddd, MMMM d, yyyy"
"sShortDate"="M/d/yyyy"
"sThousand"=","
"sTime"=":"
"sTimeFormat"="h:mm:ss tt"
"iTimePrefix"="0"
"sMonDecimalSep"="."
"sMonThousandSep"=","
"iNegNumber"="1"
"sNativeDigits"="0123456789"
"NumShape"="1"
"iCalendarType"="1"
"iFirstDayOfWeek"="6"
"iFirstWeekOfYear"="0"
"sGrouping"="3;0"
"sMonGrouping"="3;0"
"sPositiveSign"=""
"sNegativeSign"="-"

[HKEY_CURRENT_USER\Control Panel\International\Geo]
"Nation"="244"

My values data may not be like yours ... this is your Regional and
International Settings under Control Panel. Can you use that Control Panel
tool without a problem?
 
G

Guest

I copied this part from my desktop. Still when I try to view this branch I
get an error message: Error reading the value's content.
When I click OK (on the error message) I can see the values. But still I
cannot export it to a .reg file.

How about SECURITY? Is something missing there?


Larry Gardner said:
1. You cannot export an empty branch (SECURITY)
2. If you can export as hive but not reg file then that means that a value
has embedded nulls in it (I ran into this on my cousins system and could not
delete the key to fix the value).

You should have values to the right and one sub-key branch named Geo with a
value of Nation in it.
Here is mine:

[HKEY_CURRENT_USER\Control Panel\International]
"iCountry"="1"
"iCurrDigits"="2"
"iCurrency"="0"
"iDate"="0"
"iDigits"="2"
"iLZero"="1"
"iMeasure"="1"
"iNegCurr"="0"
"iTime"="0"
"iTLZero"="0"
"Locale"="00000409"
"s1159"="AM"
"s2359"="PM"
"sCountry"="United States"
"sCurrency"="$"
"sDate"="/"
"sDecimal"="."
"sLanguage"="ENU"
"sList"=","
"sLongDate"="dddd, MMMM d, yyyy"
"sShortDate"="M/d/yyyy"
"sThousand"=","
"sTime"=":"
"sTimeFormat"="h:mm:ss tt"
"iTimePrefix"="0"
"sMonDecimalSep"="."
"sMonThousandSep"=","
"iNegNumber"="1"
"sNativeDigits"="0123456789"
"NumShape"="1"
"iCalendarType"="1"
"iFirstDayOfWeek"="6"
"iFirstWeekOfYear"="0"
"sGrouping"="3;0"
"sMonGrouping"="3;0"
"sPositiveSign"=""
"sNegativeSign"="-"

[HKEY_CURRENT_USER\Control Panel\International\Geo]
"Nation"="244"

My values data may not be like yours ... this is your Regional and
International Settings under Control Panel. Can you use that Control Panel
tool without a problem?

Random user said:
Ok, here are the details:

- When trying to view "HKEY_CURRENT_USER>Control Panel>International" a
message is displayed: Error reading the value's content !
But it displays everything; I cannot export it to .reg but successful to
export it as a hive.
- The same thing under "HKEY_USERS>S-1-5-...>Control Panel>International"
meaning I cannot export it as .reg but successful to export as a hive
file.
- However when I try to export "HKEY_LOCAL_MACHINE>SECURITY" as a hive I
receive the message: "The selected Branch does not exist. Make sure the
correct path is given"

Any ideas?
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top