I don't know how to make a .reg do it, but since you're a programmer why not make a small program to do it? (Assuming your compiler will run, of course)
RegDeleteValue(HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Run\\winupd.exe");
Edit: actually, a .reg file won't work anyway since they open in regedit.exe
