<HTML>
<HEAD>
<TITLE>Re: [Casper] Issues with Time machine script.</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Two tips:<BR>
<BR>
</SPAN></FONT></FONT><OL><LI><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Make sure that in your configuration, this script is set to run &#8220;At reboot&#8221; rather than &#8220;before&#8221; or &#8220;after&#8221;. &nbsp;If you run the script &#8220;after&#8221;, you&#8217;re running it on the utility drive you're booted to during the imaging process. &nbsp;&#8220;At reboot&#8221; will add your script to the Casper first run script which will be executed the first time you boot the newly imaged system.
</SPAN></FONT></FONT><LI><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>You can simplify your script to:<BR>
</SPAN></FONT></FONT></OL><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>defaults write /Library/Preferences/com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES<BR>
<BR>
This will put the setting in the /Library folder, which is applied to all users.<BR>
<BR>
Hope this helps.<BR>
<BR>
On 7/15/08 9:37 AM, &quot;Eric Young&quot; &lt;eyoung@thayer.org&gt; wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>First off, hello all. &nbsp;Casper n00b here.<BR>
<BR>
<BR>
I have a script that is supposed to set a defaults write for that annoying time machine message whenever you plug in a drive. &nbsp;it does not seem to be working for me when it is deployed with an image. &nbsp;does it have to go as a separate login/logout policy instead? &nbsp;Find the text of the script below.<BR>
<BR>
<BR>
<BR>
#!/bin/sh<BR>
<BR>
/usr/bin/defaults write /Network/Servers/student.thayer.org/Volumes/STUHOMEDIR/STUDENTHOME/$3/Library/Preferences/com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool yes<BR>
<BR>
/usr/bin/defaults write /Network/Servers/faculty.thayer.org/Volumes/FACHOMEDIR/FACULTYHOME/$3/Library/Preferences/com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool yes<BR>
<BR>
/usr/bin/defaults write /Users/$3/Library/Preferences/com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool yes<BR>
<BR>
&nbsp;<BR>
</SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:9pt'><BR>
<BR>
<BR>
--------------------------------------------------------------------------------------------<BR>
I must not fear. Fear is the mind-killer. <BR>
Fear is the little-death that brings total obliteration. <BR>
I will face my fear. I will permit it to pass over me and through me. <BR>
And when it has gone past I will turn the inner eye to see its path. <BR>
Where the fear has gone there will be nothing. <BR>
Only I will remain. <BR>
--Bene Gesserit Litany </SPAN><FONT SIZE="2"><SPAN STYLE='font-size:7.5pt'>(Frank Herbert)<BR>
</SPAN></FONT><FONT SIZE="4"><SPAN STYLE='font-size:10.5pt'>--------------------------------------------------------------------------<BR>
Eric Young<BR>
eyoung@thayer.rog<BR>
<BR>
<BR>
&nbsp;<BR>
</SPAN></FONT></FONT><FONT SIZE="4"><SPAN STYLE='font-size:10.5pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Casper mailing list<BR>
Casper@list.jamfsoftware.com<BR>
<a href="http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.jamfsoftware.com/mailman/listinfo/casper</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>-- <BR>
Miles Leacy<BR>
Senior Mac Technologist<BR>
ACTC|ACSA|ACT|CCA<BR>
Polo Ralph Lauren<BR>
212-318-7603<BR>
miles.leacy@poloralphlauren.com<BR>
<IMG src="cid:3298960981_195862" ><BR>
<BR>
</SPAN></FONT></FONT>
This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. If you have received this communication in error, please immediately notify the sender and delete the message from your system.
</BODY>
</HTML>