Solved

Change the default save location itunes library by group policy

Posted on 2011-03-14
4
1,713 Views
Last Modified: 2013-11-06
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
Comment
Question by:sitpro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Mdragga
ID: 35128007
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
 

Author Comment

by:sitpro
ID: 35128893
I know it can be done in Itunes, but i need te manage it centrally by grouppolicy or registry.
0
 
LVL 7

Accepted Solution

by:
Mdragga earned 500 total points
ID: 35129933
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
 

Author Closing Comment

by:sitpro
ID: 35361763
This is a good solution but very complicated. I rather see a simple group policy option.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Apple iTunes - Move from PC to PC First login to your old PC 1. Click on File. 2. Then click Library. 3. Now open the Export Library. 4. Save the .xml file to your desktop. This file will hold all of the information about your playl…
Package creation on OS X uses the PackageMaker utility installed as part of the XCode development suite ( on the OSX Client CD).  Packages can be installed as part of the machine build process, or later using Apple Remote Desktop. They are generally…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question