Is it possible to modify a registry value (whether string or DWORD) via a .bat/.cmd script?
Yes. You can use reg.exe which comes with the OS to add, delete or query registry values. Reg.exe does not have an explicit modify command, but you can do it by doing delete and then add.