John Yassa's Blog

Home » Uncategorized

Category Archives: Uncategorized


How to Restore the Exchange Database from A Backup File in state of inconsistency?

For restoring the database on Exchange Server, the user needs to have an up-to-date and usable backup in hand, because an incomplete or even no backup can create a troublesome situation during the database the process of restoration. Additionally, Microsoft Information Store needs to be in a healthy state to mount the database successfully.

With an unmounted Exchange Store, the users face several issues such as restricted access to the data and the mail flow. In order to smoothly restore your database on Exchange Server, it is important to perform certain tests to verify the database consistency.

Pre-assessment Phase: Verify the State of the Database on Exchange

Use the following steps to verify the state of the database:

  1. Launch a command prompt.
  2. Move to the Drive:\Program Files\Exchsrvr\Bin

(The default location of the of Exchange 2000 Server program files are located in this folder)


Move to Drive:\Program Files\Microsoft\Exchange Server\V15\Bin

(When using Exchange 2013/2016, then use the above-mentioned default path)


  1. Enter the below-mentioned command:

eseutil /mh “drive:\program files\exchsrvr\mdbdata\database_name.edb”

Note: The default location of database files is on this Drive:\Program Files\Exchsrvr\MDBDATA folder. The public database file can be found with the name: “Public.edb”, whereas the mailbox store database file can be found with the name: “Priv1.edb”.

  1. Read the Output, in order to verify the state of the database. If the database appears in the state of inconsistency, then the output will appear, as:

State: Dirty Shutdown

Restoration Phase: How to Restore the database from a backup file

Upon using the pre-assessment phase, if the database appears in a consistent state, then simply restore the backup using the file.

Steps to Restore Database in A Consistent State:

Implement the following steps to restore the database from the backup file.

  1. Transfer the E00.log file to an another path or simply rename it.

The default location of E00.log file can be found on this Drive:\Program Files\Exchsrvr\MDBDATA folder.

  1. Restore the storage group and the log files from the backup file.

Note: Do not remove the existing log files, until you have performed the restore operation. Upon completing the restore operation, the log files are restored, and replay inside the restored database. This is how, the user can bring the database into a consistent state without involving the E00.log file.

  1. Once the storage group is restored, you can successfully mount the databases in the storage group.

Steps to Restore Database in an Inconsistent State:

  1. Launch the command prompt.
  2. Reach to the location – Drive:\Program Files\Exchsrvr\Bin folder.
  3. Enter the following command in the command prompt:

eseutil /p “drive:\program files\exchsrvr\mdbdata\database_file_name.edb”

  1. To use the database in a productive environment, try to defragment and then rebuild the database. Use the below mentioned command to proceed:

eseutil /d /t:x “drive:\program files\exchsrvr\mdbdata\database_file_name.edb”

Note: ‘x’ is a temporary drive location in the above-mentioned command.

  1. To determine the state of the database, enter the following command, and then read the output:

eseutil /mh “drive:\program files\exchsrvr\mdbdata\database_file_name.edb”

When database is consistent, the output will appear, as:

State: Clean Shutdown

  1. Use the Microsoft’s Store Integrity utility (Isinteg.exe) to fix the logical corruption issues in the database. Use the following commands to repair it:

Isinteg –s exchange_server_name –fix –test alltests

After executing the command, the user is prompted to choose the database in the utility. Repeat the aforementioned command until no errors or fixes are appeared in the output.

However, if zero errors are not displayed for a database that  you want to repair, then the other option is to rebuild the database. To do that create a new mailbox store on either the existing Exchange server or new server and then transfer all the mailboxes to that one. However, if you are still unable to create a new mailbox store, then try to rebuild the database from the following method. To do it, try to export all mailbox information to PST files, and delete the database, and finally import the data.

  1. Repeat the steps from 3 to 6 for each database in the storage group.
  2. Mount the databases.

Once the database is restored and you can also perform an online backup of the storage group. However, if the database is not restored or rebuilt in the state of inconsistency, then try using a third-party Exchange recovery software like Kernel for Exchange Server to perform accurate recovery of lost information from corrupt EDB and STM files, and without requiring log files. The Exchange mailbox items can be successfully restored to live Exchange Server, Office 365 mailbox or to Outlook PST files.

Article Summary:

When Exchange database creates mounting troubles, then try to investigate the issues hampering the restore operation. Verifying the shutdown state (whether consistent or inconsistent) of the database becomes important, and Eseutil can be helpful in this scenario, but with certain restrictions.

Microsoft to drop Azure RemoteApp after partnership with Citrix

Microsoft has announced on 12th August,2016 next step in their broad partnership with Citrix in the remote desktop and applications space, they will start to “wind down” its Azure RemoteApp technology in favor of application virtualization software and services from its partner Citrix.

Microsoft plans to continue supporting existing Azure RemoteApp customers through August 31, 2017, after which time the service will be discontinued. New purchases of Azure RemoteApp will end October 1, 2016,

Microsoft has explained this step as below:

“Customers have provided us consistent feedback that they want a comprehensive, end-to-end, cloud-based solution for delivering Windows apps. The best way for us to deliver this is with Citrix through XenApp “express”, currently under development. XenApp “express” combines the simplicity of application remoting and the scalability of Azure with the security, management, and performance benefits of XenApp, to deliver Windows applications to any employee on any device. We will have much more to share on this offering through the coming months.”

Citrix officials described the situation a bit differently, saying Microsoft will be assisting Citrix in developing a next-generation Citrix XenApp and associated XenDesktop service.

Citrix officials added: “In many ways, you can look at this XenApp “express” service as Azure RemoteApp v2.0.”


Source: Microsoft Blogs , ZDnet

Storage improvements for SharePoint Online and OneDrive for Business

Upload larger files, up to 10 GB each

Microsoft has increased the per file size limit to 10 GB. This applies to files uploaded to Team Sites, Office 365 Groups and OneDrive for Business, as well as for videos uploaded into the Office 365 Video portal. Office 365 customers no longer need to leave big files stranded on file shares and local hard drives.

Before it was only 2 GB



1 TB additional space for overall pooled SharePoint Online storage allocation

The amount of content in Office 365 is growing 300 percent year over year. To meet your needs for more storage, we’re increasing default storage to 1 TB plus 0.5 GB per user to use across SharePoint Online, Office 365 Groups and Office 365 Video up from the previous allocation of 10 GB. This is in addition to the unique default per-user OneDrive for Business storage space and individual storage provided for user email inboxes. Office 365 customers on our premium Enterprise, Government and Education plans will receive OneDrive for Business unlimited storage, and we’re pleased to announce that the first stage of providing 5 TB for each user is now complete.


Source : Office Blogs

Microsoft Announces New E5 Plan for Office 365

Microsoft announced a new premium Office 365 Enterprise Suite called E5 available to eligible partners and their customers by year end

The top seven features bundled into the forthcoming E5 suite include:
Skype for Business Meeting Broadcast
PSTN Conferencing, Cloud PBX with PSTN Calling
Power BI Pro
Delve Organizational Analytics
Customer Lockbox and Advanced Threat Protection.



Skype for Business Meeting Broadcast:

The highly anticipated Skype for Business Meeting Broadcast enables broadcast meetings for up to 10,000 participants. This is great for companies who communicate through town-hall, all-hands meetings, or need to make product or sales presentations. Attendees can join the meeting from a browser on nearly any device, as well as rewind, pause and resume playback based on his or her own schedule without affecting the broadcast.

PSTN Conferencing (US-based only):

PSTN conferencing will be available for U.S. based customers in the E5 bundle. PSTN conferencing allows people invited to a Skype for Business meeting via Office 365 to join by dialing-in using a landline or mobile phone

Cloud PBX with PSTN Calling:

Currently in preview for US-based Office 365 customers, cloud PBX with PSTN calling provides users the ability to make and receive traditional phone calls from their Skype for Business client. Calls may be managed using hold, resume, forward and transfer features found on traditional phones. This cloud-based service is built on proven Lync Server and Skype for Business Server technologies.


Power PI:

measures the health of your business through advanced data reporting and dashboards using natural query language.  Its Power Query, Power View and Tiling commands make Power BI a favorite with company CIOs, marketing heads and line of business users by effectively moving the power of data out of the server room and into the hands of on-demand, in-demand users.

Includes all the functionality of the free Power BI version plus additional data refresh and collaboration tools offering higher data-capacity and data-streaming limits.

New Power BI Pro features include creating and publishing customized content packs; sharing refreshable team dashboards and reports using groups; connecting on-premise data using Personal Gateways; and enabling live interactive connectivity to SQL Server Analysis Services


Delve Organizational Analytics:

Delve Organizational Analytics builds on the current Delve features and gives additional personalized insights from the most commonly utilized user data and coworker interactions. A dashboard has been added to measure, track and identify key trends such as frequently used team documents and leading team interactions.


Advanced Threat Protection:

Hardens subscriber email environments by blocking bulk email at the IP address level. The new service evaluates known bulk email offenders through advanced machine-learning identifiers, and then rates the reputation of a sender and frequency of mailing, thereby marking known spammers. Microsoft provides built-in safe lists and threshold levels for the administrator as well.


The real-time, time-of-click safe attachment protection scans each message, and,as described by Microsoft Office 365 security product manager Shobhit Sahay, creates a ‘detonation chamber’ that queries the URL for executables, registry calls or requesting access privileges.   Based on this analysis, the service can block the message via the ‘safe link’ and ‘safe attachment’ templates



Source: CDW Blog

New activity logging and reporting capabilities for Office 365

Microsoft is pleased to announce the roll out of new activity logging and reporting capabilities for Office 365, including the Office 365 activity report, comprehensive logging capability, PowerShell command or cmdlet and a preview of the Office 365 Management Activity API.

Office 365 activity report

The Office 365 activity report enables you to investigate a user’s activity by searching for a user, file or other resource across SharePoint Online, One Drive for Business, Exchange Online and Azure Active Directory, and then download the activities to a CSV (comma separate values) file. You can filter by date range, user, file/folder and activity type. This feature is especially useful for compliance reporting purposes for companies that are in highly regulated industries such as pharmaceuticals and financial institutions

You can use the Office 365 activity report in the Office 365 Compliance Center to view user and admin activity in your Office 365 organization. The report contains entries for the following types of events:

  • Admin activity (admin audit logging) in Exchange Online.
  • Access to mailboxes by someone other than the owner (mailbox audit logging) in Exchange Online.
  • User activity in SharePoint Online and OneDrive for Business.
  • Admin activity in SharePoint Online and OneDrive for Business.
  • Admin activity in Azure Active Directory (the directory service for Office 365).
  • User sign-in activity in Azure Active Directory.


Comprehensive logging capability

User and admin activity events are logged across SharePoint Online, One Drive for Business, Exchange Online and Azure Active Directory. This is useful for helping to see what types of files a user has been sharing with others in the organization.

Today, you can search on over 150 events (with more coming soon), including file views, mailbox owner activity, Azure Active Directory log ins and many more. In the future, we plan to expand these capabilities to include activities in other Office 365 services, such as Yammer and Skype for Business.

Search PowerShell cmdlet

Another new way to search activity logs is with PowerShell, using the Search-UnifiedAuditLog cmdlet, which enables you to run scoped queries against the audit storage log, such as by date, record type, operation and file extension. This cmdlet also lets you export those logs to a file. For example you could run the following cmdlet to search user activity logs for all events from May 1, 2015 to June 26, 2015:

Search-UnifiedAuditLog -StartDate May 1, 2015 -EndDate June 26, 2015

These capabilities started to roll out last month. 


Sources: Office Blogs

%d bloggers like this: