Onsite SMTP Relay to Office 365 – 535 5.7.3 Authentication unsuccessful
by Sorean on Nov.17, 2020, under IIS, Office 365
This is due to SMTP client Auth flag not allowing this type of connection.
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell-liveid?DelegatedOrg=<[email protected]> -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking
Set-TransportConfig -SmtpClientAuthenticationDisabled $false
Fix time sync on domain computers.
by Sorean on May.07, 2020, under Tech Stuff
w32tm /query /status
Source should say domain server
w32tm /query /configuration
Make sure no GPOs are interfering. If any of the configs say (policy) then there’s a GPO causing the problem. Find it and remove the GPO.
gpupdate /force
W32tm /config /update
w32tm /config /syncfromflags:domhier /update
Might take a few minutes after this to fully sync
Sent items for Delegate mailbox.
by Sorean on Mar.04, 2020, under Tech Stuff
HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\Preferences
DWord: DelegateSentItemsStyle, value 1.
Windows Server Convert Eval to Standard/Datacenter
by Sorean on Feb.18, 2020, under Tech Stuff
Powershell as Admin
DISM /Online /Set-Edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula
DISM /Online /Set-Edition:ServerDatacenter /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula
Clean up WinSXS folder
by Sorean on Feb.03, 2020, under Tech Stuff
See how much data is being used:
dism /Online /Cleanup-Image /AnalyzeComponentStore
Command to clean it up:
dism /online /Cleanup-Image /StartComponentCleanup
Run the first one again to review the difference.
Powershell to reinstall windows 10 apps
by Sorean on Jan.15, 2020, under Tech Stuff
Powershell as admin
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}