|
Yeah I have seen odd things like that before if you cut and
paste from email or doc files, some bogus character you can't see is in there or
something like that. Retype it...
[Tue 12/06/2005 20:20:01.78]
G:\>Adfind -f "(&(objectCategory=person)(objectClass=user)(scriptpath=logon.bat))" -default -dsq | admod -unsafe scriptpath:- (objectClass was unexpected at this time. [Tue 12/06/2005 20:20:07.26]
G:\>Adfind -f "(&(objectcategory=person)(objectclass=user)(scriptpath=logon.bat))" -default -dsq | admod -unsafe scriptpath:- AdMod V01.06.00cpp Joe Richards ([EMAIL PROTECTED])
June 2005
DN Count: 0
No object DNs to update.
The command completed successfully.
[Tue 12/06/2005 20:20:10.93] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Tuesday, December 06, 2005 4:11 PM To: [email protected] Subject: RE: [ActiveDir] remove logon script? I get the following
error: (objectClass was
unexpected at this time. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of joe It works
against the current default domain which is the domain of the default domain
controller. You can determine what that is with adfind
-default -s base -dn If you
want it to work against another domain, remove -default and add -b domain_dn
(i.e. change the search base of the adfind query). From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of This will
work for the currently logged in domain right? From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of joe One tiny
correction :) Adfind
–f “(&(objectCategory=person)(objectClass=user)(scriptpath=logon.bat))”
–default –dsq | admod –unsafe scriptpath:- From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Brian
Desmond Adfind
and admod from joeware.net Adfind
–f “(&(objectCategory=person)(objectClass=user)(scriptpath=logon.bat))”
–default –dsq | admod –unsafe scriptpath- From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of How can I remove the logon.bat from
all my user (2000+) accounts at one time in my domain? I’ve switch to GPO
for the logon scripts. Windows
Systems Engineer Southern Wine
& Spirits - BSG 954-602-2469 __________________________________
__________________________________ |
- RE: [ActiveDir] remove logon script? joe
- RE: [ActiveDir] remove logon script? Harding, Devon
