When I am deploying packages it does not run as an Administrator.
I tested by using a script that writes Y or N depending on the user priviliges:
If /i "%domain%" EQU "%computername%\" set domain=
for /f "Tokens=*" %%a in ('net localgroup administrators^|find /i "%user%"') do set admin=Y
echo %admin% >> admin.txt
My computers are not in a Windows domain.
When running locally as Administrator this writes Y but when running with OCS it writes N.
When I echo %username% (with the Agent) it writes computername$ which seems more like a windows domain/kerberos authentication.
Does your OCS deployment run as an administrator?