Is it possible to modify a registry value (whether string or DWORD) via a .bat/.cmd script?
In addition to reg.exe, I highly recommend that you also check out powershell, its vastly more capable in its registry handling.