Skip to content

Category: Windows

Set UPN Suffix using PowerShell

To Prepare for Office 365 Migration you need to add the missing ‘UPN Suffixes’. The following example demonstrates how to create a new UPN suffix for the users in the ThatLazyAdmin forest: Lets Start by running:

  Then run :

  Lets verify the new UPN in Active Directory Users and Computers   There…

Leave a Comment

Set Exhange 2010 /2013 OWA ‘LogonFormat’ using PowerShell

Set Exhange 2010 /2013 OWA ‘LogonFormat’ using PowerShell   Quick look at the curent setting using the ‘GUI’. Exchange Admin Center – Servers – Virtual Directory select OWA virtual directory.     Now lets change the LogonFormat to ‘User name only’ using PowerShell  

  #ThatLazyAdmin

Leave a Comment

Get all Failed Move-Requests (Exchange 2013)

To quickly get all ‘Failed Move-Requests’ you can run the following one liner.

To Remove all ‘Failed Move-Requests’ you can run the following:  

  #ThatLazyAdmin    

Leave a Comment

Using Active Directory to meet Regulatory Compliances

Using Active Directory to meet Regulatory Compliances   When it comes to meeting compliance, many Administrators settle for simply auditing event logs. By default, Event Viewer records all events that are generated on a Windows Server. However, is simply storing logs an efficient way to meet compliance? Most compliance mandates require a particular report to…

Leave a Comment

Enable Remote Desktop Using PowerShell

Enable Remote Desktop Using PowerShell Open an elevated Windows PowerShell session and run the following commands. This first one creates the fDenyTSConnections value and sets it to 0 (off). This makes sense, because we don’t want to deny Terminal Services (TS) connections.

Set Network Level Authentication for Remote Desktop

Setting Firewall Rules :…

Leave a Comment

A Transport database operation has encountered a fatal error. The Transport service is shutting down.

A Transport database operation has encountered a fatal error. The Transport service is shutting down. Exchange Transport Service Keeps shutting down. To resolve this issue you can simple recreate the Transport Queue Database on the needed Exchange server. To delete the specified database and corresponding transaction logs, follow these steps: Verify that the Microsoft Exchange…

Leave a Comment

Get and Connect a Disconnected Mailbox Using PowerShell

Get and Connect a Disconnected Mailbox Using PowerShell   To quickly find all disconnected Mailboxes in your Exchange environment launch EMC and run the following one liner.

The Results will look as follow: Now that we have the results lets refine the search to find a specific “Disconnected Mailbox”

The Results will look…

Leave a Comment

Prepare Active Directory and Domains for Exchange 2016

Prepare Active Directory and domains for Exchange 2016 The first step in getting your organization ready for Exchange 2016 is to extend the Active Directory schema. Exchange stores a lot of information in Active Directory but before it can do that, it needs to add and update classes, attributes, and other items. If you’re curious…

Leave a Comment

Exchange 2010 MessageTrackingLog: Failed to write log..Error Access Denied

Exchange 2010 MessageTrackingLog: Error Access Denied Message Tracking in Exchange 2010 Stopped and you received the following Error in EventViewer. “MessageTrackingLogs: Failed to write logs because of the error: Access to the path ‘MSGTRK20170329-8.LOG’ is denied..” Let’s Start by reviewing the Current configuration for Message Tracking.

Now that you have your current configuration lets…

Leave a Comment