Web Images News Groups Scholar Blogs Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Finding unused security groups in AD
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
arabha123  
View profile  
 More options Nov 3, 4:35 pm
Newsgroups: microsoft.public.scripting.vbscript
From: arabha123 <arabha...@gmail.com>
Date: Tue, 3 Nov 2009 08:35:09 -0800 (PST)
Local: Tues, Nov 3 2009 4:35 pm
Subject: Finding unused security groups in AD
Hi all,

I am in a fix where I want to delete a lot of security groups that
have been created but not used for share permissions but just so that
the distribution groups with the same name can be used in case of
share access. Is there a way to find out unused security groups, so
that they can be deleted. Any help is greatly appreciated.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Dunbar  
View profile  
 More options Nov 4, 4:56 am
Newsgroups: microsoft.public.scripting.vbscript
From: "Al Dunbar" <aland...@hotmail.com>
Date: Tue, 3 Nov 2009 21:56:25 -0700
Local: Wed, Nov 4 2009 4:56 am
Subject: Re: Finding unused security groups in AD

"arabha123" <arabha...@gmail.com> wrote in message

news:45313c37-7882-400a-a386-a20ba5703ce9@g22g2000prf.googlegroups.com...

> Hi all,

> I am in a fix where I want to delete a lot of security groups that
> have been created but not used for share permissions but just so that
> the distribution groups with the same name can be used in case of
> share access. Is there a way to find out unused security groups, so
> that they can be deleted. Any help is greatly appreciated.

First thing is, if you delete a group containing no members, you can be
fairly confident that nobody will lose access to anything as a result.

Beyond that, this can be quite a difficult prospect, as the usage of a
security group is not contained within its definition in Active Directory.
Rather it is scattered in the form of permissions on NTFS volumes and
printers on all servers (and possibly some workstations), in various places
within exchange, and potentially in your applications.

If you know the permissions will be limited to NTFS volumes, and if you have
a structured approach to folder permissions, that may simplify the task. For
example, if you apply permissions only to folders and not to individual
files, or if you limit how deeply nested folders with different permissions
than their parents are allowed to go.

But at some point you are going to have to enumerate all of the permissions
on some subset of NTFS objects, marking any groups found as trustees as
being in use. If you have been thorough enough, the ones not so marked could
be considered unused and deleted.

Here's another random thought. You could rename all of the suspect groups by
prefixing their names with something like "UNUSEDSECURITYGROUP", use cacls
to dump all permissions, then do a search for the string
"UNUSEDSECURITYGROUP". Whenever you find a match, just rename the
corresponding group back to its original name.

/Al


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google