+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Remote Remove Local Profile Accounts in Coding and Web Development; Hello, Wanting to clean up computers around the school with old user accounts and ones which may be corrupted. Is ...
  1. #1

    Join Date
    Oct 2013
    Location
    United Kingdom
    Posts
    36
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Remote Remove Local Profile Accounts

    Hello,

    Wanting to clean up computers around the school with old user accounts and ones which may be corrupted.

    Is there any script/software out there where I enter the Computer Name and the Username to remove and it will do it (Needs to be able to be ran remotely on the network).
    With this script to delete their profile in the Users Folder and also their Key in Regedit - ProfileList.

    Is there anything like this or similar as would save hours of my life.

    Thanks

  2. #2


    Join Date
    Sep 2008
    Posts
    1,858
    Thank Post
    354
    Thanked 264 Times in 216 Posts
    Rep Power
    121
    Take a look at delprof2.

  3. #3
    RobD's Avatar
    Join Date
    Mar 2007
    Posts
    121
    Thank Post
    0
    Thanked 9 Times in 9 Posts
    Rep Power
    17
    We run delprof2.exe via batch script attached to a GPO to remove old profiles.

    Code:
    @echo off
    \\SERVERSHARE\scripts\delprof\delprof2.exe /u

  4. #4
    Sephiroth's Avatar
    Join Date
    Mar 2009
    Location
    The Ninth Circle
    Posts
    120
    Thank Post
    11
    Thanked 23 Times in 22 Posts
    Rep Power
    22
    I use a powershell startup script:
    Code:
    $Profiles = gwmi -Class win32_UserProfile -Filter "RoamingConfigured='true'"
    Foreach ($Prof in $Profiles) {
        $Prof.psbase.Delete()
    }



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 12th August 2011, 12:17 PM
  2. Removing Local Profile Creation
    By itschad in forum How do you do....it?
    Replies: 3
    Last Post: 8th May 2009, 02:53 AM
  3. local admin account re-set remotely BULK
    By Gavinc in forum Windows
    Replies: 11
    Last Post: 18th December 2008, 09:32 PM
  4. removing locally cached profiles
    By browolf in forum Wireless Networks
    Replies: 7
    Last Post: 17th January 2008, 12:39 PM
  5. Deletion of local profiles on xp.
    By mac_shinobi in forum Scripts
    Replies: 25
    Last Post: 13th June 2007, 09:14 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
  •