Scripts failing with Permission denied: 'GetObject'
2 posts · Closed
Hi Andrew.
Just to let you know that doing some tests over a VPN tunnel, I found that the scripts might fail - results were - "Permission denied: 'GetObject'". This made me check over the defined accounts, just to find out that in script options there wasn't an authentication option like on remote WMI or remote PowerShell. Bye.
That's by design. A script is just a program, it can't be authenticated itself and it doesn't know how to connect to a remote system - WMI does.
The error you are getting stems from the WMI subsystem or somewhere in the DCOM-RPC-WMI chain. Here are a few discussions and possible workarounds for this issue: one, two, three.