SCCMTSPSI
  • Task Sequence UI
  • Documentation
  • Download
  • SCCM Reports & Tools
    • Software Updates Dashboard
    • Monthly Software Update Compliance SSRS Report
  • Get in touch
    Sign in
    SCCMTSPSI
    SCCMTSPSI
    • Task Sequence UI
    • Documentation
    • Download
    • SCCM Reports & Tools
      • Software Updates Dashboard
      • Monthly Software Update Compliance SSRS Report
    • Get in touch

    Category: Active Directory

    Add / remove current computer system to/from an Active Directory security group

    This command line application helps in adding or removing the current computer system to a Active Directory group. Syntax: The following command will add the computer to…

    Roddy Gelberty 30 April 2020
    1 Comment

    Command line application to add / remove the current user to a AD group.

    Command line application to add / remove the current user to a AD group. This command line application helps in adding or removing the current user to…

    Roddy Gelberty 30 April 2020
    0 Comments

    © 2023 - osd365 limited

    Forum Description

    Command line application to add / remove the current user to a AD group. This command line application helps in adding or removing the current user to a Active Directory group. Syntax: The following command will add the current user to the AD group "My-AD-Group"
    User2ADGroup.exe Add My-AD-Group
    The following command will remove the current user from the AD group "My-AD-Group"
    User2ADGroup.exe Remove My-AD-Group
    Usage: This application can be used with login scripts to add/remove the system from Active Directory groups. It can be used in SCCM packages and Applications running in user context to add/remove the user from Active Directory groups based on conditions. It can be run on a command line in an interactive prompt in the user context. Cannot be run in system context While running as user should have permissions to add remove user objects to the group. Set permissions for "Domain Users" for the AD group to "Read" and "Add remove self as member".

    Download Here