Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Add AD group with long name as local group member ====== When you try to add an Active Directory group with name longer than 25 characters (in total), net.exe command will not work; but you can use the following VB script instead <code vbscript> Set objLocalGroup = GetObject("WinNT://./Administrators") Set objADGroup1 = GetObject("WinNT://DOMAINNAME/DOMAINGROUPNAME") objLocalGroup.Add(objADGroup1.ADsPath) Set objLocalGroup = Nothing Set objADGroup = Nothing </code> windows/server_os/add_long_ad_grp_to_local_grp.txt Last modified: 2019/10/31 09:06by 127.0.0.1