Re: Active Directory scheduled script

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



There is no mechanism to say go run this script against all machines in this OU once. You will either need to do something with startup/shutdown scripts or you will need to come up with some other mechanism entirely. AD is not a replacement for software delivery and desktop management tools.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm


BenBreaks wrote:
I have an Active Directory environment so I will use a script (to perform windows update and reboot if necessary) on an OU. My issue is that I don't want to place the script on logon/startup because it will run the script everyday and it will slow down user logins. How can I configure the script so that it will run only on a specified date, such as patch Tuesday?

Thanks!

.



Relevant Pages

  • Re: LDAP changePassword always returns error
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... Tom wrote:> This is really weird - I run the script as an administrator, and return an> empty error description with the error number -2147024810. ... p_NewPassword>> wscript.echo "Password change successful">>else>> wscript.echo "Didn't get a handle to the user object">>end if>> ... >>>>-->>Joe Richards Microsoft MVP Windows Server Directory Services>>www.joeware.net>> ...
    (microsoft.public.security)
  • Re: Filtering the c:windowsdebug etlogon file.
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... Given that the file is simply a text file with the format like below, it should be easy to dump out the workstation/server name and IP address columns and then remove all repetitive entries so that I am left with a list of the individual subnets and computer names only. ... I thought of doing it via a Windows port of awk etc. but I also thought someone may have already done this via a script or util etc. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Password Expire email notification
    ... If you take a perl script and wrap findexpacc, you are talking about a few lines of code as findexpacc does all the work for you and you don't have to do any large integer handling. ... Joe Richards Microsoft MVP Windows Server Directory Services ... You could use something like my findexpacc to find the accounts that are expired or going to expire in X days and parse through the output sending email notifications. ...
    (microsoft.public.windows.server.active_directory)
  • Re: modifying AD attributes that hold multiple values?
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... > The following line in my script keeps bombing with an "Automation Error" ...
    (microsoft.public.exchange2000.active.directory.integration)
  • Re: AD AutoScripting
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... Chai wrote:> Hi there, ... I want to set all user> account so that their password never expired. ... > After look few example and try it, I receive the error> message "ADSI does not support the properties" when I want> to set the accountExpires to 0 using the VB Script. ...
    (microsoft.public.win2000.active_directory)