This blog has been moved to a new location

Hi everyone

I decided to host my own site and moved this blog to my new website

This means I will not be updating any new content here. A huge thanks for following my blog and please continue following it at the above mentioned address.

Hope to hear from you soon 🙂

Tiens van Zyl

 


How to decommission a Windows 2012 Domain Controller and Active Directory

I’m currently busy testing a few things and copied my lab DC’s virtual disk to 2 other machines. I need to decommission Active Directory on these two machines and thought that I’d share the steps on here.

First off the Domain Controller is decommissioned and then Active Directory is decommissioned. Note that the server is the only DC in my network which means I’m also showing the step to decommission the last DC in an AD environment.


Installing Virtual Box Guest Additions in Zentyal

I stumbled across Zentyal which seemed to be quite an interesting Linux distribution. I say that as they claim to be able to replace Microsoft’s Small Business Server (SBS) and co-exist with Active Directory and Exchange.

Have a look at their website for all the features.

I wanted to install the guest additions after installing Zentyal in Oracle’s Virtual Box to run the virtual machine in full screen mode. This was not as straight forward as I though it might be. Below is a video tutorial that I created to show how to install the guest additions in Zentyal. (Watch in HD and full screen)

Also note: the links below the video are for the sites I used to get this working.

Zentyal’s Forum link

Nixhero

Random IT Blog


Configuring Hyper-v Host Network Adapters for ISCSI Storage Connectivity with Powershell .

Chinny Chukwudozie, Cloud Solutions.

Windows Server 2012 R2 with PowerShell 4.0 has hugely expanded support for configuring multiple NICs on a Cluster/ISCSI Initiator node via command line. After deploying multiple Network Interface Cards on my Hyper-v host, it took me a while to figure out how to properly configure the NICS with PowerShell .

Prior to Windows Server 2012, NIC configurations could be accomplished with the GUI, Netsh command line utility or mainly WmiObject classes. The following cmdlets enabled me complete the configuration of multiple NICs on a cluster node:

List Available NICs on Host Server.

Get-NetAdapter -Physical

Capture

Rename Network Adapter for Storage/ISCSI Connection.

Get-NetAdapter -InterfaceIndex 15 | Rename-NetAdapter -NewName StorageNIC1

Capture_Edited

Set Private IP Address on Selected NIC.

Get-NetAdapter -InterfaceIndex 14 | New-NetIPAddress -IPAddress 192.168.3.8 -PrefixLength 24 -AddressFamily ipv4

Capture2

Disable Network Adapter Bindings.

Usually the Storage Network Adapter needs just the IPv4 TcpIp binding enabled:

PS C:\ Get-NetAdapterBinding -Name StorageNIC1

Name DisplayName ComponentID Enabled

View original post 345 more words


Converting a User Mailbox to Resource Room Mailbox using PowerShell.

Chinny Chukwudozie, Cloud Solutions.

In past versions of Exchange Server, specifically Exchange 2003, managing Resource Room mailboxes was not exactly a straight forward process. In my organization at the time, to manage room Calendars and bookings for Conference rooms (they were not referred to as Resource Rooms at the time), we had to create mailboxes to represent the conference rooms.

It was not possible within Exchange 2003 Server to automatically process conference room bookings and scheduling on the server side . One had to create a client side outlook profile representing the room mailbox and keep that outlook profile constantly running on some box to ensure room bookings were auto processed.

Exchange 2010 SP1 changed all that with the ability to process all calendar processes Server side. After I completed the migration from Exchange 2003 to Exchange 2010 SP1, I started the task of converting the conference room user mailboxes to type Room mailbox…

View original post 541 more words


How to run a Memory Diagnostic in Windows 8

Ever needed to check your memory for problems from within Windows 8/8.1 ?

Then check out the video below to show you how to run a memory test from within windows.


How to promote Windows Server 2012 to a Domain Controller

Microsoft has done away with dcpromo when it comes to Windows Server 2012.

We’ve been so accustomed to using dcpromo that I actually struggled a bit to promote a 2012 server to a DC in one of my labs. This short video shows how to install the Active Directory Directory Services role on the server and that there is a small step you need to complete after the installation as just installing the role does not promote your server to DC status.

This small step cost me 5 minute of head scratching and going back to my training manual. Easy to forget and find but here’s a quick how to.

I’m not an AD expert but it’s good to practice this once in a while as you might get tasked to “quickly” set-up an environment for a client and practice makes perfect 🙂


Out of Office not working – Using Exchange Autodiscover Redirect

Had an interesting one today with a bit of a lesson at the end of the article.

Scenario:

Users are able to connect to Exchange with Outlook, send and receive mails etc. Users are however unable to set up their Out of Office using Outlook but they are able to set it using Outlook WebApp. We have a hybrid Exchange environment with 2010 and 2007 CAS servers. In the back-end we are running an Exchange 2007 CCR Cluster.

Past troubleshooting with regards to Out of Office not working has taught me to check and test autodiscover. I bet that the OAB is also not downloading?
I ran the normal checks such as checking the certificates and running nslookup to see if autodiscover.domain.com redirects to autodiscoverredirect.domain.com asn it did.

My next step was to check IIS as I’ve had a previous issue there. Low and behold I noticed that an ex-admin used his credentials for authentication. This caused issues as the admin’s account has been deleted a few days ago as he left our company. I then created a service account and added the credentials in IIS to ensure that this does not happen again. Users reported that Out of Office is working again.

Below are some screenshots for where I changed the credentials. Note that when I tried opening any settings under the Autodiscoverredirect Webpage in IIS that the error explicitly told me that the account for admin-abc had problems authenticating. The challenge was that I was not too sure where this is supposed to be changed. But here you go:

1. Open IIS on your CAS server and browse to Sites => AutodiscoverRedirect (Or whatever you named it)

Capture1

2. On the right click on “Advanced Settings”

Capture2

3. Click on “Physical Path Credentials” and then set. Add your service account credentials and save.

Capture3

This solved my issue with redirection.

Lesson: No matter how many years of experience admins have, the still seem to take the quick route of using their personal credentials where a service account should be used causing issues for your users and customers. Don’t be a lazy engineer and use the service accounts and remember to document EVERYTHING!


A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.

I started learning development for Android and downloaded the Eclipse IDE that includes the Android SDK from the Android Development site. Eclipse should be installed after you installed the Java Runtime Environment.

On both my machines I received the below error when starting Eclipse. In my case I think it has to do with the fact that i installed Eclipse and the JRE to D:\ instead of the default locations in the installers.

eclipse error

 

 

 

 

 

 

 

 

 

I solved this issue by:

1. Right click the Eclipse exe and choose properties.
2. In the Target field add -vm “D:\Program Files\Java\jdk1.7.0\bin” behind the D:\adt-bundle\adt-bundle-windows-x86_64-20130729\eclipse\eclipse.exe
3. In essence it should look like your_drive_letter:\path to eclipse installation\eclipse\eclipse.exe -vm “drive_letter_where_JRE_is_installed:\Program Files\Java\jdk_version_number\bin”
4. Click apply and ok.

Eclipse should now start without any problems.

 


Error Code: 0x000000C4 when trying to install Windows 8 or 8.1 in Virtual Box

I tried installing Windows 8.1 Preview in Virtual Box and received the below error: (If memory serves me correctly this was the same for Windows 8)

Win 8.1 error

Run the following command and then try installing Windows 8.1 Preview again.

“c:\Program Files\Oracle\VirtualBox\VBoxManage.exe” setextradata “VM Name” VBoxInternal/CPUM/CMPXCHG16B 1

This solved the issue for me. Found the information to the solution at this article here.

 


%d bloggers like this: