um, Desc is Description not Comment. Comment is a distinct field in Active Directory.
And to be annoying, it's not exposed in Active Directory Users and Computers. You could potentially edit it using ADSIEdit.msc. That will allow you to fix those few if you need to.
If you want to bring the field into more general use, you have a number of options. The easiest of those is to script changes. But before exploring those, are you looking to do that?
Chris
Main Topics
Browse All Topics





by: canaliPosted on 2008-07-04 at 01:03:37ID: 21931596
you can use dsmod:
ex.
dsquery user -samid %username%|dsmod user -fn "Myname" -ln "Mysurname" -office "myoffice %username%" -desc "my description is this"
bye Gastone Canali