Discussion Locked

edit windows registry in dos

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i'm trying to make a boot disk or batch file that can edit windows registry. mainly to change computer names. any help would be appreciated

thank you

7 replies

by zlatin zlatev

One of the easiest and intuitive way to do this is to make the changes you need in regedit from the Windows GUI and then use "Registry"->"Export Registry file"
this will create a REG file with your settings. (you may need to edit this REG file manually to remove some of the keys/values - it is text file so you can use Notepad)
Then when you need to do this changes from the command prompt just call Regedit with a parameter the pathname of the REG file

Hope this is useful for you,
Regards,Zlatin Zlatev

by parier

One way is to export your registry to the root of c:\ drive. Then change the .reg to .txt and you can use DOS EDIT to change it if you need to, then boot into windows and you can update your current registry. If you know the exact string to edit,export only that string and all you will have to do is click on it and you will still need to reboot after changing the name. However you can have a dual boot of 2 instances of windows 98 and use trwo different computer names. Check out a program (graphical boot manager, called XOSL)

Let me know if you need more help.
Eric

This discussion is closed to new replies.