|
Question : net localgroup command not working
|
|
Hello
We've got a large AD split into regional OU's - I want to add a net localgroup command into the login scripts of our users to ensure that one of our groups is in the local administrators group.
Now.. for example, the domain is called domain.company.com - and the security group object is in AD under domain.company.com/London/Building2/Groups/LON-Building2 Administrators
I've tried a series of commands but seemingly to no avail - any ideas people?
Thanks a lot, 500pnts for this.
|
Answer : net localgroup command not working
|
|
The former global groups net localgroup should have a length less than 20 characters so make your self pretty sure that you've never break the 20 characters limit . Windows NT4 had a length restriction of 20 characters, and that still lingers on in some commands. For this to work using "net local group", use the NT4 compatible group name (you'll find it in ADUC in the properties of the group)
Also Windows 2000 Server have the same issue with the 20 characters .
Taking in account that it works ok when you add global group to local group with "lusrmgr.msc" kind of Bug on net localgroup
|
|
|