Archive for the ‘Window Server’ Category

Hello Friends,

Sometimes life is so uneasy that you didn’t get time for the work which you like the most. Now those days are gone so I am back.It’s been months I haven’t written anything . I have received lot of mails through blogs and LinkedIn which I tried to reply.
Days are gone and now the pet command “DCPROMO” which is used to install Active directory is now the thing of past. But command can go not the concept.


So, How to Install Active Directory in Windows Server 2012?. I will try to provide exact way to install and configure Active Directory in new world.

Screen which comes when we use “dcpromo” to install AD.


This means we need to go to Server Manager to Install AD.


a) How to Install AD.

1) Go to Server Manager.
2) On the server manager page dashboard . Click on  Add roles and features.

server Manager

3) Roles and Features Wizard will open which will allow to add different roles and features in Window server. On the Default page , click next

Before you begin

4) Select Role based or feature-based installation. As we are installing role directly on a particular server and not on any env. remotely.

Installation Type

5)  Current server will come by default. Select the server and click next.

Destination server

6) On the Server Role page select the Active Directory Domain Services. A list of additional things which are required with this will appear, select Add Features.

Add features

7) Select the features like .Net and Group policy Management. Scrolling down you will see the Remote server Administration tool is already selected as it is required with Active directory installation.



8) Read the information given in AD DS page and click Next


9) Read the DNS  information and click next.

DNS Server

10) Select the restart the destination server check box and click Install.

Add Roles and Features

11) You are also export the Configuration settings which has been defined for future use.


12) Once AD DS is installed you can start configuration directly from result page “ Promote this server to domain controller”. It can also be done through Server Manager page.


14) Close the wizard , once installation completes.



b) How to Configure AD.


1) After AD DS role is installed it will be directly displayed on the ‘Server Manager’ page. For completing the configuration open the Notifications Pane by clicking on Notifications icon on the top of the Server Manager. click Promote this server to a domain controller.

Domain Controller

2) As we are creating a new forest . Select the option “Add New Forest” and provide the name of root domain. i.e in my case it is learning.com

Deployment Configuration

3) Select Forest functional level and Domain Functional Level. Here I am considering that all my servers are server 2012 . If there are server less than window server 2012. We should consider for backend Compatibility and level should be considered accordingly.


a) As it is the first Domain controller there is no option to check or uncheck . But for future ADC we need to check or uncheck these option as per need.


b) Kindly provide the DSRM password. It commonly known as passphrase earlier. Which is used while adding or removing any additional domain controller to have administrator authentication.

Note: Kindly note the password for future perspective.

Domain controller Option

4) Read the below Warning and click Next. This warning is basically because of the Authoritative Zones which need to be created in DNS explicitly.

DNS Option

5) Provide the Netbios name of your domain in the field required. i.e Learning for our case.

Netbios name

6) Specify the location of below NTDS and Sysvol file. By Default it is C: Drive.

ADDS path

7) Read and acknowledge the below information before clicking Next.

ADDS Review

8) You can also view the script as what will be done during installation. Same can be done with power shell also.

Script ADDS

9) After the prerequisite check. Click on Install.


10) After the installation is completed Successfully. Server will be Restarted and your Active Directory Domain Services is installed and configured on Windows Server 2012.


Hope I was able to describe the content correctly based on my knowledge and learning.

If you liked this post, do like on Facebook at :https://www.facebook.com/Ashishsharepointblog

Feel free to Rate and provide feedback if you find post useful

Hope this help

Read Full Post »

Friends, As covered in one of my previous blog:

How crawl works in SharePoint ||How indexing work||Basic concept .

We were discussing about ifilters , so How to get these ifilters and what are the various steps need to be taken in the configuration of ifilters? I will work with the example of PDF and the same works for the other types of ifilters or the extension of document which you want in search.

So, to install a PDF ifilters:

  1. Download Adobe PDF Ifilters for 32 & 64 bit platform in MOSS and 64 bit for SharePoint2010.Example Link for pdf version 11 is given below:
  2. Run the setup
  3. When the welcome page comes in, click Next.
  4. When the Software License Agreement page comes, click Accept.
  5. When the Choose Installation Location page comes, click Next.
  6. When the confirmation is displayed that the installation was successful, click OK.

Now to crawl the pdf files with pdf icon images , we have to put the image at SharePoint binary location:

Copy ICPDF.gif(it can be copied from installed files of ifilter) to location drive at which SharePoint Binaries installed: $\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images.

A PDF extension entry need to be added in SharePoint XML file:

Edit the file \Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\DOCICON.XML and put
<Mapping Key=”pdf” Value=”icpdf.gif”/>

Reset IIS to clear the cached settings. It is better to go for iisreset with noforce command: iisreset /noforce

It is pretty necessary to add the file types in the index list, only then the search will work:

  1. On the SharePoint Central Administration home page, Goto Shared Service Provider to open the Shared Services Provider administration site.
  2. On the Shared Services Administration home page, in the Search section, click Search settings.
  3. On the Configure Search Settings page, click File types.
  4. On the Manage File Types page, click New File Type.
  5. On the Add File Type page, in the File extension box, type pdf and click OK.

Note: If the filter for a document is installed after content is indexed, Full crawl on the content indexes need to be done in order to reflect the changes and include PDF documents in search results.

Hope I was able to describe the content correctly based on my knowledge and learning.

If you liked this post, do like on Facebook at: https://www.facebook.com/Ashishsharepointblog

Feel free to Rate and provide feedback if you find post useful
Hope this help

Read Full Post »

Thank You all for your support to give me inspiration . It is the result of this that I have achieved first 1000 Hits in less no of blogs and in very small time.
Thanks to my parents and my friends.


Details of all my Blogs: BlogList







Thank you all very much.


Read Full Post »

New Year begins,
Let us pray that it will be a year with new peace, new happiness and abundance of new friends. May the year brings the true example of Humanity.

Let us pray to get the courage to feel the difference of Right and Wrong.
Let us pray for the Delhi Victim girl to Rest in Peace.

Happy New Year.


Read Full Post »

Hey Friends,

Sometime when we build a SharePoint server we can face issues with login. The login prompt keeps on asking password and no matter what I try, it is not letting me in.

You can follow the below step to get rid of this problem:
This solution I have found on TechNet website when I faced the same issue.


Method 1: Specify host names (Preferred method if NTLM authentication is desired)

To specify the host names that are mapped to the loopback address and can connect to Web sites on your computer, follow these steps: Click Start, click Run, type regedit, and then click OK.

  • In Registry Editor, locate and then click the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  • Right-click MSV1_0, point to New, and then click Multi-String Value.
  • Type BackConnectionHostNames, and then press ENTER.
  • Right-click BackConnectionHostNames, and then click Modify.
  • In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
  • Quit Registry Editor, and then restart the IISAdmin service.

Method 2: Disable the loopback check (less-recommended method)

The second method is to disable the loopback check by setting the DisableLoopbackCheck registry key. To set theDisableLoopbackCheck registry key, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Quit Registry Editor, and then restart your computer.

Sometime it ask for reboot and it is difficult in prod environment. you can follow this link to avoid reboot but on your risk.

Hope I was able to describe the content based on my knowledge and learning.

Feel free to Rate and provide feedback if you find post useful

Hope this help


Read Full Post »

How to avoid windows REBOOT after any operation required restart ?

Issue :

Today, I decided to clear my desktop. I am currently running with 2 SQL server instances with different names & versions & are not required now.

I start uninstallation of SQL server but after one uninstallation, second uninstallation gives errors of “Restart Computer”.

It’s very difficult to restart computer again & again when you are doing several things in parallel.


Resolution :

Here, I go for shortcut. I have changed the registry value of current session manager to avoid reboot.

Go to Registry Location : HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSessionManager & Clear the entry of string PendingFileRenameOperations.


After change, I click on rerun to check status again for uninstallation & it works.


Note :

1) Its recommended to reboot system, whenever required.

2) Please be careful, while doing any changes to registry.

Feel free to Rate and provide feedback if you find post useful

Hope this help


Read Full Post »

Older Posts »


Get every new post delivered to your Inbox.

Join 165 other followers

%d bloggers like this: