Thursday, October 11, 2012

the networkmanager has not yet been initialized

I faced a very strange case with Exchange DAG, I was doing a site resiliency test I failed over to the DR site successfully and then I failed back to the main site, after failing back I found that the DAG was in a state that looks like split brain syndrome although the DAG was running in DAC mode.

the symptoms were as follows:

From the DR mailbox server:
  • Cluster Console only showed this node while the active nodes were not present.
  • From EMC the copies on the DR server were healthy.

From the Main site mailbox servers:
  • Cluster console showed the three nodes but the DR node was stopped, and the option to start it was grayed out.
  • From EMC the copies on the DR server were failed.

The fix was as follows:
  •  run the following command: Cluster     /forcecleanup
  • Then run the following: Start-DatabaseAvailabilityGroup "DAGname" -MailboxServer  "DRNodeName"
  • After the first command you will find that the DR node can see the other nodes in the cluster console, but the DR node will be stopped, so run the second command to start it.

    That's It !

    No static address matched networks "Cluster Network Name" . Specified static addresses: x.x.x.x

    While I was working on a DAG with separate MAPI and Replication Networks whenever I  make any changes to DAG like running start-DatabaseAvailabilityGroup or Set-DatabaseAvailabilityGroup I get the following warning message:

    "No static address matched networks "Cluster Network". Specified static addresses: x.x.x.x".

    The Cluster Network was the Replication Network whose subnet is different than that of the DAG IP addresses.

    Seems that Exchange wanted to utilize this network for MAPI traffic. Although When I run the command get-DatabaseAvailabilityGroupNetwork I find that MAPIEnabled is false on the replication network.

    when I compared the cluster networks of this DAG with another healthy DAG I found that the checkbox "allow clients to connect through this network" was checked.

    when I uncheck it, it gets checked by itself again  !.

    The reason was that one of the DAG members had the "register this connection's address in dns" checkbox checked.

    After unchecking this check box, the "allow clients to connect through this network"  checkbox was unchecked by itself and the warning message went away!

    MAPI makes me Happy :)

    Tuesday, September 18, 2012

    Outook 2010 Ribbon diappeared after installing and uninstalling of office 365 on demand

    I had a very strange issue, i  installed Microsoft office 365 on demand and then uninstalled it, after that i found that the ribbon completely disappeared from Outlook 2010, reparing or re-installing Outlook 2010 didn't help, after a bit of googling i found this TechNet forum post,

    all you have to do is as follows:
    1. Close Outlook

    2. Go to Start-Run type in Regedit

    3. Navigate to HKEY_CLASSES_ROOT\TypeLib\{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}

    4. Right click on the 2.5 and 2,7 regkeys and choose Export. Save this export to your desktop for now so we have a backup.

    5. Now once that is backed up right click on the 2.5 and 2.7 regkeys and choose delete.

    6. Launch Outlook, outlook will start in repair mode after that Outlook should work well and the ribbon should appear !

    Thursday, July 19, 2012

    sharing failed to connect due to network issues. Try again later.

    I faced an issue with Lync Application Sharing and File Transfers, where on of the users was Internal and the other was external, the sharing failed with the following message (sharing failed to connect due to network issues. Try again later.)

    After investigation this was found to be caused by a firewall on the client, it was caused by Kaspersky Internet Security, so always make sure to turn off any firewall on the client computer.

    Exchange 2013 and Lync 2013 Previews are now released !

    Microsoft has released the Previews for Exchange Server 2013 and Lync server 2013, seems there are big architectural changes in Exchange server, as the TechNet documentation lists only two roles for Exchange Server (Mailbox and CAS), the architecture seems similar to Exchange 2003 as the CAS is also responsible for routing E-mails !.

    you can find the links here:

    Tuesday, July 10, 2012

    Adobe Acrobat Professional Missing Fonts

    I have faced a problem when printing MS Word Documents to PDF using Adobe Acrobat Professional 9, the file was not printed and a text file was created stating that the Cambria  font was not found and the following error:

    Cambria not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: xshow ]%% 

    There are two solutions to this problems:
    1- Quick solution: when printing go to Printer Properties then go to Adobe PDF Settings tab, and then untick the option "Rely on system fonts only; do not use document fonts"
    2- The second permanent solution:
    - from the same above tab, click on the Edit button next to Default Settings,  go to the Fonts tab and add the fonts "cambria"  to the always embed section like in the snap shot below:
     then click on Save As  and ok then you are done.

    try re-printing your document and good luck !

    credit goes to :

    Reason 442: failed to enable virtual adapter


    I have faced a problem when connecting to a VPN connection using Cisco VPN client, the authentication window pop ups and after i enter the credntials with a couple of miuntes i get the following message:
    Reason 442: failed to enable virtual adapter

    The strange thing that it was working before, but something must changed, then i remembered that i have installed a virtual WiFi router, then i figured it out , that program enabled Internet Connection Sharing.

    for the VPN connections to work you have to stop the Internet Connection Sharing (ICS) Service, change the startup mode to either manual or disabled.

    then try to reconnect and your VPN connection should work fine :)

    Friday, April 20, 2012

    Deleting Exchange Server Default Database in a multiple Active Directory domains environment

    It might be tricky if you want to delete the default mailbox dabase if you have a forest root Active Directory domain and Exchange server is installed in a child domain.

    Normally you would do the following:
    1- Get all arbitration mailboxes:

    get-mailbox -database - arbitration
    2-Move the resulting accounts to another Database:

    get-mailbox -database - arbitration | New-moverequest -targetdatabase

    But you have to do these extra steps in order to fully remove the system mailboxes and be able to remove the database:

    1-Get all arbitration mailboxes using the DomainController switch specifying a DC in the Root Domain.

    get-mailbox -database   -domaincontroller  - arbitration

    2-Move the resulting accounts to another Database:

    get-mailbox -database   -domaincontroller - arbitration | New-moverequest -targetdatabase -domaincontroller
    3- And now you can successfully remove the database!


    Thursday, February 16, 2012

    Enable Event Viewer Logging on All Lync Clients

    Enabling event loggin on Lync clients can be done eithr by enabling the option "Turn on Windows  Event Logging for Lync" or for all users by using Client Policies.

    From Lync Management Shell run the following command:

    Set-CsClientPolicy -Identity "Global" -EnableEventLogging $true
    Then Sign in and out from your Lync client you should see the option set in the Lync client options:

    The Lync Server Front-End service terminated with service-specific error %%-1008193021.

    I had a problem where the Lync Server Front-End server could not start and found the following error in the event viewer's system log
    "The Lync Server Front-End service terminated with service-specific error %%-1008193021."
    It was due to that the Installation bits used were evaluation bits and it had expired, the solution was to upgrade to the RTM version.

    see my other post for info. about how to upgrade from Eval to RTM.

    Upgrade from Lync Evaluation edition to Lync RTM.

    If you have installed Lync Server using the 180 Day  trial bits  you can upgrade to the RTM bits nsing the following easy steps:
    1. Run setup.exe on your Lync server Volume License media.
    2. Click on "Install or Update Lync server system"
    3. Click on "Setup or remove Lync server components"
    4. Open CMD and  navigate to \Setup\amd64\setup and then run msiexec.exe /fvomus server.msi EVALTOFULL=1 /qb 
    5. Open Lync Server Management Shell and then run Enable-CSComputer and then you are done !

    Sunday, February 12, 2012

    WSUS Console - Error: Connection Error

    I faced the following problem at a cusotmer, When i opened the WSUS console i get the following message:

    and the following error in the event viewer:
    Log Name: Application

    Source: Windows Server Update Services

    Date: 2/12/2012 3:16:29 PM

    Event ID: 7053

    Task Category: None

    Level: Error

    Keywords: Classic

    User: N/A


    The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,

    Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.

    System.NullReferenceException -- Object reference not set to an instance of an object.


    after investigation i found out that the Windows Internal Database service was not running, starting it fixed the problem immediately.

    Thursday, February 9, 2012

    Lync Phone Edition Time Synchronization

    In order to get Lync Phone Edition (LPE) to Synchrnize time you need either and SRV record that points to your NTP servers (which may be your domain controllers) or allow Internet connection to your LPE devices,
    as LPE synchnronizes time using one of the following methods:

    1. Lync Phone Edition searches for an NTP server in Domain Name System (DNS)  , it looks for the SRV record  _ntp._udp. pointing to NTP Server
    2. If Lync Phone Edition cannot find the NTP SRV record, it will attempt to use as an NTP server by searching for
    so either create the SRV record or allow Internet access to on port 123 UDP.

    fore more info. refer to

    Sunday, February 5, 2012

    451 4.4.0 Primary Target IP Address Responded with (501 5.5.4 Auth Command Cancelled)

    I have faced a problem at a cusomter site;mails  cannot flow from an Exchange 2010 server to a specific Exchange 2003 server , while it can flow to other Exchange 2003 servers.

    Exchange 2010 servers were in AD domain: and Exchange 2003 server was in ADdomain :

    Domain controllers of domain only existed at the site of Exchange 2003.

    The queue viewer gave the following message :
    "451 4.4.0 Primary Target IP Address Responded with (501 5.5.4 Auth Command Cancelled)"
     and the application log gave the following error:

    Outbound authentication failed with error -2146892976 for Send connector Intra-Organization SMTP Send Connector. The authentication mechanism is Gssapi. The target is SMTPSVC/Exchange2003ServerFQDN
    i have checked the SPN , using Setspn -l Exchange2003ServerName aother posts on the Internet suggested, the SPN was not in place so i had to add it using :

    setspn -a SMTPSVC/Exchange2003ServerFQDN Exchange203ServerName
    But the problem still persisted, later we found out it was related to netowrk traffic being bloked, in addition to Posrt 25 for SMTP traffic , you still need Ports 389 and 88 for authentication between Exchange 2010 servers and domain controllers for AD domain.