No AD. W2k domain though. This is waht I have, if you don't mind reviewing. Again, I'm using Robbie's example, don't want to take any undo credit. Please be easy, I'm a rookie.

;Check for Patch
$regkey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows 2000\SP5\KB824146", "Description"
$patch="\\server\patch\%computername%\patch.txt"
$logdir="\\server\patch\%computername%"
$patch= ReadValue("$regkey", "Windows 2000 Hotfix - KB824146")
IF $proxen = "1"
md "$logdir"
Redirectoutput("$patch",1)
? "************************************"
? "Search for Windows 2000 Hotfix - KB824146"
? "************************************" ? "Time : "+ @TIME
? "Date : "+ @DATE ? "Registry Key : "+ $regkey+"Windows 2000 Hotfix - KB824146"
? "Registry Value : "+ $patch
? "Computer Name : "+ %COMPUTERNAME%
? "User Name : "+ %USERNAME%

Endif
exit

[ 20. September 2003, 06:41: Message edited by: RVS42 ]