Tag Archives: Windows Server 2012

ADUC: Object username contains other objects. Are you sure you want to delete object and all objects it contains?

While deleting a few disabled user accounts today I came across a warning message I’ve not encountered before.

Confirm Subree Deletion. Object conatins other objects. Are you sure you want to delete object and all of the objects it contains?

I was only deleting a user account and had already deleted a number of them so what was different about this one?

In ADUC, I selected View – Users, Contacts, Groups and Computers as containers.

ADUC - User, Contacts, Groups and Computers as containers.

I was then able to drill down into the user and see what other objects they contained. It turns out that there was an iPhone listed in the ExchangeActiveSyncDevices for the users.

ExchangeActiveSyncDevices

So, knowing what i was deleting, it was safe to proceed.

PowerShell: Get-ADUser to retrieve logon scripts and home directories – Part 2

PowerShellIn Part 1 we looked at the Get-ADUser command, and used it to create a list of all users and display their homedrive, homedirectory and scriptpath.

In this post we’ll look at refining the results a little.

We’ll look at sorting the results, only returning results for user accounts that have a login script, and export them to CSV, which is much more useful than exporting the results to a text file.
Continue reading

PowerShell: Get-ADUser to retrieve logon scripts and home directories – Part 1

PowerShellHaving recently taken on a new client with a system that had been neglected somewhat I wanted to find out about the state of their user accounts.

I’d already looked at a couple of users at random and noticed some users had logon scripts while others didn’t, and some users had home drives while others didn’t.

Although the organisation wasn’t large, they had more than enough user accounts that I didn’t want to manually check every one. So i turned to PowerShell’s Get-ADUser command.
Continue reading

How to install Exchange 2010 (SP3) on Windows Server 2012

Server 2012 and Exchange 2010

EDIT: This is one of my most popular posts, if you find it useful please comment or share the post. Thanks.

Now Microsoft Exchange 2010 SP3 has been released it provides support for Windows Server 2012 as the host operating system. In this blog we’ll run through the installation process.

The demo environment I am using includes a Server 2012 DC and a Server 2012 member server.

As this is a virgin demo environment as part of the installation the Exchange 2010 setup will upgrade the AD Schema, if this is an additional server in a migration scenario then the following won’t be necessary. To upgrade the Schema you have two options.

Option 1: Run the Exchange 2010 SP3 setup command with the PrepareAD and OrganizationName switches on the domain controller.

setup /preparead /organizationName:oxfordsbsguy

Then on the member server follow the instructions below to install Exchange 2010 SP3.

Exchange 2010 setup preparead

Option 2: Install the Remote Server Administration Tools (RSAT) onto the member server you are installing Exchange onto so that the ldifde.exe is in the correct location that the Exchange setup expects it to be.

Install RSAT AD DS Tools

With that done, on to the install.

1. On a Server 2012 member server, run PowerShell as Administrator.

Run Powershell as Administrator

2. Run the following command to install the prerequisite Rolls required for a typical Exchange 2010 installation. (Source: Exchange 2010 Prerequisites)

Rolls required for Exchange 2010

Add the roles required for Exchange 2010

3. Wait for the rolls to be completed. On my test server this took about 4 minutes. The server will restart automatically.

Prerequisite Rolls for Exchange 2010 Progress

4. Download Microsoft Exchange 2010 SP3, Microsoft Office 2010 Filter Pack, and Microsoft Office 2010 Filter Pack SP1

Download Exchange 2010 SP3Download Microsoft Office 2010 Filter PackDownload Microsoft Office 2010 Filter Pack SP1

5. Install the Microsoft Office 2010 Filter Pack.

Install Microsoft Office 2010 Filter Pack

6. Install the Microsoft Office 2010 Filter Pack SP1.

Install Microsoft Office 2010 Filter Pack SP1

7. Run and extract Exchange 2010 SP3.Run Exchange 2010 SP3

8. Browse to the location you extracted the files to and run Setup.exe, then click on Step 4: Install Microsoft Exchange.

Exchange 2010 SP3 Installation

9. Read the introduction and click Next.

Microsoft Exchange 2010 Introduction

10. Accept the license agreement, and click Next.

Exchange 2010 Installation - License

11. Enable Exchange Error Reporting, and click Next.

Exchange 2010 Installation - Error Reporting

12. Select the Installation Type. In our example we will use the Typical Option, deselect “Automatically install Windows Server roles and features required for Exchange”, click Next.

Exchange 2010 Installation - Installation Type

13. Enter the Organization Name, I’ve changed mine from the default First Organization in the picture below to OxfordSBSGuy.

Exchange 2010 Installation - Specify the Name of this Organization

14. Select the appropriate client settings, click Next.Exchange 2010 Installation - Client Settings

15. Enter an external domain name to use with Exchange, click Next.

Exchange 2010 Installation - Client Access

16. Opt in/out of the Customer Experience Improvement Program, click Next.Exchange 2010 Installation - Customer Experience

17. Resolve any errors, you should have none! Note Organization Prerequisites, this refers to the Schema upgrade highlighted at the start of this article. Click Next.

Exchange 2010 Installation - Readiness check

18. Watch the progress bars (or go and make a cuppa) as Exchange is installed. You can see it if fairly quick at just under 20 minutes. Click Finish to complete the installation.

Exchange 2010 Installation - Completion

19. Run WSUS or Windows update to install any patches that have been release since SP3. The latest Update Rollup for Exchange 2010 SP3 is UR 12. See the post Exchange 2010 SP3 Update Rollup 12 released and installation tips for installation tips and advice.

20. Reboot the server to complete the installation.

21. Once restarted log in to the Exchange Management Console and start configuring!

Exchange 2010 Management Console

Related Posts:

1. How to install Exchange 2016 (CU3 and beyond) on Windows Server 2016

2. How to install Exchange 2013 (SP1) on Windows Server 2012 R2

3. Exchange 2013 Initial Configuration Settings multi-part series

4. Exchange Server and Update Rollups Build Numbers

5. PowerShell: Identify the number of users connected to a Exchange 2010 CAS Server