PC Review


Reply
 
 
Barny
Guest
Posts: n/a
 
      2nd Nov 2004
I would like to use dsrm to delete old computer accounts
from the domain/active directory. Say I have a computer
called ABC-PC in mydomain.com. If I try the following:

dsrm computer cn=abc-pc,dc=mydomain,dc=com -u
my_domain\myuserid

dsrm returns: "dsrm failed:Value for `Target object for
this command' has incorrect format."

What am I doing wrong?


 
Reply With Quote
 
 
 
 
Jerold Schulman
Guest
Posts: n/a
 
      3rd Nov 2004
On Tue, 2 Nov 2004 10:52:17 -0800, "Barny" <(E-Mail Removed)> wrote:

>I would like to use dsrm to delete old computer accounts
>from the domain/active directory. Say I have a computer
>called ABC-PC in mydomain.com. If I try the following:
>
>dsrm computer cn=abc-pc,dc=mydomain,dc=com -u
>my_domain\myuserid
>
>dsrm returns: "dsrm failed:Value for `Target object for
>this command' has incorrect format."
>
>What am I doing wrong?
>


You don't use computer. It knows what it is by the DN.

dsrm cn=abc-pc,dc=mydomain,dc=com -u
my_domain\myuserid



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
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
DSRM Password =?Utf-8?B?UmVuZWVDb2xvcmFkbw==?= Microsoft Windows 2000 Active Directory 1 27th Jun 2006 06:25 PM
C:\>dsquery computer -inactive 8 | dsrm - doesn't work =?Utf-8?B?QWxleGV5IFpoaWxlbmtv?= Microsoft Windows 2000 Active Directory 10 17th Oct 2005 07:13 AM
Re: Can't get DSRM utility to work Matjaz Ladava [MVP] Microsoft Windows 2000 Active Directory 0 30th Aug 2003 07:43 PM
Can't get DSRM utility to work snapshot Microsoft Windows 2000 0 29th Aug 2003 09:07 PM
Can't get DSRM utility to work snapshot Microsoft Windows 2000 DNS 0 29th Aug 2003 09:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:33 PM.