Friday, 11 April 2014

Automatically Populate Contacts For All Lync 2013 Users

**** UPDATE January 2015: Apologies to anyone who has been trying unsuccessfully to use the script with Exchange 2013.  It only works when contacts are stored in Lync, not in the Exchange 2013 unified contact store.  I'm not sure when I'll have time to have a look at fixing it. ****

**** UPDATE:  v1.1 of the script fixes a problem where the script would crash when attempting to update a Lync account that hadn't been logged onto before (and had no user data).  The script skips these accounts and will process them as normal once they've been logged onto at least once. ****

As a follow-up to my previous post Automatically Populate Contacts For All Lync Users which was written for Lync 2010, I've rewritten the script for Lync 2013. As per the Lync 2010 script, these were the criteria:
  • A script that can be run as a scheduled task or manually
  • Full automation so that new Lync users automatically:
    • are added to everyone's contacts
    • have their address book fully populated
  • No reliance on a dedicated template Lync user for exporting contacts
  • No interference with existing contacts/groups, just adding the missing ones
  • An up-to-date backup of all users' homed resource data
  • The ability to exclude particular users from receiving all contacts
  • The ability to exclude particular users from being added to all address books
  • The ability to define a list of particular users to be added to all address books (instead of adding all Lync users)
  • A testing mode so that results can be checked without making any changes to Lync
  • Logging with email notifications
  • No notifications or popups in clients when contacts are added
The Lync 2010 version of the script relied on the dbimpexp.exe tool but this functionality has been moved into Lync 2013 PowerShell commands (*-csuserdata).  The 2013 script is cleaner in the way it manipulates the XML.

Instructions for deploying the script are included in the script. If you want to run it as a scheduled task, follow the instructions in the Lync 2010 blog.

The script can be downloaded here:

UpdateLync2013Contacts.ps1 (zipped)


This post in its entirety is the copyright of Roland Paix. I don't mind if you link to it but if you copy any of the content you must provide a link to the post and credit me appropriately.

Tuesday, 5 November 2013

How to install Forefront Endpoint Protection 2010 stand-alone on Windows 8 or Windows Server 2012

Microsoft do provide support for running Forefront Endpoint Protection 2010 on Windows 8 and Windows Server 2012, even though though they've dropped it as a product.  Unfortunately they don't provide a lot of information on how to install it as a stand-alone application, i.e. not via SCCM.

Luckily it's not too difficult, it's just a bit of a work-around.

****UPDATED****

I've recently realised that there's a better way to do this, mostly because KB2780435 seems to no longer be available from Windows Update.

Step 1: Download the SCCM package from here.  This is a direct link to the package available via http://support.microsoft.com/kb/2758685.

Step 2: Extract the contents of 454640_ENU_x64_zip.exe by double-clicking it.  This will give you a single file called FEP2010SU1-KB2758685-X64-ENU.exe.

Step 3: Extract the contents of FEP2010SU1-KB2758685-X64-ENU.exe by double-clicking it.  This will give you a single file called fep2010su1-fepext-kb2758685-amd64-enu.msp.

Step 4: Use an archive utility such as 7-Zip to open the fep2010su1-fepext-kb2758685-amd64-enu.msp file.  This will give you four files.

Step 5: Run FEPInstall.exe to install the latest (last?) version of FEP 2010.

Step 6: Allow FEP to download the latest anti-malware updates.

Step 7: Use Microsoft Update to bring FEP up to the latest program level.

You're done!

****/UPDATE****

First download the right version of Update Rollup 1 for Forefront Endpoint Protection 2010 (KB2551095) for your computer's architecture and run the self-extracting executable.

This will extract three folders.  In the FepExt\msp folder you should find a file called FEP2010-FEPEXT-KB2551095-x86-ENU.msp.

Use 7-Zip or a similar archive utility extract the contents: this is the installer package that you can then use to install FEP 2010 U1!

After you've installed it and allowed it to download the latest definitions use Windows Update to patch it with the update that provides support for Windows 8/Server 2012:


I left this link here as evidence that FEP 2010 is supported as a stand-alone app on Windows 8/2012 but you don't need to do anything as a result of reading it.



This post in its entirety is the copyright of Roland Paix. I don't mind if you link to it but if you copy any of the content you must provide a link to the post and credit me appropriately.