Guest Don R Hunsinger Posted September 17, 2008 Posted September 17, 2008 All, This is a 2003 Domain with seven domain controllers. I want to write a DOS batch file to check for the existence of our anti-virus application and if it does not exist to install it from the Netlogon based on which domain controller they are logging into. This way I can run it for each region after we have pushed from the Anti-Virus servers and clean up any users that missed the push. I want to know if I can use the %logonserver% variable to specify where to install it from. That way I would be able to specify which locations by logon domain controller can install. i.e. if %logonserver% equals SJWSDC00 then... or if %logonserver% not SJWSDC00 then goto end. Is this doable? If so, any pointers would be appreciated. Thanks
Guest Meinolf Weber Posted September 17, 2008 Posted September 17, 2008 Re: NetLogon Scripting by Domain Controller location Hello Don, You can use that variable, did you setup AD Sites and services for all subnets? Other wise they still can use another logonserver from different site. Also if you need constant updating of your antivirus think about using DFS. Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. ** Please do NOT email, only reply to Newsgroups ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm > All, > > This is a 2003 Domain with seven domain controllers. > > I want to write a DOS batch file to check for the existence of our > anti-virus application and if it does not exist to install it from the > Netlogon based on which domain controller they are logging into. This > way I can run it for each region after we have pushed from the > Anti-Virus servers and clean up any users that missed the push. > > I want to know if I can use the %logonserver% variable to specify > where to install it from. > > That way I would be able to specify which locations by logon domain > controller can install. i.e. if %logonserver% equals SJWSDC00 then... > or if %logonserver% not SJWSDC00 then goto end. > > Is this doable? If so, any pointers would be appreciated. > > Thanks >
Recommended Posts