You could use Reg for example
REG Add HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowDriveLettersFirst /t REG_SZ /d "4" /f
Alternatively you could use VB Script, AutoIT, Regedit using /s to import etc..
Cheers