• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 535
  • Last Modified:

delprof for winxp

Is there another version of delprof for winxp?  The old version does not delete the folders in documents and settings folder.  
0
aa799
Asked:
aa799
  • 7
  • 4
  • 2
  • +2
1 Solution
 
jmiller47Commented:
Not at this point. I would imagine that it would be in the Windows .NET Resource kit tools which is not out yet. The documentation is, but not the tools.
0
 
CyberWizardCommented:
which version are you using?
if you use the version which comes with the windows 2000 resource kit that will also be able to delete those folders since windows xp documents and settings is derived from windows 2000 technology...

regards,

CyberWizard
0
 
aa799Author Commented:
I'm using version 5.0.2134.1.
It will work if you are logged on as an Admin and click and run it, but it will not work if you schedule a task for it.  I schedule it to execute everytime the computer boots up (run as admin).  It seems to delete the registry keys but not the folders in 'documents and settings'.  It works fine in win2000 as a scheduled task but not in winxp.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
CyberWizardCommented:
what's in your C:\Windows\SchedLgU.txt ?
anything in your event log that's relevant?

why do you want to remove them, is it because you are using roaming users and their settings are cached on your pc?

if so use the following tweak to disable caching of roaming profiles:

If this settings is enabled, when users with roaming profiles log off, the system will delete the cached copy of their roaming profile. This will help to save disk space where that are lots of roaming users.

Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Value Name: DeleteRoamingCache
Data Type: REG_DWORD
Data: (0 = disabled, 1 = enabled)
0
 
CyberWizardCommented:
not sure if this works for windows xp though.
regards,

CyberWizard
0
 
aa799Author Commented:
"delprof.job" (delprof.cmd)
     Started 7/30/2002 4:00:38 AM
"delprof.job" (delprof.cmd)
     Finished 7/30/2002 4:00:38 AM
     Result: The task completed with an exit code of (0).

that's what is the log.

The reason I want to delete the profiles is that i have a lab that multiple user use.  For space reasons, the people above me won't set up romming user profiles.  So to keep the computers from running out of space, I want to delete the profiles everytime the computer starts up
0
 
CyberWizardCommented:
I've got just the program you would like, I actually found this as being a novell Coolsolution.

there is a tool that will remove those leftover profiles, it's called deluser:

http://www.cae.wisc.edu/~micro/deluser/

but I also see an interesting comment:

In order for Deluser to function correctly, the user running it should have "Administrator" privileges. It is possible to gain some functionality when running it from an account with "Account Operator" privileges however, deluser will be unable to take ownership of profile directories and enumerate all active processes. Use at your own risk!

about those profile directories and their rights, this could be the problem with the delprof program?
can you check if a rights issue is the case here?


so but another question comes to mind, you are deleting profiles that are not stored anyware else, why not create a standard login profile so only one profile will be on the pc?
0
 
CyberWizardCommented:
also an idea would be to make this one profile a mandatory profile:

A mandatory user profile, which is a roaming profiles that can be used to specify particular settings for individuals or an entire group of users. Only system administrators can make changes to mandatory user profiles.
0
 
jmiller47Commented:
I don't know if this is what you want. If it is, great!

I am thinking that what this does is ONLY delete local user accounts. It does not seem that is deletes local profiles of users. Just make sure you know what it does before you accidentally delete a user.

I hope it work for ya!
0
 
aa799Author Commented:
I can't do just one profile because i'm at a University and for security reasons users must login with there own id and pass.  I tryied the deluser and that didn't seem to work.  Looks like it deleted the registry entry but not the folder.  
0
 
CyberWizardCommented:
have you added the ability to run as a batch job and the run as a service rights to the user which the task is submitted under (is this admin also?)

and sure the rights issue is not a problem here?

regards,

CW
0
 
aa799Author Commented:
not sure what you mean.  I ran  deluser from the command propt under the admin account.  The folders of all users still are present.  I also tried task scheduling it (run as admin), and that didn't seem to work either.  
0
 
jonnyz0109Commented:
aa799,
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: PAQ/Refund

Please leave any comments here within 7 days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

jonnyz0109
EE Cleanup Volunteer
0
 
CyberWizardCommented:
irony is I've now got a better answer.

aa799, if you're still active post a comment here and I'll explain what to do...
(or if you solved it)
0
 
YensidModCommented:
Per recommendation.

YensidMod
EE Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 4
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now