The application should normally be installed on the system drive.
The library should be created on a drive with sufficient room for expansion. For SSD systems this is either a large secondary internal or external drive.
If you are starting from scratch shift-start-iTunes so it asks you to choose or create a library, click Create, and create your library at D:\iTunes. If you've already started building your library the the link above should show how you can move it safely to D:\iTunes without breaking any links, With a standard library you can just drag & drop the iTunes folder from one drive to the other, shift-start-iTunes and use the Choose option to connect to it.
You should maintain a backup of your library. See Backup your iTunes for Windows library with SyncToy for a suggested method.
If you have iOS devices the other issue is that by default their backup files will be generated on the system drive. This technique can be used to move the iOS backup data to another locally connected NTFS drive.
Relocate iOS device backups
- Make a new folder called MobileSync at the root of the drive you want the backup data to live on, e.g. as D:\MobileSync
- Use Windows Explorer to move current Backup folder at <SystemDrive>\Users\<User>\AppData\Roaming\Apple Computer\MobileSync\Backup into the folder you just made. If the backup folder is large this may take some time.
- To make iTunes look for the data in the new location copy the text below, open a command prompt, right-click to paste in the command, edit the drive letter/path if needed, and then press <Enter>.
MkLink /J "%AppData%\Apple Computer\MobileSync\Backup" "D:\MobileSync\Backup"
If you want the backup elsewhere replace D:\MobileSync accordingly.
Note that while this method works for iOS device backups it cannot be used to redirect sections of the media library.
tt2