How to Connect Your iPhone to a Different Computer
- 1). Plug your iPhone into your primary computer and open iTunes.
- 2). Select your iPhone from the sources pane on the left hand side of the iTunes window.
- 3). Select the "Summary" tab and make sure that the "Automatically sync when this iPhone is connected" option is unchecked. This will make it so that you can plug your iPhone into a different computer without forcing iTunes to open.
- 4). Connect your iPhone to a different computer to test the set up. If iTunes doesn't open automatically, you have properly set your iPhone up to be used on multiple computers.
Source...