Re: How to add/remove a user from a group in logon script

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

From: Dmitry Korolyov [MVP] (d__k_at_removethispart.mail.ru)
Date: 08/19/04

  • Next message: Kerry Hoskin: "Re: XP SP2 ADM File-Related Fixes Available From PSS"
    Date: Thu, 19 Aug 2004 10:15:58 +0400
    
    

    You can check if Restricted Groups feature of the Group Policy might be of
    any help for you. Are these groups domain groups or local groups on the
    terminal server/workstation?

    -- 
    Dmitry Korolyov [d__k@removethispart.mail.ru]
    MVP: Windows Server - Active Directory
      "Graham Prentice" <gprentice_@_oakville.ca> wrote in message
    news:#4kA3VThEHA.3992@TK2MSFTNGP11.phx.gbl...
      That might be a problem, but I'm willing to risk it for now.
      Any ideas of how to add/remove from group membership based on the
    workstation logged into?
      I've been searching for utilities/scripts but have not found exactly what
    I'm looking for yet.
      Graham
        "Dmitry Korolyov [MVP]" <d__k@removethispart.mail.ru> wrote in message
    news:u1yC93ShEHA.1764@TK2MSFTNGP10.phx.gbl...
        Are you aware that the user in question must have permissions to modify
    group membership for both these groups in this scenario? Is it ok for you?
        -- 
        Dmitry Korolyov [d__k@removethispart.mail.ru]
        MVP: Windows Server - Active Directory
          "Graham Prentice" <gprentice_@_oakville.ca> wrote in message
    news:#KJ56eShEHA.3548@TK2MSFTNGP09.phx.gbl...
          We have a machine 'A'.  When a user logs into 'A', he should belong to
          'A-group'.
          If that user logs into machine 'B' he should now be in 'B-group' (but
    no
          longer a member of 'A-group')
          Any idea how to do this?  I've got Win2k3 server and WinXPe clients
    (thin
          clients)
          This is necessary to run an application on the terminal server that
    depends
          on which workstation the user is logged into.
          Logon script perhaps? Local to the machine or in Active Dir?
          Graham
    

  • Next message: Kerry Hoskin: "Re: XP SP2 ADM File-Related Fixes Available From PSS"

    Relevant Pages

    • RE: file share migration
      ... migrate local groups from one server to another. ... You are right that the File Server Migration Wizard does not support ... MSVR-Migrator Key Benefits ...
      (microsoft.public.windows.server.migration)
    • Re: Server 2003
      ... So if the user logs onto another computer and tries to access the ... problem workstation can access one of the other workstation's printers. ... I even used the change network id wizard to create a new ... but the server files are still not fully accesible. ...
      (microsoft.public.windows.server.general)
    • Re: Quick Question - Whats the differance. . .
      ... > Local Groups are assigned access to resources ... > As already mentioned Server local groups can only be used to grant access ... > resources that are local to that Server, and can contain users or groups ... > where server owners/Domain Administrators are one and the same, ...
      (microsoft.public.windows.server.active_directory)
    • Re: Windows XP slow when not connected to corporate LAN
      ... When a user logs on from home effectively all of the users settings such as ... desktop icons have to be transported from the domain server to the PC and it ... > the company network and when connected to the company LAN or not connected ... Windows responds in normal fashion. ...
      (microsoft.public.windowsxp.network_web)
    • Re: Local authentication errors on Windows 2003 Server
      ... Is this server a domain controller?? ... permissions to the share or access this computer from the network user ... The support tool gpresult or whoami will show group membership. ... Unable to open the GPO due to access denied. ...
      (microsoft.public.windows.server.security)