Menu Sidebar
Menu

domain

Missing SYSVOL & NETLOGON after domain controller promotion

Recently I found an issue with a newly promoted domain controller missing the SYSVOL and NETLOGON shares. Most of the cases it would also be a new domain controller for an existing or new forest. In most cases, you would need to update the flag below. Open Regedit Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters Set SysVolReady  from 0 to […]

List all SPNs in Active Directory

Ran into a situation where I needed to get all the SPNs that are listed in AD. Find duplicate SPNs Listing duplicate SPNs is fairly easy, just use setspn -X on your command-line and you’ll find out. What is a SPN? An SPN or Service Principal Name is a unique identity for a service, mapped with a specific account (mostly […]

Get All DCs in the Entire Forest

Getting a know a new environment for a new client and I a quickly needed information about all domain controllers in the entire forest. Wrote a small little script to provide me all the information I needed:

 

Get Schema version of one or all domain controllers in a domain

Single Domain Controller: To find out the current schema version by inspecting the objectVersion property of CN=Schema,CN=Configuration, For example, to find out the current schema version, use a tool like ADSIEDIT or dsquery, e.g.: CMD:

PowerShell:

Multiple Domain Controllers: During a schema update or just as a pre-check it is important to find […]

List Domain Admins & Enterprise Admins in a domain

If you want to find out how many domain/ enterprise admins are active/inactive in domain you can use the following PowerShell command to figure out: Get the list of domain admins and check if they are enabled.

Get the list of enterprise admins and check if they are enabled.

 

NSLookup still showing IP of demoted Domain Controller

So had an interesting issue today where a Domain Controller (DC) was demoted yet the IP of the demoted DC was still showing up when running nslookup internaldomain.local Demoted DC: MWDC04 / IP: 10.14.111.111 I had done the metadata cleanup and tried many suggestions when googling the subject. To my surprise none of the solutions I […]

12 dig Command Examples for DNS

dig can we very useful in finding out DNS related issues. To install dig for Window/ Linux/ MacOSX click here. A basic dig command – dig a domain nameIn the most basic of dig commands, you have a domain name like www.microsoft.com, and you want to find information about it, so you issue the following […]

R.I.P. nslookup – Start using dig or host

I have been using nslookup for the longest time I can remember. Although, this may be an older topic to some, it may be a newer topic to most Windows users. Dear Windows users, nslookup has been deprecated. The organization that maintains the code for nslookup, Internet Systems Consortium (ISC), has very clearly stated it in the most […]

Older Posts

Mohammed Wasay

Dallas based Design Technologist & Hybrid Developer