Click here to get back home

Create User and Auto Assign to Domain Security Group

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Create User and Auto Assign to Domain Security Group Geoff 01-31-2007
Posted by Geoff on January 31, 2007, 12:27 pm
Please log in for more thread options
Hello,

During account creation in AD, a user is assigned to the DOMAIN USERS
group. I would also like them assigned to a group called "NEW USER"
at the same time. With the intention that this group would be removed
after 30 days. Is this possible?

Thanks!


Posted by Roger Abell [MVP] on January 31, 2007, 11:55 pm
Please log in for more thread options
The capability is not built-in but is easily scripted.
Check out www.microsoft.com/technet/scriptcenter
for some samples. You would need to combine the
creation of the account in the desired OU (with setting
of password) followed by adding membership in your
desired group. Thereafter, you would need to create
new user accounts via this script.
In practice it is also possible to have actions take place
upon occurrance of specific events. Here one would
event on new account creation, and the action would be
to add the membership. However, if the first script
outlined seemed much, then the eventing solution would
be moreso.

> Hello,
>
> During account creation in AD, a user is assigned to the DOMAIN USERS
> group. I would also like them assigned to a group called "NEW USER"
> at the same time. With the intention that this group would be removed
> after 30 days. Is this possible?
>
> Thanks!
>



Similar ThreadsPosted
Assign manage printer rights via group policy? (2003r2) January 24, 2008, 4:44 am
PKI User certificate auto-enrollment for XP clients not logging onto domain computer May 18, 2007, 11:02 am
How to Create Restricted User at the Win2K3 DOMAIN Controller August 14, 2007, 2:00 am
Create restricted user account, 2003 server AD domain November 10, 2005, 10:39 pm
Unexpected security restriction for a user in both a user and administrative group. April 24, 2008, 10:05 pm
Adding a User from One Domain to a Group in Another Domain August 18, 2006, 12:12 am
removing user from domain users group doesn't help June 23, 2006, 4:15 pm
How to create a user with access to one server only. April 30, 2007, 6:48 am
Create a domain account with full access to all files and folders? October 24, 2006, 11:03 am
deny create folder but allow create files June 16, 2005, 12:08 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap