中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-18 18:11
47,814 topics / 349,908 posts / today 1 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » Help! How to restore the registry of the XP system under DOS?
Printable Version  2,028 / 8
Floor1 kevinye Posted 2007-03-07 11:40
新手上路 Posts 4 Credits 10
After I modified the registry, my XP system cannot boot, and it's also not possible in safe mode. But I made a backup. May I ask how I can restore my backed-up registry under DOS? The file I backed up has the.reg extension, and I remember there are 5 registry files in XP: system, software, sam, seurity, default. Do I need to write the backed-up file into the aforementioned 5 files respectively? How to write them in? Thank you in advance, urgently waiting.
Floor2 PPdos Posted 2007-03-07 12:06
高级用户 Posts 268 Credits 783
Can't we just directly import by entering the backup file name under the command prompt?

You can try using the command reg import backup.reg to import.

If it still doesn't work, we'll discuss it further.
Floor3 kevinye Posted 2007-03-07 13:25
新手上路 Posts 4 Credits 10
Is there a "reg" command in DOS after booting with a DOS boot disk?
Floor4 0451lym Posted 2007-03-07 13:40
高级用户 Posts 357 Credits 760
@DELTREE.EXE /y c:\windows\system32\config\system
@DELTREE.EXE /y c:\windows\system32\config\software
@DELTREE.EXE /y c:\windows\system32\config\sam
@DELTREE.EXE /y c:\windows\system32\config\security
@DELTREE.EXE /y c:\windows\system32\config\default
@copy c:\windows\repair\system c:\windows\system32\config\system
@copy c:\windows\repair\software c:\windows\system32\config\software
@copy c:\windows\repair\sam c:\windows\system32\config\sam
@copy c:\windows\repair\security c:\windows\system32\config\security
@copy c:\windows\repair\default c:\windows\system32\config\default
@GOTO TC
Floor5 0451lym Posted 2007-03-07 13:41
高级用户 Posts 357 Credits 760
If it's a registry issue, you can enter the system with the above command, and then try to make changes!
Floor6 wlnwcn Posted 2007-03-09 13:41
初级用户 Posts 12 Credits 28
I encountered a similar problem before. I deleted a USER registry key at that time. You can try creating an administrator account under DOS.
Floor7 Climbing Posted 2007-03-09 20:05
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
It's quite difficult to import a reg file under DOS. You can boot into a PE, and then load the corresponding registry file of the XP system through PE, and then import the reg file (some corresponding modifications are needed).

Under PE:
reg load hklm\xpsys system
reg load hklm\xpsoft software
...
Floor8 lelige Posted 2007-03-20 23:14
初级用户 Posts 9 Credits 21
It is a component of GHOST 8.3, claiming to be able to import/export the registries of XP, 2003 and other systems in DOS. I haven't used it, but intuitively it should be able to.

Click here to download. Link has expired (note from administrator)
Floor9 liu3157551 Posted 2007-03-22 13:16
中级用户 Posts 164 Credits 259
Is the 4th floor feasible? Can someone say something?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023