Question Locked

Unwanted Profiles

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking at running a vb script at startup to delete all profiles on a machine except Administrator, All Users, Default User, and 2 custom user accounts (user and oasdguest). Anyone have any ideas? Basically, when the login screen comes up, the only user profiles I want to exist are Administrator, All Users, Default User, user, and oasdguest.

I am running Windows XP SP2 Professional in a Windows Server 2003 domain.

I have been looking online for quite awhile, but have had no luck.

Thanks.

3 replies

by vlape

Not exactly what you are looking for but you can create a batch file to use the command
net user {username} /delete.

hope this helps!!

This discussion is closed to new replies.