Neville Posted March 11, 2008 Posted March 11, 2008 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.
mattx Posted March 11, 2008 Posted March 11, 2008 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/details.aspx?familyid=901a9b95-6063-4462-8150-360394e98e1e&displaylang=en Delprof is also part of the Admin's Admin Bar - see below
powdarrmonkey Posted March 11, 2008 Posted March 11, 2008 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!
Michael Posted March 11, 2008 Posted March 11, 2008 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!
cookie_monster Posted March 11, 2008 Posted March 11, 2008 I haven't used Delprof we use a vb script to delete profiles. Can you exclude certain profiles from being deleted with delprof? Cheers.
mattx Posted March 11, 2008 Posted March 11, 2008 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.
cookie_monster Posted March 11, 2008 Posted March 11, 2008 Do you have to install it on each station of can it be called from a share e.g netlogon using a script? Thanks.
dezt Posted March 11, 2008 Posted March 11, 2008 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
Michael Posted March 11, 2008 Posted March 11, 2008 Yes you can: \\SERVERNAME\netlogon\tools\delprof.exe /p 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:\\] [/D:] /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. 1
mattx Posted March 11, 2008 Posted March 11, 2008 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.....
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now