Posts

Office 365 Hybrid Constant Credential Prompts

Image
When an Exchange users is migrated to Office 365 they may get constant credential prompts. Even if the user enters the correct credentials the prompt will come back in a few minutes. The user might also lose the ability to access shared mailboxes and public folders. 
The fix is to set all of the reg keys below to 1, doing so will enable modern authentication.
Office 2013: HKCU\SOFTWARE\Microsoft\Office\15.0\Common\Identity\EnableADAL HKCU\SOFTWARE\Microsoft\Office\15.0\Common\Identity\Version
Office 2016: HKCU\SOFTWARE\Microsoft\Office\16.0\Common\Identity\EnableADAL
All versions 2013+ Create this even if you are on 2016 where it is enabled by default HKEY_CURRENT_USER\Software\Microsoft\Exchange\AlwaysUseMSOAuthForAutoDiscover
Restart Outlook and the prompts should go away. 
https://docs.microsoft.com/en-us/exchange/troubleshoot/modern-authentication/modern-authentication-configuration https://docs.microsoft.com/en-us/exchange/troubleshoot/client-connectivity/outlook-prompt-password-modern-auth…

Users cannot connect to remote desktop gateway Event ID 304

I got the error below when trying to connect to an remote desktop gateway. 
Event ID 304
The user "DOMAIN\User", on client computer "0.0.0.0", met connection authorization policy and resource authorization policy requirements, but could not connect to resource "remote.example.com". Connection protocol used: "HTTP". The following error occurred: "23005".
The solution was to create the internal DNS record pointing "remote.example.com" to the gateway. Looks like this setup was accidentally skipped during setup.

SearchProtocolHost.exe Keeps crashing with Event ID 1000

I ran into an issue where the Window search service would constantly crash. The Event viewer showed the error below, and the crashdumps folder has a ton of SearchProtocolHost.exe.21580.dmp files.

Faulting application name: SearchProtocolHost.exe, version: 7.0.9600.19660, time stamp: 0x5e4586a5
Faulting module name: mso20win32client.dll, version: 0.0.0.0, time stamp: 0x5e8a785b
Exception code: 0x0241938e
Fault offset: 0x00196a44
Faulting process id: 0x24a4
Faulting application start time: 0x01d617e35d974e4f
Faulting application path: C:\windows\sysWow64\SearchProtocolHost.exe
Faulting module path: C:\Program Files (x86)\Common Files\Microsoft Shared\Office16\mso20win32client.dll
Report Id: b5c9d48f-83d6-11ea-80fa-000c290a7afd
Faulting package full name: 
Faulting package-relative application ID: 

Analyzing the crash dumps pointed to MSPST32.DLL but none of the users had PSTs loaded.

I found this article, but it did not resolve the issue.

Eventually the fix was to uninstall the windows search serv…

Outlook Switching to Online Mode Even Though Cached Mode is Enabled

Image
I have been dealing with an issue where a user's outlook would switch to online mode at random. The only way to resolve the issue was to log the user out of the computer and back in.

Re-creating the account resolved the issue, but it came back the next day. Procmon and ProcExp didn't point to any clear causes.
Eventually I was able to find the root cause by looking at the permissions of the mailboxes. The two mailboxes had Full Access to each other and auto mapping (never use auto mapping!) was enabled. This resulted in a situation where the mailboxes were fighting for who would be the primary mailbox, and who would be the secondary.
Removing the permissions resolved the issue and both mailboxes worked correctly inside of Outlook.

FSLogix Troubleshooting guide

Image
This article will cover some common issues I have ran into, and steps on how to resolve them.
The guide should be followed in order since most of the advanced items are usually not the cause of a problem.
If you just set up FSLogix, make sure that you followed every step under Deploying FSLogix Office 365 Containers and Deploying FSLogix Profile Containers TerminologyODFC = Office Data File ContainersThis is there Office (Outlook, Teams, Licensing) data is storedThis can be used in conjunction with UPDsFSL ProfilesReplacement for UPDsUser profiles are stored here (Office data is stored in the ODFC)Cannot be used in conjunction with UPDs Non-IssuesThe items below should be ignored when troubleshooting Local_ files under C:\UsersIf FSLogix profiles are enabled, these folders can be ignored. They will be deleted the next time the user signs in. Basic ChecksBefore troubleshooting any specific items you need to verify that all of the items below are in order.
FSLogix Drive space on the file se…

Word, Excel, and RDP Crashing Due to Printer Issue

Image
KB4541329 Appears to be the cause of this issue. Uninstalling it should permanently fix the issue.

Just ran into an issue where a user kept getting a "COM Surrogate has stopped working" every time they tried to print from Windows Photo Viewer. They also kept running into an issue where Excel, Word, and RDP connections would crash when launched.

Analyzing the crash dump that was generated (dllhost.exe) revealed the issue.
The application was not able to find the default printer. Trying to set the default through Devices and Printers in control panel resulted in another crash.
The fix was to run the command below:
(New-Object -ComObject WScript.Network).SetDefaultPrinter('PRINTER NAME')
The crashes went away once the default printer was set.

Windows Deployment Services Encountered an Error 0xc0000225

After a bad activation of BitLocker a Dell computer started giving a "no boot device found" error. I tried to re-image the computer but kept getting the error below:

Windows Deployment Services Encountered an Error 0xc0000225

Resetting all BIOS settings and clearing the TPM didn't do anything. Eventually I found that Dell computers have an option to wipe all drives. After enabling the option and wiping the drive the laptop was able to boot into WDS again.