for stand alone check, think this is enough:
if "%logonserver%"=@wksta
"local logon"
endif

not sure, but hey, give it a try [Big Grin]
_________________________
!

download KiXnet