<p>Method and apparatus for command synchronization is described. In some embodiments, a remote system may set up a user interactive session with a local device according to a user interaction protocol. The remote system may insert a predetermined execution time into a first command and send the first command to a local device according to the user interaction protocol. The first command, when executed on the local device, causes a second command compliant with the user interaction protocol to execute on the local device at the predetermined execution time.</p>