Windows Server fails to install optional component
Microsoft (DISM) Wednesday, 06 July 2022 by paul

When trying to add a Windows Server optional component it fails. Checking the DISM log shows the error message “DISM Package Manager processed the command line but failed. HRESULT=800F0954”


This can be resolved by enabling the policy “Specify settings for optional component installation and component repair” and ticking the option “Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)”.

Graphical user interface, text, application, email

Description automatically generated

This can be done locally on the server (using gpedit.msc) or by a centralised group policy. The policy is under “Computer Configuration\Policies\Administrative Templates\System”.

After amending then gpupdate the server and try installing the component again.

Office version information script
Office 365 (Office) Tuesday, 14 June 2022 by paul

The following script returns information about the current installed version of Microsoft Office including:

  • Version of Office
  • Office Products installed
  • Update Channel
  • Has Update Channel been changed (requiring OfficeC2RClient.exe being run)
  • Platform (32/64 bit)
# Get Office install data

$VersionToReport = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "VersionToReport" | Select -ExpandProperty VersionToReport
$ProductReleaseIds = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "ProductReleaseIds" | Select -ExpandProperty ProductReleaseIds
$UpdateChannelChanged = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "UpdateChannelChanged" | Select -ExpandProperty UpdateChannelChanged
$AudienceData = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "AudienceData" | Select -ExpandProperty AudienceData
$Platform = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "Platform" | Select -ExpandProperty Platform

$ProductReleaseIds = $ProductReleaseIds.replace(',','; ')

$output="$VersionToReport, $Platform, $ProductReleaseIds, $AudienceData, $UpdateChannelChanged"
Write-Output $output


Check Team Creation restricted to security group
Office 365 (Teams) Tuesday, 14 June 2022 by paul

To check if Microsoft Team creation is restricted to a security group run the following PowerShell:

# Uninstall Azure AD module
Uninstall-Module AzureAD
# Install the latest AzureADPreview module
Install-Module AzureADPreview
$settingsObjectID = (Get-AzureADDirectorySetting | Where-object -Property Displayname -Value "Group.Unified" -EQ).id
$groupSettings = (Get-AzureADDirectorySetting -Id $settingsObjectID)

In the output check if the value EnableGroupCreation is set to false. This will restrict Team creation to a security group. The value GroupCreationAllowedGroupId specifies which security group has access to create Teams.

Microsoft 365 DLP encrypted email exception not working
Office 365 (DLP) Wednesday, 01 June 2022 by paul

When configuring Microsoft Purview DLP rules for exchange there is an option for adding an exception for Message Type Encrypted. This does not work for Office 365 Message Encryption (OME). Instead use message type “Permission Controlled”.

Thanks to Tony Redmond for pointing this out at Office 365 Pros:

Microsoft Windows Server issue after this months Windows Updates
Microsoft (Patch) Wednesday, 25 May 2022 by paul

May Patch Tuesday introduced an issue when applied to Domain Controllers using NPS or RRAS.

Microsoft last week released some out of band patches which you need to apply, to DCs, if they are affected by this months paches.

The company released the following cumulative updates for installation on Domain Controllers (no action needed on the client-side):

Microsoft also released standalone updates: 

More info on BleepingComputer:

Page 1 of 93 (467 Articles) << 1 2 3 4 5  Next >>