Chicago Endpoint Management User Group

 View Only
  • 1.  Exclude OST in PCT?

    Posted Dec 15, 2011 01:25 PM

    Hello,

    I cannot seem figure out or find a solution to excluding an OST from a PCT. We have excluded the .ost file type in our template but it still seems to pull it taking up more time and a ton of space. I think it is because we are also picking up other files in that Outlook folder like NK2? I guess a work around would be to add a job that deletes the .ost if present before the PCT...Currently using DS 6.9 SP5

    Thoughts?

    Thanks!



  • 2.  RE: Exclude OST in PCT?

    Posted Dec 29, 2011 01:27 AM

    Could you upload the template file that you're using so that we could review it?  If any company info is included (like domain), you could exclude that prior to the upload if you wanted.



  • 3.  RE: Exclude OST in PCT?

    Posted Dec 29, 2011 02:48 PM

    A little overview about the .ost files:

    "...the Outlook team does not support those files moving between computers; they were never designed for portability and Outlook’s developers don’t want anyone copying them around. The only supported way to get an OST file is for Outlook to create it."

    http://blogs.technet.com/b/askds/archive/2010/02/11/usmt-ost-and-pst.aspx

    Please could you post your pbt file?

    Regards,



  • 4.  RE: Exclude OST in PCT?

    Posted Dec 29, 2011 02:58 PM
      |   view attached

    Thanks

    Attachment(s)

    txt
    Win7Migration.txt   111 KB 1 version


  • 5.  RE: Exclude OST in PCT?

    Posted Dec 30, 2011 07:04 AM
      |   view attached

    Hi Canuck,

    1) Make a backup of your MS Outlook.a2i (rename to .bkp);

    2) Download and copy the custom MS Outlook.a2i to EN folder;

    Could you please do a capture and distribute personality test with this custom definitions? Today I don´t have access to my virtual lab to test.

    Regards,

    Attachment(s)

    zip
    MS Outlook.zip   20 KB 1 version


  • 6.  RE: Exclude OST in PCT?

    Posted Dec 30, 2011 11:31 AM

    Still brings over the .ost located in C:\Documents and Settings\<user>\Local Settings\Application Data\Microsoft\Outlook.

    Do I need to recomplie the pct package or anything? or just simply rename the Outlook.a2i and drop the new one in there? (which i did)

    thanks!



  • 7.  RE: Exclude OST in PCT?
    Best Answer

    Posted Jan 04, 2012 06:47 PM

    Butted heads with a developer buddy to come up with this naughty little number. Deletes any .ost from all profiles on the machine. Adding this run script just before we take the PCT looks like it will do the trick. Thanks!

    ---------------------------------------------------------------------------------------------------------------------------------

    Set fso = CreateObject("Scripting.FileSystemObject")
    Set objFolder = fso.GetFolder("C:\Documents and Settings")
    Set colSubFolders = objFolder.Subfolders

    For Each objSubfolder in colSubfolders
     Dim folderLocation
     folderLocation = "C:\Documents and Settings\" + objSubfolder.Name + "\Local Settings\Application Data\Microsoft\Outlook\"
     
     If fso.FolderExists (folderLocation) Then
     
     Set f = fso.GetFolder(folderLocation)
    Set fc = f.Files 
    For Each objFile In fc
     If fso.GetExtensionName(objFile) = "ost" then
       fso.DeleteFile(objFile)
      End If
       
    Next

     End If
    Next

    ---------------------------------------------------------------------------------------------------------------------------------