Thread: Script

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Posts
    57
    Rep Power
    11

    Script


    Can someone help ?
    I am trying to write a programme which deletes windows 2000 user profile any help ?

    Thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Posts
    624
    Rep Power
    34
    Deleting the folder c:\documents and settings\username will clear a profile.

    The next time you log in, it will be recreated.

    This will not, of course, remove the user acount from the system/domain.
  4. #3
  5. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Mmm, surly there is another way to do this i.e. deleting a spacific file in this directory. Deleting the user account folder, even if it is surposed to be temporary sounds a little scary to me .

    Mark.
    programming language development: www.netytan.com Hula

  6. #4
  7. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    luckyboy,

    Perhaps you could describe the effect you are trying to achieve. Complete removal of a user from the system or just the deletion of settings?

    Grim
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Posts
    57
    Rep Power
    11
    Just deletion of settings
  10. #6
  11. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    So which settings are trying trying to delete? What is the problem you are trying to solve???

IMN logo majestic logo threadwatch logo seochat tools logo