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.
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

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!

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!
I haven't used Delprof we use a vb script to delete profiles. Can you exclude certain profiles from being deleted with delprof?
Cheers.
Do you have to install it on each station of can it be called from a share e.g netlogon using a script?
Thanks.
has anyone got a link to this apart from mattx, i get a lovely "access denied by smartfilter - personal pages" error.Delprof is also part of the Admin's Admin Bar - see below
dezt

Yes you can:
Code:\\SERVERNAME\netlogon\tools\delprof.exe /pCode: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.
cookie_monster (11th March 2008)
There are currently 1 users browsing this thread. (0 members and 1 guests)