20 March 2019

Android 9 does not show notifications from WhatsApp and Viber

After updating my Nokia 5.1 Plus from Android 8.1 to Android 9, I noticed that after a while I am not receiving notifications from any messengers like WhatsApp or Viber. This should not happen!

Method №1 (Official)

To fix this you need to perform 4 steps:

1) Turn "Adaptive Battery" on.
Settings → Battery → Adaptive Battery → On

2) Specify applications that do not need to be optimized.
Open "Settings → App & notifications → Advanced → Special app access → Battery optimization → All apps" and then open needed apps (e.g. WhatsApp or Viber) and choose "Don't optimize".

3) Check app's notifictions settings.
Open "Settings → App & notifications → <Needed application> → Notifications" and make sure that all necessary options are turned on.

4) Reboot the phone.

25 January 2019

Windows 10 please STOP reboot my PC/Laptop

Most of all in Windows 10 I hate preinstalled games and that it rebooting my laptop as he wants (most often at night and mostly without any notification).
To prevent it I have found a simple solution - disable "Reboot" task. But everything turned out to be more difficult. Windows still reboot my laptop (the screenshot below shows that task started even it disabled ("Отключено" in Russian)).


Therefore I decide to write a powershell script to prevent it once and for all.

08 November 2018

Exchange 2016 - Limits and impact of Transport Rules (Mailflow Rules)

Sometimes, to solve complex problems, you have to use transport rules. But what are the limitations of this functionality?
I decided to cover 2 questions:

Part 1. How big may the transport rule be?

All transport rules are stored in the "CN=TransportVersioned,CN=Rules,CN=Transport Settings,CN=<Organization>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<domain>,DC=<domain>" container. The rule itself is a XML that is stored in the "msExchTransportRuleXml" attribute.

04 August 2018

Exchange: How to reliably determine that a user is logged into mailbox?

Sometimes (for example while migration users are from another email system) there is a need for reliable determination that a user is logged into the mailbox (using Outlook or OWA).

The simplest answer is mailbox's lastlogontime (Get-MailboxStatistics). But it turnes out to be not quite true.
Attention! The attribute "LastLogonTime" of user's mailbox filled and updated when another user opens user's calendar.

Finally, I found 4 criterias which help to reliably determine that a user is logged into the mailbox.

  1. "lastlogontime" (Get-MailboxStatistics) - necessary but not sufficient attribute.
  2. "Languages" (Get-Mailbox) - this attribute filled when user entered into OWA and sometimes filled when entered into Outlook.
  3. "WorkingHoursTimeZone" (Get-MailboxCalendarConfiguration) - this attribute filled when user entered into OWA and sometimes filled when entered into Outlook. Deffault value - "Pacific Standard Time", so you can use it only if users are in a different time zone.
  4. "Quick Step Settings" (Get-MailboxFolderStatistics) - this is not an attribute, it is a checking for the presence of a folder "Quick Step Settings" in the mailbox, because it appears only when you open/configure Outlook.

08 July 2018

Exchange 2016: Issue of breaking email address in angle brackets

Recently noticed the unusual behavior (an issue) of Microsoft Exchange 2016 when displaying email addresses.
If in the body of an email (Content/Header section) specify an email address (From, To or Cc headers) twice, where the second time is in angle brackets, the address will be broken. The part of the address after the first character @ moves to the address in brackets, thereby preventing the possibility of an answer to this email.

I assume that the function that should extract the correct email addresses from the headers does not work correctly.

Several tests

Original email address (that used while sending)The final email address (OWA, Outlook)
administrator@test.local <administrator@test.local>"administrator@" <test.local administrator@test.local>
administrator@_ <administrator@test.local>administrator@ <_ administrator@test.local>
administrator@domain<administrator@test.local>administrator@ <domainadministrator@test.local>
administrator@><administrator@test.local><administrator@>
<administrator@><administrator@test.local><administrator@>
<@administrator@><administrator@test.local><@administrator@><administrator@test.local>
administrator@<administrator@test.local><administrator@>
<script>@><administrator@test.local><script>
administrator@test.local@ <administrator@test.local>"administrator@" <test.local@administrator@test.local>

24 January 2018

Windows 10: DNS Client load CPU in case of big hosts file

After installing Fall Creators Update (KB4058043, KB4057247, KB4055237, KB4055994) on Windows 10 Pro 1709 (16299.125) I noticed a long delay in the opening of websites.

Symptoms

  • The DNS Client service load is about 25% CPU.
  • You can't open any website and get access to the internet at all for several minutes.

11 January 2018

Microsoft Office: How to fix double slash autocorrection in links

Some applications (web servers, etc.) support hyperlinks with double-slash (//) after specifying the protocol (http://, ftp://, etc.).
IBM Lotus Domino is such an application. A link "notes://server/1111111111//2222222222/" is correct.

During the migration from the IBM Lotus Domino mail system to Microsoft Exchange, it turned out that all Microsoft Office applications (Outlook in particular) correct links (even in incoming emails) with two empty slashes "//" for a single slash "/" automatically. We failed to find a solution in the Internet to change this behavior.

26 December 2017

Outlook 2013/2016: Types of connections to Microsoft Exchange

In this post, I would like to make out the types of Microsoft Outlook 2013/2016 connections to the Microsoft Exchange Server 2016, depending on the type of mailbox (personal, archive, shared or Public Folders).
There are 2 main types of connections: cached and online. The online mode is simple, but the cache mode is more complex. To learrn more what is Cached Mode go to TechNet.

07 December 2017

Exchange 2016: setup tried to install wrong CU version

Recently faced an interesting feature on the start at installation of Cumulative Update.

When starting CU setup from the command line, the installation of the current version can start.

An example:
[PS] C:\Windows\system32>cd d:\
[PS] D:\>setup /PrepareSchema
Microsoft Exchange Server 2016 Cumulative Update 6 Unattended Setup


15 November 2017

Exchange 2016: How to force it use UTF-8 encoding

In order to minimize the number of possible problems with message encode (e.g. "?" instead of Cyrillic symbols), I recommend to set up an unified universal encoding in the Exchange - UTF-8.

Quotation from the TechNet article regarding choosing encoding for outgoing emails:
"Exchange uses the order of precedence as described in the following list to determine the message encoding options for outgoing messages sent to recipients outside the Exchange organization"

1. Mail user or mail contact settings

There are no specific attributes to determine encoding for MailContact and MailUser.