Any way to automate disable usb power down?

Are you running this using Administrative privelage?[1]

Have you tried an administrative command shell, (not PowerShell), as PowerShell can’t do everything.

[1] Select the command prompt, right click, select “more” and then “run as Administrator”

If possible post a screen-shot of the errors.