Jump to content

Recommended Posts

Posted

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.

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

Posted
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

Posted

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.

  • Thanks 1
Posted
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.....

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...