DelLocalWinUser
Novell Cool Solutions: Cool Tool
Reader Rating
from 5 ratings
In Brief
Clean up local Windows user accounts (profile directory and SAM) from the command line.
Vitals
- Product Categories:
- Novell Client
- Functional Categories:
- User Management
- Windows
| Updated: | 17 Nov 2005 |
| File Size: | 567KB |
| License: | Free |
| Download: | /coolsolutions/tools/downloads/del_local_win_user.zip |
| Publisher: | Bryan Keadle |
Disclaimer
Please read the note from our friends in legal before using this file.
Details
Similar to this Windows user accounts cleanup tool: http://www.novell.com/coolsolutions/tools/14441.html
This utility, DelLocalWinUser.exe (Delete Local Windows User) is a manual utility that enables you to clean up local Windows user accounts (profile directory and SAM) from the command line.
A common and unique feature of this utility is the ability to delete all local account that haven't been used for a number of days.
DelLocalWinUser * 30
This is handy for keeping shared-use computers from getting clogged with old, unused accounts.
SYNTAX: DELLOCALWINUSER (username / *) (Days_old) (QUIET)
Username - Name of local account to delete
* - if wildcard specified, delete all local accounts
according to number of days old specified as a
second parameter, excluding accounts listed in
an exlude list file, DELLOCALWINUSER.EXCLUDE,
and the following hard-coded accounts:
Administrator
*STDLoad
DEFAULT USER
standalone
*NT AUTHORITY
__VMWARE_USER__
ASPNET
10/17/05 Update: AUTHOR NOTE UPDATE
This update addresses the issue with bombing out on names with apostrophes.
One could run this as a service using the SRVANY tool from Microsoft.
This would need to be run as an Administrator-level account. Could use the RUNAS.EXE utility to launch DelLocalWinUser as an Admin-level account.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
Reader Comments
- very useful! haven't tried the time limit yet, but the basic functionality works like a charm!
- Is there a way to run this as a windows service?
- Excellent utility!! Will lock out all other accounts locally until user logs onto network from workstation.
- Works well when run from an administrator login. Despite a fair amount of experimentation, I cannot run properly from an ordinary user login. It does not cope with account names such as O'BRIEN containing an apostrophe and rather than continuing to delete , bonbs out the whole process with an error message.
- Cool!