Tuesday, 24 December 2013

Taking ownership to this virtual machine failed

When you try to access the VM machine and you find the below error



Then you need to go to the location where your configuration files were stored, you will find EX01.vmx.lcx

Rename it to EX011.vmx.lcx

After renaming immediately three new files will be created with extensions vmdk.lck, vmx.lck and vmem.lck

Now you will be able to access virtual machine successfully :)

Wednesday, 18 December 2013

How to get the count of mailboxes per database

In order to find the mailbox count per database. Follow the below steps:
  1. Login to Exchange Server
  2. Open Exchange Management Shell
  3. Run the command as shown below to get the desired output.



Monday, 16 December 2013

Unable to create new users from BAS console

Issue

After upgrading to BES 5.0 SP4, administrators were unable to create new users from Blackberry Administration Console.

Work Around:

From BAS Console while creating new users, select the option "Add user from Company Directory" on create new user page.

To fix the issue permanently, perform the below steps:

  1. Start -> Run -> Type Regedit
  2. Navigate to HKEY_LOCAL_MACHINE\Software\WOW6432Node\ResearchInMotion\BlackberryEnterpriseServer\Agents
  3. Set the LDAPSearch value to 0
  4. Restart Blackberry Controller Service

Intermittent Network Issue on Blackberry Enterprise Server

Issue:

Users were unable to send/receive the emails from Blackberry Devices.

Solution:

To fix the issue I have done manual fail over to the other instance. After the movement users were able to send/receive the emails from Blackberry Devices.

While troubleshooting the server instance in which there is intermittent network issue, there are multiple NETLOGON events with event id 5719

This issue was related to DNS. To fix the issue, you need to run two command as mentioned below

ipconfig /flushdns
ipconfig /registerdns

Script to pull all the mailboxes created in 24 hrs on Exchange 2010

Get-Mailbox -ResultSize unlimited | Where {$_.WhenCreated -gt (Get-Date).AddDays(-1)}

If you need the details for 1 week, replace 1 with 7

Get-Mailbox -ResultSize unlimited | Where {$_.WhenCreated -gt (Get-Date).AddDays(-7)}

Administrator unable to modify a user account in Lync Control Panel

Error
Active Directory operation failed on "***.domain.com". You cannot retry this operation: 
"Insufficient access rights to perform this operation".
00002098: SecErr: DSID-0315088, problem 4003 (INSUFF ACCESS RIGHTS). data 0

Solution:
Go to Administrator user AD properties -> Security Tab -> Advance -> Permissions -> Check the box (Include inheritable permissions from this object's parent)


Friday, 29 November 2013

SQL Script to pull the Group Name and respective members of the Group

SELECT b.GroupName, c.[DisplayName]
FROM dbo.BASUserGroupMembershipV a left join dbo.BASGroupNamesV b on a.[GroupId] = b.[GroupId]
                                                      left join dbo.UserConfig c on a.UserConfigId = c.[Id]
                                                      Where a.GroupId = '4'
UNION
SELECT b.GroupName, c.[DisplayName]
FROM dbo.BASUserGroupMembershipV a left join dbo.BASGroupNamesV b on a.[GroupId] = b.[GroupId]
                                                      left join dbo.UserConfig c on a.UserConfigId = c.[Id]
                                                      Where a.GroupId = '5'