Jump to content

Recommended Posts

Posted

Morning,

 

Just new to CC4 this week (migrated) and on CC3 we had a package which was deployed out every so often to run delprof.exe on workstation startup. We are now majority of Win7proSP1 machines and was wondering if delprof would still run or if there is another little package available?

 

Cheers

Posted

Delprof only supported Windows XP (Maybe 2000 as well), came with the Server 2003 Resource Kit, Microsoft changed things so that in Windows 7 you use the follow Group Policy

 

Computer Configuration->Administrative Templates->System->User Profiles->Delete User Profiles older than a

specified number of days

 

Guessing CC4 still allows you do Standard Windows group polices? or maybe RM already control this setting from an option in the RM Management Console somewhere?

  • Thanks 1
Posted
Thanks for the feedback, I have located the registery policies for orphan profiles. I have set every shared device to delete profiles every 5 days will monitor this and if there is no joy, I will look at delprof2. Cheers!
Posted
I thought that was something in RM CC4 that already managed this....? I'm pretty sure you control it within the registry settings of RMMC.
Posted (edited)

CC4 does use the Windows built in profile cleanup mechanism but doesn't appear to be very consistent

 

You can configure delprof2 to do this by dropping the delprof2.exe to your "\\%LogonServer%\Netlogon" folder and creating a startup script with the following content:

 

net start lanmanserver

net start lanmanworkstation

"\\YourDomain.INTERNAL\netlogon\DelProf2.exe" /i /u /d:7 /ntuserini /ed:ABC* /ed:RM* /ed:Default >c:\delprof2.log 2>&1

 

The expalanation for the syntax can be found on the site. but basically this is deleting profiles older than 7 days using the ntuserini stamp which doesn't get modified by AV solutions during client scans and excludes any directories starting with ABC (your three letter site code), RM or Default and then drops a log of this in the root of C: for troubleshooting purposes

 

@sparkeh: delprof2 deletes all folders/files/registry components required to remove a profile fully within Windows

 

The script doesn't really need to have a smiley face in it to run, it's meant to be "/ed: Default" without the space however it may make it work even better with this.....I haven't tried ;)

Edited by randle
  • Thanks 1

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