Lock down all users except the Administrator

  • Thread starter Thread starter Nelson Arroyo
  • Start date Start date
N

Nelson Arroyo

I would like to lock down all users except the
administrator account in windows xp.
 
Is this Windows XP Home or Professional?

What do you mean by "lock down" ? What is it you want to prevent them from
doing?
 
Hoping you meant Lock Down = Disable then you can execute the folowing
command on a dos prompt to remove the specified user ids from "Users" group.

net localgroup Users USERID /delete

where USERID is the id of the user to be disabled.

To see which users are part of the group "Users" you can do this:

net localgroup Users

To remove user ids from "Administrators" and "Power Users" group execute
command such as:

net localgroup "Power Users" USERID /delete
net localgroup Administrators USERID /delete

(dont do this with your own id, or else...)

A user not in any of the local groups wont be able to use the computer.

To re-enable a user, all you need is to add the back in

net localgroup Users USERID /add
 
Just to clarify, the command shown in this post
net localgroup Users USERID /delete
will remove the USERID account from being a member
of the Users group.
It does not disable the account, although it somewhat
cripples it. Due to the membership in Users of the two
predefineds, Authenticated Users and Interactive, the
account most often will still be effectively a Users member.

Using the command
net user USERID /active:no
will disable the local account named USERID, but this will
leave that account otherwise unchanged.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top