<html>
  <head>
    <style type="text/css">
      <!--
        body { margin-right: 4px; line-height: normal; margin-left: 4px; font-variant: normal; margin-bottom: 1px; margin-top: 4px }
        p { margin-bottom: 0; margin-top: 0 }
      -->
    </style>
    
  </head>
  <body style="margin-right: 4px; margin-left: 4px; margin-bottom: 1px; margin-top: 4px">
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">For the desktop you can set a user only preference in composer and then push it out to the systems and make it self heal&#44; so that if it is altered it will get it again. &nbsp;You can also look at a log out/in hook that disables that preference. &nbsp;If they are managed via an OS X server you can use Server to manage the group&#39;s preference to disallow changes to the desktop background pref pane in system preferences.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">Do delete all desktop items a simple one liner can work as a log out hook.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">&#35;&#33;/bin/sh</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">&#35;delete current user&#39;s desktop items</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">&#35;WARNING&#44; THIS WILL DELETE EVERYTHING</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">/bin/rm -rf /Users/&#36;3/Desktop/&#42;</font>    </p>
<br>      <br><br><br>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">Please note that the &#36;3 and &#36;4 options only pull the current user in casper from log in/out policies. &nbsp;They also only work if ran by Casper&#44; since the &#36;3 variable means nothing outside of Casper.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">I think I got it right but I could have &#36;3 and &#36;4 confused. &nbsp;I know one is the current user when parsed by Casper.</font><br><br><br>___________________________<BR>Thomas&nbsp;Larkin<BR>TIS&nbsp;Department<BR>KCKPS&nbsp;USD500<BR><a href="mailto:tlarki@kckps.org">tlarki@kckps.org</a><BR>blackberry:&nbsp;&nbsp;913-449-7589<BR>office:&nbsp;&nbsp;913-627-0351<BR><BR><BR><BR><br><br>&gt;&gt;&gt; Kathie Iorizzo &lt;kiorizzo@latinschool.org&gt; 05/06/09 9:36 AM &gt;&gt;&gt;<br>Hi .. I&#39;m not a script person. I&#39;m looking for a way that on log out&#160;<br>all the items are deleted off the desktop.&#160;&nbsp;Here is why.&#160;&nbsp;Our students&#160;<br>connect to a server that is in their dock.&#160;&nbsp;Sometimes they accidently&#160;<br>grab their folder and drag it to the desktop. This in reference causes&#160;<br>the permissions on those folders to be wacky and no one but an admin&#160;<br>can delete the folders. Within a week I have 20 gigs of student data&#160;<br>copied over to the desktop and I have to manually remove it.&#160;&nbsp;The lab&#160;<br>monitor is unable to remove it because he does not have admin rights.<br><br>Last.. is there&#160;&nbsp;a way to lock the desktop pattern&#63;<br><br>_______________________________________________<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>
    </p>
  </body>
</html>