Windows Thread, Delprof not Deleting all Local Profiles - Why? in Technical; [b]I have installed both the Hive Cleanup and Delprof on my client systems (running W2K and/or XP Pro) with Delprof ...
-
4th December 2006, 02:14 AM #1
- Rep Power
- 0
Delprof not Deleting all Local Profiles - Why?
[b]I have installed both the Hive Cleanup and Delprof on my client systems (running W2K and/or XP Pro) with Delprof set up to run when someone logs on to the system (running through scheduled tasks). For most of the systems, it seems to be working well, but on some systems (especially XP pro clients), it isn't removing all the profiles of other students. Any suggestions as to why and what I need to do to get deprof to work properly?
I also need to know what the add-ons (/i; /r; /d; etc.) mean (I know what /q means - runs quietly.
Footnote: I have looked at the Remote Profile Cleaner, unfortunately, you apparently have to pay for a license to use it beyond 2 months, even though it is listed/promoted as free. I would really like to use it....
Behuck
-
-
IDG Tech News
-
4th December 2006, 10:48 AM #2 Re: Delprof not Deleting all Local Profiles - Why?
First of all, are you using roaming/mandatory profiles or just local profiles? This page will give you the syntax for the various parameters. I always run Delprof from a Startup script which ensures nobody is logged on (except System I suppose) when it runs.
-
-
4th December 2006, 11:22 AM #3 Re: Delprof not Deleting all Local Profiles - Why?
Footnote: I have looked at the Remote Profile Cleaner, unfortunately, you apparently have to pay for a license to use it beyond 2 months, even though it is listed/promoted as free. I would really like to use it....
It's only 20 quid!
-
-
4th December 2006, 11:23 AM #4 Re: Delprof not Deleting all Local Profiles - Why?
IIRC you need to run delprof from a startup script so that it has sufficient priviledges to clean up the profiles. It also makes sure that Windows hasn't locked any of the profiles... like it tends to do for no apparent reason (other than to pee you off!).
I would add the following to a startup script:
This runs delprof, ignoring any errors... by default delprof will stop running if an error occurs (e.g. a profile is locked in use).
Another handy switch is /c:<computername> which allows you to run delprof remotely on a computer. There are issues with this but it works OK.
-
-
4th December 2006, 11:38 AM #5 Re: Delprof not Deleting all Local Profiles - Why?
Is that remote profile cleaner from:
http://www.no-nonsens.nl/
Or somewhere else?
$45 for a single non server licence.
Single server is $199 unlimited server $379
Ben
-
-
4th December 2006, 11:58 AM #6 Re: Delprof not Deleting all Local Profiles - Why?
Firstly, the prices are in Euros. Sencondly you don't need a server license. You can run and do everything you need to do with a workstation license.
You can also cheat and download the beta, which has no restrictions.
-
-
4th December 2006, 12:08 PM #7 Re: Delprof not Deleting all Local Profiles - Why?
Euros dollars currency 
If you had more than one machine using your 1 machine licence to clean up it's profiles then presumably that would be against the licencing terms.
Ben
-
-
4th December 2006, 06:40 PM #8 Re: Delprof not Deleting all Local Profiles - Why?
I have a vbscript that runs in a Computer Config>scripts>start up. It deletes all local profiles apart from Administrator and All Users.
We run it now and then to clear up any rogue profiles left behind. I have set GPO to delte and roaming profiles on log off but you always get the odd one left on if the kids have just turned the pc off at the wall etc.
PM me if you want a copy.
-
-
4th December 2006, 10:39 PM #9 Re: Delprof not Deleting all Local Profiles - Why?
that sounds really good is it possable i can have a lok please would love to use it myself
-
-
5th December 2006, 04:35 PM #10
- Rep Power
- 0
Re: Delprof not Deleting all Local Profiles - Why?
THX to everyone who responded - very much appreciated!
I have tried adding the /d:nn switch to delprof, unfortunately on some XP boxes, it still does not remove the local profiles. So, I'm still searching for a reason as to why this happens when delprof is suppose to remove all the local profiles.
As to purchasing the Remote Profile Cleaner software - I'm not a cheap individual, but I work for a school district that is struggling for funding of any kind for technology, so I look for whatever I can that would be free. I'm sure that the RPC software is well worth the money.
I haven't tried any logon script yet with delprof as I'm not very good at writing scripts, so any asistance on any of the above would be again appreicated.
Behuck
-
-
13th December 2006, 10:17 PM #11
- Rep Power
- 0
Re: Delprof not Deleting all Local Profiles - Why?
reboot the machines in question, then run delprof again. I've run into the same boat, and a reboot fixed my issues.
-
-
13th December 2006, 10:18 PM #12
- Rep Power
- 0
Re: Delprof not Deleting all Local Profiles - Why?
BUT!!
How do you get it to run on a domain? Anyone have a script which runs it on multiple pcs within a domain? I have 365 machines to run it on
-
-
13th December 2006, 10:37 PM #13 Re: Delprof not Deleting all Local Profiles - Why?
Put it as a startup and shutdown script as suggested.
-
-
13th December 2006, 11:07 PM #14
- Rep Power
- 0
Re: Delprof not Deleting all Local Profiles - Why?
Well, what if I want to run it as a bat on occassion? I tried running a bat using this:
start c:\delprof /q /i /c:\\102CPC1
start c:\delprof /q /i /c:\\105PPC1
start c:\delprof /q /i /c:\\106SPC1
start c:\delprof /q /i /c:\\107BPC1
start c:\delprof /q /i /c:\\A10PC1
start c:\delprof /q /i /c:\\A10PC2
start c:\delprof /q /i /c:\\A10PC3
etc.....
But, it didnt do a delprof on all the PCs. A bunch of CMD windows popped up, but it only did a PC at the end of the run. What am I missing?
Also, these are all profiles with redirected folders. The roaming profile delete profile GPO I dont think will work for me.....
-
-
13th December 2006, 11:35 PM #15 Re: Delprof not Deleting all Local Profiles - Why?
When I did this for the first time a few years ago I used psexec from sysinternals to do it. I know they have changed the licencing as they have gone to work for M$ now so I would check if its still ok to use it in that capacity as a free tool.
-
SHARE:
Similar Threads
-
By Mr_M_Cox in forum Windows
Replies: 44
Last Post: 17th March 2009, 03:02 PM
-
By mac_shinobi in forum Scripts
Replies: 25
Last Post: 13th June 2007, 08:14 PM
-
By pinemarten in forum General Chat
Replies: 4
Last Post: 29th August 2006, 08:44 PM
-
By Gordie in forum Scripts
Replies: 4
Last Post: 19th June 2006, 03:41 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules