andyturpie Posted August 9, 2012 Posted August 9, 2012 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
Quackers Posted August 9, 2012 Posted August 9, 2012 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? 1
bossman Posted August 9, 2012 Posted August 9, 2012 @andyturpie: look here http://www.edugeek.net/forums/windows-7/75098-delprof2-unofficial-successor-microsoft-s-delprof-user-profile-deletion-tool.html You should be able to wrap this up and package as CC4 Good luck 1
sparkeh Posted August 9, 2012 Posted August 9, 2012 How does delprof2 go about deleting profiles, from Vista upwards you can't just delete profiles in the old way?
andyturpie Posted August 9, 2012 Author Posted August 9, 2012 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!
Edu-IT Posted August 9, 2012 Posted August 9, 2012 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.
randle Posted August 9, 2012 Posted August 9, 2012 (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 August 9, 2012 by randle 1
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