Results 1 to 4 of 4

Thread: [2008] Add/Remove Computers from Active Directory groups?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Posts
    3

    [2008] Add/Remove Computers from Active Directory groups?

    My workplace uses an AD-based software deployment system. It works like this:

    1) User requests software
    2) IT dept adds the user's computer name to a designated AD group. One group exists for each piece of software the company uses.
    3) Software is auto-installed upon next reboot

    I am considering writing a small app to interact with AD. I was thinking of including a drop-down list with the names of all the software packages, and a text entry box in which the computer's name would be entered, with a "submit" button or something similar. I would like this app to be able to add the specified computer name to the software package's AD group.

    Would this be possible using VB?

  2. #2

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Posts
    3

    Re: [2008] Add/Remove Computers from Active Directory groups?

    Not sure how to mark this thread as resolved.

    I did some searching and found the answer to my question here:

    http://activexperts.com/activmonitor...ectory/groups/

  3. #3
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: [2008] Add/Remove Computers from Active Directory groups?

    To mark a thread as resolved you go to the Thread Tools menu at the top of the first post and choose the bottom option

    But - the link you posted only seems to provide vbscript examples and if you want text boxes etc and a proper interface to this app then you are going to be dissapointed with a vbscript. Have you got any VB.NET programming experience at all? I wrote a program not long ago (command line though) that adds/removes users from groups and distribution lists (http://www.cjwdev.co.uk/DLManageInfo.html) so I could probably write something to do what you mentioned fairly easily but I dont really want to just write your program for you... if you can at least make a start and post any questions you have then I dont mind helping as much as I can
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Posts
    3

    Re: [2008] Add/Remove Computers from Active Directory groups?

    Thanks for the help! I will get to work on the project and may ask you for help at some point if I get stuck

    I took a quick look at your website. I also was often in the situation of trying to VNC to a user without VNC server installed... I wrote a simple command-line tool which used psexec to silently install the service on the client's PC.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width