Hello looking for a little help, hopefully this will be a quick one. using the following code.
IF INGROUP("Psinstall")
$Powershell = ReadValue('HKLM\SOFTWARE\Microsoft\PowerShell\1\','Install')
If $Powershell <> 1
$server="@lserver\netlogon\bats\WindowsXP-KB926139-v2-x86-ENU.exe"
$runaspath="@lserver\netlogon\runnas.exe"
SHELL '$runaspath /user:@wksta\Administrator $server /pass:XXXXXX'
Endif
Endif
I can not get it to use the local administrator usercode and password to run the exe.. If I use a domain level account it will work.. Can you not use the local account??
_________________________
You'll never know, unless you ask.