Re: Group Policy questions
- From: VMM <VMM@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Jul 2005 07:06:03 -0700
Hi Carl,
Here is an example of a startup script to do that:
'----------------------------
Set wshNetwork = CreateObject("WScript.Network")
ComputerName= wshNetwork.ComputerName
localstr="WinNT://" & Computername
YourGroup="WinNT://YourDomain/YourGroupDomainGroup"
AddToGroup YourGroup, "LocalGroup XP"
function AddToGroup(member, Grpname)
Dim grp1
Set grp1 = Getobject(localstr&"/"& Grpname,group)
grp1.Add (member)
End Function
'----------------------------
Try it and perhaps you become believer :-)
Regards,
.
- Follow-Ups:
- Re: Group Policy questions
- From: Carl O
- Re: Group Policy questions
- References:
- Group Policy questions
- From: Dave Fitton
- RE: Group Policy questions
- From: VMM
- Re: Group Policy questions
- From: Carl O
- Group Policy questions
- Prev by Date: Re: Remove GP after a number of mistakes?
- Next by Date: Re: Office 2k3 rollout By group Policy...Problem
- Previous by thread: Re: Group Policy questions
- Next by thread: Re: Group Policy questions
- Index(es):