TAG

“Error initializing default drive: ‘Unable to find a default server with Active Directory Web Services running”

Leave a comment

Today i was trying to Import Active Directory Module while working with Powershell and i got the below error

“Error initializing default drive: ‘Unable to find a default server with Active Directory Web Services running”

so what is Active Directory Web Services ?

Active Directory Web Services ADWS is a new service in Windows Server 2008 R2 also known as Active Directory Management Gateway Service in Windows Server 2008 SP2 , Windows Server 2003 and Windows Server 2003 R2.

ADWS provides a web interface to interact with active directory, with this service stopped or not installed some applications won’t be able to access any AD instance on that server, like in our case here when we are trying to import Active Directory module for windows PowerShell

Having that information now , i went to check the ADWS in the services console, and it was stopped

Started the Service and tried to import the AD module again , and it worked fine

One last thing to mention here,  ADWS is automatically installed if you promote a Windows Server 2008 R2 to a Domain Controller , or when you install AD DS or AD LDS Server Roles

Follow My Page on Facebook for the latest Articles Tag on facebook

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s