This content has been marked as final. Show 7 replies
some api commands need to talk to the driver, and this requires elevated privilege.
I guess you're trying to get the local machine name?
yes my script runs through the following:
It's failing on the first command, I could actually do away with the GetLocalMachineName part of the script as long as the other components work, do you know if the other commands require an elevation?
I don't believe so no, but ForceSync would be the only other one which might (as the other commands are server side only).
Great...the other commands worked fine in a standard user context.
I guess I will just have to use WSH to get the hostname of the machine, obviously that is not as tight as using GetLocalMachineName, but there shouldn't (in theory) be any machines named different to the network name in the MEE DB and AutoDomain is configured to recycle machines if one already exists with the same name in the DB.
Thanks for your help.
if you're writing a batch file, you can just use %computername%...
What kind of scripting tool are you using to move the objects in the database?
it's documented in the "Scripting Tools" section of your Endpoint Encryption Manager install.