Sign in to follow this  
Followers 0
5t0n3r

Create users in AD along with custom folders

5 posts in this topic

I am NOT, and I stress NOT, a programmer or very good scripter, but I can modify most scripts to get the desired result.

I am however at a loss on this script. I don't even know where to begin, or how to get it to the GUI stage once I do get the underlying functions working.

Any help getting started would be great, and very much appreciated.

Here's what I am looking to accomplish.

1) Ability to add users into Windows Active Directory based on templates stored in an OU, with basic information.

- home folder (connect)

- terminal services user profile

- terminal services home folder (connect)

- organization info

2) After user is created;

- create/share home folder and assign rights for the user to it

- create/share terminal services folder and assign rights to it

3) GUI front-end to manage all of this.

I'm basically asking someone to write the basics of this for me. I don't know enough to start it, but once it's there I should be able to continue on with it.

I would like to do this without having to use our current method of manually creating the user and then running VBS scripts that make and set permissions for the folders.

Thank you for any help you can provide.

Share this post


Link to post
Share on other sites



For the required Active Directory functions there is a UDF (User Defined Functions) available (please see my signature) that lets you create a user and set the required properties.

I'm not sure if you'll find someone that writes all the code for you.

But did you search the forum? There are some example scripts with GUI available.

I would recommend to first write the AD and Directory functions, test them and afterwards write the GUI.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

I was afraid you'd say that. :blink:

Thanks for the UDF, I'm sure it'll help.

I'll give it my best, but like I said, I'm no programmer. This could be a lifetime project for me. LOL

Share this post


Link to post
Share on other sites

You can try using Koda to create the GUI form then tweak the generated code to use your back-end script.

Share this post


Link to post
Share on other sites

I was afraid you'd say that. :blink:

Thanks for the UDF, I'm sure it'll help.

I'll give it my best, but like I said, I'm no programmer. This could be a lifetime project for me. LOL

The part I can help most is with the AD stuff.

I would suggest to write a function that creates a user using _AD_CreateUser.

If you run into problems please post the code and the messages you get.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0