V1 is correct. The quotation mark at the beginning of the string will prevent Terminal from correctly parsing/interpreting the command and you are correct that I overlooked loginwindow.
If we knew what it was we were doing, it wouldn't be called research, would it?