+ Post New Thread
Results 1 to 4 of 4
Coding Thread, Profile Deleting / Automating School Stuff! in Coding and Web Development; I'm very new to any sort of coding so please be patient and ask any questions! I want to make ...
  1. #1

    Join Date
    Oct 2013
    Thank Post
    Thanked 0 Times in 0 Posts
    Rep Power

    Profile Deleting / Automating School Stuff!

    I'm very new to any sort of coding so please be patient and ask any questions!
    I want to make certain tasks a little easier at school and I think trying to code scripts or little programs could help me and I'm looking for the best language to learn / process to go about doing the following task.
    In my old school, we had some lovely software where you could do everything really easily so I know it can be done.

    Ideally it would have a GUI to make the process easier!

    Profile resets:

    1. Find where user's profile is kept by searching the AD for their logon name.
    2. Display details from A.D.
    3. Once found, give ownership to administrator/s.
    4. Delete OR re-name profile. (to be flushed out at a later date).

    Hope someone can give me some guidance on where to start.

  2. #2

    Join Date
    Feb 2014
    Thank Post
    Thanked 4 Times in 3 Posts
    Rep Power
    If you want a nice GUI and you are working with AD then I'd suggest Visual Studio and C#.

    Some examples that might help

    Everything in Active Directory via C#.NET 3.5 (Using System.DirectoryServices.AccountManagement) - CodeProject
    Querying and Updating Active Directory Using C# (C Sharp)

    Bear in mind that these things can quickly grow in scale, and what seems like a simple task can evolve into a larger project very easily!

  3. #3

    Join Date
    Nov 2010
    Thank Post
    Thanked 9 Times in 9 Posts
    Rep Power
    I have over the past year been working on a automated user management system in powershell/mysql/php that will run through pull everyone out of sims cross reference my aum database and then create accounts were required, profiles, documents, email, move users up a year in ad (ou) and file server folders and mail lists etc... this is then accessible through a web interface for my department to pull up login details. I also have a letter made so that we can just give it to new users with their login details and where everything is so we don't have to talk too much *timesaver*.

    No matter what you try to do with your script/program there is always more to improve and never enough time. It is nice when things work and it saves not only you but your colleagues time. If you want to do a gui interface then what I have done is probably not for you but if you want a backend task that works wonders I would go powershell all the way, quest ad powershell commandlets allow you to do more easily too. Many people have posted there scripts and such around the web (powergui) for example to get you started you can get a posted script and work it through to see how it works (commands and such).

    Before I start doing anything big I always draw it out on paper so I can plan each stage (you can't create a users home folder and give them ownership if the user doesn't exist yet, and you cant give a user a home folder if the homefolder doesn't exist as we use username$ for our homedrives).

    Hopefully some of the above will help, if you get stuck there is always someone that can help.

  4. #4
    jaminben's Avatar
    Join Date
    Oct 2012
    Thank Post
    Thanked 27 Times in 26 Posts
    Rep Power
    +1 for Visual Studio if you want a nice GUI but if your going basic then Powershell will probably be best. I find coding into the middle of the night can be quite addictive so be careful ��

+ Post New Thread

Similar Threads

  1. automate User profile deletion - Windows 7
    By LeightonJames in forum Scripts
    Replies: 4
    Last Post: 8th October 2013, 04:28 PM
  2. Replies: 6
    Last Post: 31st July 2008, 03:25 PM
  3. Replies: 7
    Last Post: 2nd May 2008, 11:09 AM
  4. User profile deletion, XP Pro
    By Sirbendy in forum Windows
    Replies: 7
    Last Post: 16th January 2006, 05:00 PM
  5. Profile Deletion - help!
    By mark in forum Windows
    Replies: 3
    Last Post: 29th November 2005, 04:40 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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