|
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 Harding, Devon Sent: Tuesday, December 06, 2005 1:46 PM To: [email protected] Subject: RE: [ActiveDir] remove logon script? 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
- RE: [ActiveDir] remove logon script? Cace, Andrew
- RE: [ActiveDir] remove logon script? Harding, Devon
- RE: [ActiveDir] remove logon script? Brian Desmond
- RE: [ActiveDir] remove logon script? Harding, Devon
- RE: [ActiveDir] remove logon script? Harding, Devon
