Pages

Showing posts with label Microsoft Exchange. Show all posts
Showing posts with label Microsoft Exchange. Show all posts

Tuesday, July 28, 2015

Update SQL Express 2012 with service pack on Lync 2013 server

I have recently come across a situation where I had to upgrade Lync server to Skype for business 2015 and as part of preparing I had to update SQL 2012 express with service pack. Below are the steps for the same.

1. Before starting the update you have to make sure the service is down on the server.
Go to ‘Lync server Management Shell’ and run ‘Stop-Cswindowsservice’
clip_image002

2. Change the location to the install souce location and run caommand ‘.\SQLEXPR_x64_ENU.exe /ACTION=Patch /allinstances /IAcceptSQLServerLicenseTerms’
clip_image003

3. You can see extract is going on...
clip_image005

4. Check ‘I accept the licence terms.’ And click on next to continue.
clip_image007

5. Make sure that all instaces are selected and click on next
clip_image009

6. Click on next to continue
clip_image011

7. Make sure you can see all “success” and click on close
clip_image013

8. Start Lync services and make sure that everything works
clip_image015

Friday, October 4, 2013

Exchange 2010 Information Store is not getting started and generating event 7024

Description;-

After installation the service is not getting started and when trying to start the service it gives event 7024 in ‘System’. The content of the event is “The Microsoft Exchange Information Store service terminated with service-specific error %%-2147221213.”

image

Solution

Got to command prompt from the Database server where you get this issue and run ‘gpupdate /force’.

Wednesday, July 17, 2013

How to create a Dynamic Distribution Group with all Lync Users in it.

I am just finishing the migration of Lync 2010 to Lync 2013 for one of my client. While designing Lync 2013 infrastructure I had a question from my client on how to create a Exchange Dynamic DL with all Lync users in it. I was not able to answer this question at that time as customer is having a pure Exchange 2010 environment so I kept the question as parked and finally I could find a answer for  that. Please note that there is no straight way to do it from Exchange tools.

Here is the steps which I followed. Hope this will help someone who is looking for similar answer.

  1. Logon to Exchange server and go to run and type ‘Adsiedit.msc’ and press enter Key
    clip_image001
  2. Right click on ADSIEdit console root and select ‘Connect to..’
    clip_image002
  3. Keep as default and click on next
    clip_image003
  4. Browse through and locate an OU where you want create the DL. Right click on the OU and select New>Object…
    clip_image004
  5. Select ‘msExchDynamicDistributionList’ and click on next.
    clip_image005
  6. Give a name. In this example its #LyncAllUsers and click on Next
    clip_image006
  7. Select ‘More Attributes
    clip_image007
  8. Select ‘displayName’ and enter the name ‘#LyncAllUsers’ and click on set. Please change the name according to your requirement.
    clip_image008
  9. Select ‘Mail’ and enter the mail address ‘ ‘#LyncAllUsers@domain.com’ and click on set. Please change according to your requirement.
    clip_image009
  10. Select ‘MailNickname’ and enter ‘#LyncAllUsers’ and click on set. Please change according to your requirement.
    clip_image010
  11. Select ‘msExchangeDynamicDLFilter’ and enter ‘((objectClass=user) (| (msRTCSIP-UserEnabled=*) ) )’ and click on set. please note that this the most important step :)
    image
  12. Slect ‘ProxyAddresses’ and enter ‘#lyncAllUsers@domain.com’ and click on Add. Please change according to your requirement.
    clip_image012
  13. Finish.
    clip_image013
  14. Open Exchange Management Console and select Distribution group. Create a filter to show only ‘Dynamic Distribution Group’ and make sure that the newly create to DL is visible now.
    clip_image017
  15. Right click on the DL and go to properties.
    clip_image018
  16. You may get below warning, click on OK
    clip_image019
  17. Go to ‘Filter’ tab and use ‘Browse..’ option and select to root of the domain so that the filter will be applied for entire items in the domain and click on ‘Apply’. Click on ‘Preview’ to see the all members.
    clip_image020
    Note;If you get an error stating that there is no primary smtp address then go to e-mail tab and set a primary address.
  18. Open outlook in online mode or open OWA and make sure that the desired DL is visible in GAL.

Friday, July 20, 2012

Install Exchange server 2013 Preview

Here is the step by step instructions to install Exchange server 2013 preview version on the LAB. In this scenario I am installing Exch 2013 on Windows server 2008 R2 system.
Preparation Tasks
1. Log the server where you are going install Exchange 2013. In this example server version is Windows 2008 R2 SP2
2. Open powershell and type ‘import-module servermanager.
Then enter ‘Add-windowsFeature rsat-adds’ please refer the below screenshot.
image

Saturday, January 14, 2012

Exchange 2010–Deleted mailboxes are not able to connect

Its been found that there is a situation when an Exchange Administrator deletes mailboxes from Exchange 2010 and later when try connect from EMC its not able find the AD user to get it connected.

In this scenario please follow below steps for connecting it. In this scenario I was deleting a mailbox going by the name ‘Bad User’.

  1. Login to server and open ADSIEDIT.
  2. Locate the user from ADSIEDIT tool and go to properties of user.
  3. Select the attribute ‘msExchRecipientTypeDetails’ and click on edit.
    image
  4. Click on ‘Clear’ then on OK
    image
  5. Make sure that the value changed to <not set> and click on OK
    image
  6. Go to EMC and locate the deleted user.
    image
  7. Right click and select connect
    image
  8. Click on Next
    image
  9. Click on Brows.. now you will be finding the user Smile
    image
  10. Fill ‘Alias’ and click on Next
    image
  11. Click on Connect
    image
  12. Click on Finish
    image