Thursday, 23 August 2012

McAfee HIPS breaks IIS when uninstalling

McAfee HIPS has proven to be more of a hindrance than help, so I've been going around uninstalling it.

Unfortunately this frequently breaks IIS in Windows 2008 (yes, really, in an "Enterprise" product!) and you end up with Error 503 messages when you try to access the website and event log messages:

The Module DLL C:\Windows\System32\inetsrv\HipIISEngineStub.dll failed to load.  The data is the error.


If you remove Host Intrusion Prevention (Host IPS) 8.0 from a Microsoft Server 2008 running with IIS 7.0, the ISAPI filter references are not removed from the IIS applicationHost.config file.


Edit the IIS 7.0 applicationHost.config file and remove the following configuration lines:

  1. Click StartRun, type explorer and click OK.
  2. Navigate to: %windir%\system32\inetsrv\config
  3. Open the file applicationHost.config as Administrator for editing in Notepad.
  4. Edit the <globalModules> section and remove the following line:

    <add name="MfeEngine" image="%windir%\System32\inetsrv\HipIISEngineStub.dll" /> 
  5. Edit the <modules> section and remove the following line:

    <add name="MfeEngine" /> 
  6. After you have finished editing the applicationHost.config file, save the file, then restart the IIS server using iisreset or by restarting the system.

Thursday, 16 August 2012

Default Calendar Permissions for Resources

By default, when you use the wizard to set up a room resource mailbox, you can only see the availability in when actually making a booking.
Often, users like to get an overview of the mailbox by opening the Calendar for that mailbox, but Exchange 2010 doesn't set that up.

To assign the permission of "Reviewer" to Everyone (aka Default), just enter this command in Powershell

Set-MailboxFolderPermission <alias>:\Calendar -User Default -AccessRights Reviewer


You can check that the change has taken effect with


[PS] C:\>Get-MailboxFolderPermission <alias>:\Calendar

RunspaceId   : 8123cde4-1ca5-3459-9b36-a46fcc01a22a
FolderName   : Calendar
User         : Default
AccessRights : {Reviewer}
Identity     : Default
IsValid      : True

RunspaceId   : 8123cde4-1ca5-3459-9b36-a46fcc01a22a
FolderName   : Calendar
User         : Anonymous
AccessRights : {None}
Identity     : Anonymous
IsValid      : True


I hope this helps you out, please click on one of the ads to show your appreciation.