+ 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
    26
    Thank Post
    0
    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,793
    Thank Post
    331
    Thanked 261 Times in 213 Posts
    Rep Power
    120
    Take a look at delprof2.

  3. #3
    RobD's Avatar
    Join Date
    Mar 2007
    Posts
    113
    Thank Post
    0
    Thanked 8 Times in 8 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
    110
    Thank Post
    11
    Thanked 20 Times in 20 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, 11:17 AM
  2. Removing Local Profile Creation
    By itschad in forum How do you do....it?
    Replies: 3
    Last Post: 8th May 2009, 01:53 AM
  3. local admin account re-set remotely BULK
    By Gavinc in forum Windows
    Replies: 11
    Last Post: 18th December 2008, 08:32 PM
  4. removing locally cached profiles
    By browolf in forum Wireless Networks
    Replies: 7
    Last Post: 17th January 2008, 11:39 AM
  5. Deletion of local profiles on xp.
    By mac_shinobi in forum Scripts
    Replies: 25
    Last Post: 13th June 2007, 08: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
  •