Asset actions are being executed on the computer you are using to open the web console and under the user account you are logged in to Windows with. This account needs to be member of the local administrators group on target computers and it needs to have read access on your actions folder (by default we share it with Everyone having read access).
Not sure if you ran the command prompt as administrator. That may be a difference. You could change the command which you are using for that action and add a "
Runas /user:YourDomain\YourAdmin" at the front.
Be sure as well to correctly quote the commands you are calling.