+ Post New Thread
Results 1 to 11 of 11
Windows Server 2000/2003 Thread, to delete each local user profile on logoff or something? in Technical; Hello all. I am responsible for supporting 200+ PC users, all of which are using Windows XP Pro machines in ...
  1. #1
    shinewaters's Avatar
    Join Date
    Dec 2010
    Location
    Kent
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    to delete each local user profile on logoff or something?

    Hello all.

    I am responsible for supporting 200+ PC users, all of which are using Windows XP Pro machines in a server 2003-based network. Most of the machines are used by different users every day, meaning that several hundred local profiles build up over time, filling up the hard drive. We do not use roaming profiles for these users.

    Is there any way of employing a policy (preferably Group rather than Local) to delete each local user profile on logoff or something? This would save me manually deleting these profiles periodically! I always keep the Default User, All Users, and the admin profiles, just delete the users' ones.


    can any one help !!!

    Steve

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,580
    Thank Post
    723
    Thanked 1,684 Times in 1,499 Posts
    Rep Power
    432
    Delprof or Delprof2

    Ben

  3. #3

    Join Date
    Feb 2007
    Location
    Wolverhampton
    Posts
    331
    Thank Post
    18
    Thanked 35 Times in 33 Posts
    Rep Power
    21
    i second delprof2 on startup

  4. #4

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,765
    Thank Post
    873
    Thanked 673 Times in 442 Posts
    Rep Power
    502
    Add users to Domain Guests - it'll automatically remove the profile when they logout.

  5. #5

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    There is a GPO setting to delete profiles at logoff, but in practice it tends to leave lots of typically empty profile folders behind. I imagine XP cleans up the profile but some sluggish/irksome app or other stops it cleaning up properly.

    Another vote for delprof2 @ computer startup.

  6. #6

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,765
    Thank Post
    873
    Thanked 673 Times in 442 Posts
    Rep Power
    502
    Quote Originally Posted by PiqueABoo View Post
    There is a GPO setting to delete profiles at logoff, but in practice it tends to leave lots of typically empty profile folders behind. I imagine XP cleans up the profile but some sluggish/irksome app or other stops it cleaning up properly.

    Another vote for delprof2 @ computer startup.
    The GPO only works for Roaming profiles, which the OP isn't using...

  7. #7

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    Oh, sorry misssed that.. but do you not get the same kind of issue (imperfect deletion) with that Guest User profile deletion?

  8. #8

    witch's Avatar
    Join Date
    Nov 2005
    Location
    Dorset
    Posts
    11,201
    Thank Post
    1,454
    Thanked 2,513 Times in 1,750 Posts
    Rep Power
    755
    I thought Delprof2 was for windows 7? I have delprof running on my XP machines and it works a treat

  9. #9

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,239
    Thank Post
    882
    Thanked 2,742 Times in 2,316 Posts
    Blog Entries
    11
    Rep Power
    784
    As above, delprof2 which is newer and better than delprof plus will work if you end up upgrading to Windows 7.

  10. #10

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,580
    Thank Post
    723
    Thanked 1,684 Times in 1,499 Posts
    Rep Power
    432
    Quote Originally Posted by witch View Post
    I thought Delprof2 was for windows 7? I have delprof running on my XP machines and it works a treat
    Yes you can use the original delprof on xp but delprof2 which is a completely different product has more options and works on xp as well as 7 etc...

    Ben

  11. Thanks to plexer from:

    witch (19th May 2012)

  12. #11
    bondbill2k2's Avatar
    Join Date
    Jan 2011
    Location
    West Midlands
    Posts
    1,015
    Thank Post
    81
    Thanked 66 Times in 51 Posts
    Blog Entries
    2
    Rep Power
    42
    Using batch to delprof with /f parameter here works a treat, set it at shutdown so its not ran too often, long as it clears some and stops a large buildup! Careful when you first run it as you may have hundreds of local profiles built up and the script will take a long time to run in this case

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 18
    Last Post: 13th August 2012, 05:58 PM
  2. Script to delete all local user accounts
    By ihaveaproblem in forum Windows
    Replies: 4
    Last Post: 22nd July 2011, 07:45 AM
  3. Delete User profiles on local machines
    By martinb in forum How do you do....it?
    Replies: 2
    Last Post: 16th March 2010, 10:13 AM
  4. Delete Profile on LogOff
    By roland in forum How do you do....it?
    Replies: 11
    Last Post: 20th September 2007, 09:43 PM
  5. Script to create a local user on a XP box.
    By tosca925 in forum Scripts
    Replies: 3
    Last Post: 12th October 2005, 12:04 AM

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
  •