How to enumerate all domains and workgroups in an enterprise

Posted on 2004-08-18
Medium Priority
Last Modified: 2010-04-14
We have a AD forest that covers 200+ sites, 24 child domains attached to a root. I have been handed the rather daunting task of auditing every site for machines which do not authenticate through AD. I need to cover both workgroups and 'illegal' domains. My first try was to locate Wins servers and check for all entries of type Workgroup or Domain and compare them to the approved list, but this is fairly painful in terms of time required.

Has anybody got any thoughts on automating this? Maybe using scripting to enumerate all Wins servers in the forest, then another to interrogate the servers for the required infomation about the workgroups/domains.

Any help will be greatly appreciated

Question by:adavidm
1 Comment

Accepted Solution

BigC666 earned 1000 total points
ID: 11833491

have a look at this http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=339

hope that it helps

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The narrative of smartphone revolution is incomplete without the mention of apps, for the latter is being used today for a variety of purposes. From booking hotel (or plane) tickets to ordering food to even conducting small businesses, mobiles apps …
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question