I am trying to connect to a remote machine and run a script that gets me the OS-es from that machine. To do this I connect through WMI, run cmd /c bcdedit -v > bcd.txt. For some reason I keep getting access denied, the same thing as running bcdedit from a non-administrator account. The WMI Security is set, that is running notepad or calc works perfectly. The user which is logged on, and which is used to connect to the machine is the Administrator. I'm stuck at this for days without any solution. Any workaround is welcome.
Note: OS in question is Windows 8 Note2: Workarounds tried(and failed): running another process that schedules a task with bcdedit(access denied), trying to set the process to run as administrator from the properties box(couldn't even start from WMI remotely)