Quote:

For your KixForms Function, you have:

$SysFolder

I don't see that being passed to the function nor is it defined there.

Kent





Yeah, I actually moved it up towards the top in this section... Since I use it in other place (or will) no need in using extra lines since it should never be re-declared.

Chris

Code:

;*******************************************************************************
;** Constant Variables
;*******************************************************************************
$RegistryCheck = "HKLM\Software\Company Name"
$SysFolder = %WinDir% + '\system32'
$LocalDC = "\\domain-dc01"