Fixes #5890: add windows support for motd technique

Couldn't these be implemented advantageously with an ncf method?