Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

delprof for winxp

Posted on 2002-07-30
15
525 Views
Last Modified: 2011-10-03
Is there another version of delprof for winxp?  The old version does not delete the folders in documents and settings folder.  
0
Comment
Question by:aa799
  • 7
  • 4
  • 2
  • +2
15 Comments
 
LVL 7

Expert Comment

by:jmiller47
ID: 7189316
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
 
LVL 4

Expert Comment

by:CyberWizard
ID: 7190977
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
 

Author Comment

by:aa799
ID: 7191053
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 4

Expert Comment

by:CyberWizard
ID: 7191145
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
 
LVL 4

Expert Comment

by:CyberWizard
ID: 7191163
not sure if this works for windows xp though.
regards,

CyberWizard
0
 

Author Comment

by:aa799
ID: 7191631
"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
 
LVL 4

Expert Comment

by:CyberWizard
ID: 7191656
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
 
LVL 4

Expert Comment

by:CyberWizard
ID: 7191678
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
 
LVL 7

Expert Comment

by:jmiller47
ID: 7191693
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
 

Author Comment

by:aa799
ID: 7191868
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
 
LVL 4

Expert Comment

by:CyberWizard
ID: 7191879
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
 

Author Comment

by:aa799
ID: 7191924
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
 
LVL 4

Expert Comment

by:jonnyz0109
ID: 8711576
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
 
LVL 4

Expert Comment

by:CyberWizard
ID: 8713285
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
 

Accepted Solution

by:
YensidMod earned 0 total points
ID: 8763239
Per recommendation.

YensidMod
EE Moderator
0

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question