Wednesday, May 9, 2018

Changing / transfering DHCP settings on Windows server

A few weeks ago I had to make changes to the subnet mask for a previous defined IP region in an DHCP server of a Windows 2016 domain - what only can be done by exporting the settings, modifying them in an editor, deleting all settings in the DHCP server and importing the new settings. What, by the way, is the same procedure for moving the DHCP to a new server ...

The most important commands for this are:
netsh dhcp server export c:\dhcp.txt all (c:\dhcp.txt is just a sample)
netsh dhcp server import c:\dhcp.txt all

And here are a few links to sites which describe this process very helpful in detail:
https://community.spiceworks.com/how_to/23549-exporting-and-importing-dhcp-database-on-windows-server
https://www.tobias-hartmann.net/2010/09/dhcp-einstellungen-in-txt-exportieren-importieren-server-2003-2008/

Monday, May 7, 2018

Outlook once more: Outlook does not allow to add new signatures

This problem appeared on a brand new installation of Outlook 2016 where the user was unable to add a new signature. After some searching and trying several other solutions this one fixed the problem, one more time a registry entry has to edited/added:

Find the following key in the registry, for 32-bit installation:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32

For 64-bit installation it is:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32

In the right pane of the LocalServer32 key, for both registry strings (REG_SZ) named (Default) and LocalServer32 set their value:

For 32-bit Office installation of Outlook 2013 on 32-bit Windows and for 64-bit Office installation on 64-bit Windows:
C:\Program Files\Microsoft Office 15\root\Office 15\Outlook.exe

For 32-bit Office installed on 64-bit Windows:
C:\Program Files(x86)\Microsoft Office 15\root\Office 15\Outlook.exe

For Outlook 2016 replace number 15 above with 16 !

Good luck !

See also:
http://www.thewindowsclub.com/unable-to-add-signature-in-outlook


UPDATE 2019-09:

There is another known reason which can block the signature function on clients with Windows 10, the App "Microsoft Office Desktop Apps" can cause this problem. Uninstalling the App via the Windows Settings / Apps & Features can fix it - see also https://answers.microsoft.com/de-de/msoffice/forum/msoffice_outlook-mso_win10-mso_2016/outlook-2016-signaturen-briefpapier-%C3%B6ffnet/3b1439fc-2606-4306-b2d3-57a5ce440163

Show contact (link) in Outlook calendar entry, task, ...


Outlook has a nice feature called "Contact Linking" that allows you to link a contact with any appointment, task, other contacts, or even email. Adding this link is done with a button on the bottom of the appointment details.

In the new versions of Outlook (2013, 2016) this button is hidden by default, to reactivate it you have to change/add an entry in the registry, which are described here:

Outlook 2016:
HKEY_CURRENT_USER\​Software\​Microsoft\​office\​16.0\​outlook\​preferences
DWORD: showcontactfieldobsolete
Value = 1

Outlook 2013:
HKEY_CURRENT_USER\​Software\​Microsoft\​office\​15.0\​outlook\​preferences
DWORD: showcontactfieldobsolete
Value = 1

Find more details on this eg. on this page:
https://www.slipstick.com/outlook/contacts/show-contact-linking-fields/

Outlook always prompts for login credentials to Exchange

There are a lot of reasons why Outlook keeps asking for your password every time you start it, so that it can connect to an Exchange server.

In my case it was one of the rarely described problems, but if you know it, it is quite simple to solve. Windows (in this case it was Windows 7 as well as Windows 10, with Outlook 2010 as well as 2016 on an Exchange 2010, but probably it would be the same on 2013 or 2016) stored some of the old login credentials in the system and became confused.

You simply go to the Control panel, open the credential manager (maybe you have to change to "Windows login informations" like in Windows 10), and find some entries further down, one or more containing the word "Outlook". When you expand them you find a link to click and delete the entry. And voila, the problem - in my case - was solved !

Good luck !

And here is the original Microsoft posting on this: