Group Membership Problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Scot (anonymous_at_discussions.microsoft.com)
Date: 01/07/05


Date: Fri, 7 Jan 2005 04:03:27 -0800

Happy New Year all!

I been reading about VBS scripting for group membership for
USERS and not COMPUTERS.

Most of the example websites from this newgroup shows USER
login scripting for group membership but I like to know how
to add printers to COMPUTER group membership using vbs.

If InStr(strGroup, ORGANIZATIONAL GROUP NAME) Then
net.AddWindowsPrinterConnection "\\server\printer1"

I got many computers who are added to the domain inside one
organizational group called dell lab.

When any user login to that organizational group, the
printer will show up in their printer folder.

thoughts?



Relevant Pages

  • Re: user have multiple PCs
    ... Groups of computers should work though I recommend using global groups. ... changing group membership of a computer note that you need to reboot the ... >> do not want it to apply to tech support then give tech support deny ... >> try changing the order of the GPOs in the list for the OU and configure ...
    (microsoft.public.windows.group_policy)
  • Re: how do I use LDAP for these?
    ... > computers but however I do not have enterprise or domain admin rights to ... Now I need to check for group membership for mapped drives. ... >> domain and instead put computers, ...
    (microsoft.public.scripting.wsh)
  • Re: Delegating permission to add computers to the domain
    ... You are focusing on the Computers container. ... this be changed, based upon group membership, to automatically add them to a ... the OU they are delegated permission to do so. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Need tweak to prohibit creation of new shares
    ... Check their group membership. ... them to regular users if at all possible. ... Also do their computers really need to ... to manage their Computers Remotely then uninstall file and print sharing on them ...
    (microsoft.public.win2000.security)
  • Re: Group Membership Problem
    ... > I been reading about VBS scripting for group membership for ... > login scripting for group membership but I like to know how ... workstation that is in a group that is given NONE access to that resource, ...
    (microsoft.public.windows.server.scripting)