• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1759
  • Last Modified:

Change the default save location itunes library by group policy

I've a lot of network users who are syncing their Iphone with the local Windows pc with Itunes. The default location of the Itunes library is in the My documents folder. The problem is that this my documents folder is being synced with the users homedirectory on the network.

Is their a way to change (by group policy or registry) the default Itunes library save location?
0
sitpro
Asked:
sitpro
  • 2
  • 2
1 Solution
 
MdraggaCommented:
You can change the default save location within iTunes in the Edit > Preferences > Advanced tab so that would be easier than adjusting the registry on every user's machine individually.

http://www.appdeploy.com/packages/detail.asp?id=687

That link appears to offer some useful assistance for setting iTunes up using Group Policy
0
 
sitproAuthor Commented:
I know it can be done in Itunes, but i need te manage it centrally by grouppolicy or registry.
0
 
MdraggaCommented:
I tried to do some more research for you and this appears to contain the information you need to correctly deploy iTunes using Group Policy.

The installer files come as MSIs from Apple. To get all that you need, just download the iTunes installer as inside are the MSIs for both QuickTime and iTunes. As a note, I deploy both packages via Active Directory Group Policy GPOs. QuickTime I think should be installed before iTunes, but I've never encountered any problems by mixing up the install order in my testing, just so long as QuickTime is present, iTunes seems to work. Install and uninstall via the GPO, to date, has worked flawlessly. Both procedures have been copied from my notes. Some of the stuff is optional, like removing desktop shortcuts and turning off automatic updating, just personal preference, you can customize for your environment. Any questions, please feel free to post.


Here is the procedure for QuickTime 7.55.90.70...
Download the QuickTime installer from www.quicktime.com. The installer is a self extracting executable. Using an archival program such as 7-Zip or IZARC, extract the contents. All that is needed is the QuickTime.msi file.

Edit the MSI file with Orca and go to View -> Summary Information. In the Languages section, delete all but 1033 (otherwise it's installed in Japanese or something). Click OK and save the MSI file.

Now generate a new transform file and make the following modifications.

In the Launch Condition table, drop the for labeled NOT BNEWERPRODUCTISINSTALLED, if this is not dropped the software generates an error in the event log when deployed saying a newer version of QuickTime is already installed.

In the Property table, change the ProductName field to match established naming convention. Change the field SCHEDULE_ASUW from 1 to 0 to turn off automatic updating.

In the Registry table, use a previous deployment to find the field to drop, and drop the entry enabling QTTask.exe to remove the QuickTime tray icon if desired. This should be the only entry related to QTTask.exe in the table.

In the Shortcut table, drop the Uninstall, About, and Desktop icons for QuickTime.

Generate the transform, and rename the transform and MSI to established conventions.

Copy the MSI and MST to the distribution share.


Here is the procedure for iTunes 8.0.2.20...
Download the iTunes installer from www.quicktime.com. The installer is a self extracting executable. Using an archival program such as 7-Zip or IZARC, extract the contents. All that is needed is the iTunes.msi file. The iPhone and iPod Touch may also use the AppleMobileDeviceSupport.msi and/or MobileMe.msi files as well. This is not yet tested or deployed.

Edit the MSI file with Orca and go to View -> Summary Information. In the Languages section, delete all but 1033. Click OK and save the MSI file.

Generate a new transform file and make the following modifications.

In the Component table, find the component titled "iTunesDesktopShortcuts" and change the condition from DESKTOP_SHORTCUTS="1" to DESKTOP_SHORTCUTS="0".

In the Property table, change the IAcceptLicense field to "Yes and the ProductName field to conform to established naming conventions. Set SCHEDULE_ASUW from 1 to 0 to turn off automatic updating.

In the Shortcut table, drop the "About iTunes" shortcut.

Generate the transform, and rename the transform and MSI to established naming conventions.

Copy the MSI and MST to the distribution point.



Wrap-Up:
Now just create your GPO and add the software package as an assigned package to the computer. I check the box to uninstall when it falls out of scope and add the MST file to the Modifications tab. The second step is mandatory, the first is just me being me. Note, you have to click Advanced when you first add the MSI to the GPO otherwise it doesn't let you add the MST later in the modifications tab. So long as everything in AD is working and the GPO is applied correctly to the computer's OU or group, the pc should receive the policy and install the software.

Found on the Apple forums
http://discussions.apple.com/message.jspa?messageID=8421163
0
 
sitproAuthor Commented:
This is a good solution but very complicated. I rather see a simple group policy option.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now