+ Post New Thread
Results 1 to 10 of 10
Windows Thread, Deleting Roaming Profiles in Technical; Is there a way to delete all cached roaming profiles on all machines without visiting them and deleteing it manually. ...
  1. #1

    Join Date
    Feb 2008
    Posts
    79
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Deleting Roaming Profiles

    Is there a way to delete all cached roaming profiles on all machines without visiting them and deleteing it manually.

    ie Via a GPO or VBS script or batch file if anybody has one that will be great.

  2. #2

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741
    Quote Originally Posted by Neville View Post
    Is there a way to delete all cached roaming profiles on all machines without visiting them and deleteing it manually.

    ie Via a GPO or VBS script or batch file if anybody has one that will be great.
    Delprof:

    Checkout:

    http://www.microsoft.com/downloads/d...displaylang=en

    Delprof is also part of the Admin's Admin Bar - see below

  3. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,867
    Thank Post
    412
    Thanked 778 Times in 651 Posts
    Rep Power
    183
    Once you've cleaned them, the User Profile Hive Cleanup Service is handy for keeping them off. Basically you configure group policy not to keep the profiles on disk, and then the UPHCS stops anything in them being in use and therefore not removable when the user logs off. No more profiles lying around on heavily roaming machines!

  4. #4

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    Be careful with delprof if you have laptops (for example) and wish users to use a local account away from the domain. Delprof deletes all profiles in the C:\Documents and Settings directory!

  5. #5
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,225
    Thank Post
    396
    Thanked 279 Times in 240 Posts
    Rep Power
    75
    I haven't used Delprof we use a vb script to delete profiles. Can you exclude certain profiles from being deleted with delprof?

    Cheers.

  6. #6

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741
    Quote Originally Posted by cookie_monster View Post
    I haven't used Delprof we use a vb script to delete profiles. Can you exclude certain profiles from being deleted with delprof?

    Cheers.
    You can in regards to days of inactivity on the profile. Use the /d switch for that. Type delprof /? for a list of other switches.

  7. #7
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,225
    Thank Post
    396
    Thanked 279 Times in 240 Posts
    Rep Power
    75
    Do you have to install it on each station of can it be called from a share e.g netlogon using a script?

    Thanks.

  8. #8
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,037
    Thank Post
    157
    Thanked 60 Times in 48 Posts
    Rep Power
    31
    Delprof is also part of the Admin's Admin Bar - see below
    has anyone got a link to this apart from mattx, i get a lovely "access denied by smartfilter - personal pages" error.

    dezt

  9. #9

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    Yes you can:

    Code:
    \\SERVERNAME\netlogon\tools\delprof.exe /p
    Code:
    H:\>delprof /?
    Microsoft(R) Windows (R) 2000 Operating System User Profile Deletion Utility v5.
    00
    Copyright (C) Microsoft Corp. 1981-1999
    
    This utility deletes Windows NT and Windows 2000 user profiles.
    
    usage:  DELPROF [/Q] [/I] [/P] [/C:\\<computername>] [/D:<days>]
    
            /Q      Quiet, no confirmation.
            /I      Ignore errors and continue deleting.
            /P      Prompts for confirmation before deleting each profile.
            /C      Remote computer name.
            /D      Number of days of inactivity.

  10. Thanks to Michael from:

    cookie_monster (11th March 2008)

  11. #10

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741
    Quote Originally Posted by dezt View Post
    has anyone got a link to this apart from mattx, i get a lovely "access denied by smartfilter - personal pages" error.

    dezt
    PM me with your e-mail addy and I'll mail it to you.....



SHARE:
+ Post New Thread

Similar Threads

  1. Deleting Local Profiles
    By Mr_M_Cox in forum Windows
    Replies: 43
    Last Post: 17th March 2009, 03:02 PM
  2. Replies: 2
    Last Post: 22nd February 2008, 05:03 PM
  3. Replies: 17
    Last Post: 14th December 2006, 02:52 PM
  4. Deleting profiles on server
    By pinemarten in forum General Chat
    Replies: 4
    Last Post: 29th August 2006, 09:44 PM
  5. Deleting User Profiles
    By Gordie in forum Scripts
    Replies: 4
    Last Post: 19th June 2006, 04:41 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
  •