Evening!
Got a problem where DelProf isnt removing all profiles left over in C:\documents and settings, we are using roaming profiles, people are complaining also that the computers are taking an age to startup...
Anybody encoutered this? OK My setup is like this...
Running Startup Script linking to a .bat which runs:
\\server\netlogon\delprof.exe /Q /I
Am i doing this wrong?
Ta, Mart
It can take a fair while to delete multiple profiles - I run mine as a shutdown script instead via group policy. That way it doesn't get in the way in the mornings....
Yeh thats not a bad idea...
but my question is delprof isnt getting rid of all the profiles...its just displaying the logon box and i have a look in c:\documents and settings and theres some still there :S
Use the other tool as well the user profile hive cleanup tool to make sure things as released properly. I run on startup and shutdown.

Are the profiles that are still there also listed in the System->advanced->user profiles section of control panel? If not, then that's why as delprof I think uses this list to delete the profiles.
If so, can you delete them manually from this list by selecting the profile and clicking delete?
What happens when you run it manually from command prompt? Do you get any errors??
Mike.
Deploy it and forget it. I think it leaves entries in the event log if you want to check it.
I found this too. With the testing I did I found that if a user logged out correctly then delprof worked. However if the user did not logout say they reset the computer then it did not work when it was eventually run. I am sure that I checked and noticed a list of users in the registry (don't remember the key) and these were the ones deleted.
My fix was to have a script which used delprof to delete the profiles it could as well as the registry entries. It then when on to delete all pupil and staff accounts, fortunately this is easy, students always start with 2 digits and staff were always 3 letters. I too run this script as part of the shutdown, that way there is less impact on the users. The shutdown script also runs as SYSTEM so can do just about anything you want.
Steve.
There are currently 1 users browsing this thread. (0 members and 1 guests)