added script to fix Office modern authentication prompts
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
$REG_PATH = 'HKCU:\SOFTWARE\Microsoft\Exchange'
|
||||
$REG_PROP = 'AlwaysUseMSOAuthForAutoDiscover'
|
||||
If ( !((Get-ItemProperty -Path $REG_PATH -Name $REG_PROP).$REG_PROP) ) {
|
||||
LogMsg "Adding registry entry: ""${REG_PATH}\${REG_PROP}"" = 1"
|
||||
Try { New-ItemProperty -Path $REG_PATH -Name $REG_PROP -PropertyType DWord -Value 1 }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
}
|
||||
Reference in New Issue
Block a user