You should be able to put this registry change into a .REG file for both cases, and double-click the proper one for which user-agent string you want. I have two reg files one puts the necessary info in and the other just removes it, I haven't used the one to remove, in a long time, because I have found no need to.