PC Review


Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average.

account management

 
 
Angel Tsankov
Guest
Posts: n/a
 
      29th Mar 2006
Using the command prompt how can I disable an account or remove it from a group?
 
Reply With Quote
 
 
 
 
Jerold Schulman
Guest
Posts: n/a
 
      30th Mar 2006
On Wed, 29 Mar 2006 18:19:02 +0300, "Angel Tsankov" <(E-Mail Removed)> wrote:

>Using the command prompt how can I disable an account or remove it from a group?


See tip 6820 » What are the new Active Directory command-line tools in Windows Server 2003?
in the 'Tips & Tricks' at http://www.jsifaq.com

To disable a user account:

dsmod user <UserDN> -disabled yes

To remove a user account from a group:

dsmod group <GroupDB> -rmmbr <UserDN>

OR

net user UserNamew /active:no /domain

net group "GroupName" "UserName" /del /domain

for a local group:

net localgroup "GroupName" "UserName" /del

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Reply With Quote
 
Michael Bednarek
Guest
Posts: n/a
 
      30th Mar 2006
On Wed, 29 Mar 2006 18:19:02 +0300, Angel Tsankov wrote in
microsoft.public.win2000.cmdprompt.admin:

>Using the command prompt how can I disable an account or remove it from a group?


Start with the NET command, e.g. NET HELP USER or NET HELP GROUP.

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
 
Reply With Quote
 
Roger Abell [MVP]
Guest
Posts: n/a
 
      3rd Apr 2006

"Michael Bednarek" <ROT13-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Wed, 29 Mar 2006 18:19:02 +0300, Angel Tsankov wrote in
> microsoft.public.win2000.cmdprompt.admin:
>
>>Using the command prompt how can I disable an account or remove it from a
>>group?

>
> Start with the NET command, e.g. NET HELP USER or NET HELP GROUP.
>


and
net help localgroup
for domain local groups instead of global groups


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User account missing in account management Neeidea Windows XP 1 24th Feb 2009 05:33 PM
Account Management Micah Windows XP Security 1 17th Mar 2004 08:51 AM
account management =?Utf-8?B?RGVycmVr?= Windows XP Help 0 8th Feb 2004 04:01 AM
Account Management jrf6576 \(removethis\) @verizon.net Windows XP New Users 1 2nd Dec 2003 10:50 PM
User Account Management /Password management???! Vince Microsoft Access Security 3 29th Sep 2003 08:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:00 PM.