Monday, 20 August 2012

How to kill hung Windows Services

Have you ever been in a situation where you have a hung Windows Service and you cannot restart the server because it is a production server?


Well, with these steps below you can kill that hung Windows Service without a need to restart the server.

Wednesday, 15 August 2012

How to remove non-existent domain from Active Directory


I just installed a second domain controller in our environment. My predecessor didn't replace the second DC when it went faulty a year back. I noticed something weird is happening. The DC2 couldn't serve as a Global Catalog server, I have got many errors in the Event Viewer, in particular Event 1202 and Event 1926 like the screenshots below.


Tuesday, 14 August 2012

How To Get a User's Security Identifier (SID) in Windows

In this post I am going to show you how to get a SID of a user account in Windows. 

The command you need to use is shown below


wmic useraccount get name,sid <enter>

You will then get a result similar to the screenshot below


Windows 8 highlights

I downloaded Windows 8 Release Preview to test it on my Hyper-V environment today and have a play with it. I have to admit that I love its feature where you can pause the file copying process. It's an awesome feature.




Tuesday, 7 August 2012

Importing Thumbnail Photo from Active Directory into Sharepoint 2010

We had been trying to figure out why the thumbnail photos we have in Active Directory are not imported to our Sharepoint 2010. Now I want to show the steps we took to solve the issue.

1. Make sure that the Picture property is mapped to Thumbnail 
   Photo.

  • Click on Manage Service Application on Sharepoint Central Administration
  • Click on User Profile Service then choose Manage User Properties

Thursday, 2 August 2012

WSUS Agent - Not Yet Reported

I installed and configured Windows Server Update Services (WSUS) 3.0 SP2 in our infrastructure. I don't use client side targeting to group computers' account. I noticed something's not right because after I had waited for more than half an hour, the status of all computers are still Not Yet Reported as per screenshot below.