SCRIPT: EnableOWApwd.ps1

Share this:

Script Name: EnableOWAPwd.ps1 v1

v1.0 – Initial script. Description: Add the ChangeExpiredPasswordEnable entry in the registry and restart IIS using /noforce option.


# EnableOWAPwd.ps1
# Author: Anderson Patricio

Write-Host “Adding ChangeExpiredPasswordEnable key in the registry…”
New-ItemProperty “HKLM:SYSTEMCurrentControlSetservicesMSExchange OWA” -Name “ChangeExpiredPasswordEnabled” -Value 1 -PropertyType “DWord”
Write-Host “Restarting IIS using /noforce option..”
IISReset /noforce

Written by Anderson Patricio

Anderson Patricio is a Canadian Exchange Server MVP and MCSM (Solutions Master) and he contributes to the Microsoft Community with articles, tutorials, blog posts, forums and book reviews. He is a regular contributor at, and (Portuguese).