Shawn

Do you see anything here that would cause the /quiet switch not to work? Other than being a crappy coder I need help..

Thanks.

IF INGROUP("Psinstall")
$Powershell = ReadValue('HKLM\SOFTWARE\Microsoft\PowerShell\1\','Install')
If $Powershell <> 1
$local="%systemroot%\temp"
$server="@lserver\netlogon\bats\WindowsXP-KB926139-v2-x86-ENU.exe"
copy $server $local
$Winpath = "$local\WindowsXP-KB926139-v2-x86-ENU.exe /quiet"
$runaspath="@lserver\netlogon\runnas.exe"
SHELL $runaspath + ' /user:' + @wksta + '\Administrator ' + $winpath + ' /pass:xxxxxxxx'
Endif
Endif
_________________________
You'll never know, unless you ask.