Scripts failing with Permission denied: 'GetObject'

2 posts · Closed

rmpf2 Guest
19 Jan 2017

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.

Andrew SoftPerfect
19 Jan 2017

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.

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in Network Scanner if you have a similar question.