dkreifus Posted February 23, 2006 Posted February 23, 2006 Is there a way to add domain groups to a local group when logged in as a local admin. (not on the domain)?I want to add Domian1\Group1 and Domain1\Group2 to Power Users....
CptMurphy Posted February 23, 2006 Posted February 23, 2006 Domain groups and local groups are kept seperate. Any changes you make locally aren't propegated at the domain level, and vice versa. You can add a computer to a domain but not the actual users unless you are logged on to the server.
iwro Posted February 23, 2006 Posted February 23, 2006 adduser.vbsSet WshNetwork = WScript.CreateObject("WScript.Network")strComputer ="WshNetwork.ComputerName"Set objGroup = GetObject("WinNT://" & WshNetwork.ComputerName & "/Power Users") Set objUser = GetObject("WinNT://domain1/group1") objGroup.Add(objUser.AdsPath)
dkreifus Posted February 23, 2006 Author Posted February 23, 2006 (edited) I understand they are separate.We want to give a domain user who is part of a domain group access to the power users group.So, under power users, we'd add:COMPANY\TECHS.We'd of course have to authenticate. (because we're logged in as a local admin, not a domain user).like this:net localgroup "Power Users" "DOMAIN1\GROUP1" /addbut somehow, authenticate against the AD Edited February 23, 2006 by dkreifus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now