Hi, we are trying to install EndPoint on Windows Vista and need to run a script to move the local machine to another group in the EndPoint DB . The script needs to run on the reboot after the initial installation thus it is triggered by the run key in the registry. The script fails because it requires an elevation of privileges, The error I receive is "Access to the driver not permitted". If I run the script manually from an administrator command prompt it works fine.
We cannot disable to UAC and it is not acceptable in our environment to expect users to have to click on an elevation prompt.
My question is, why does the scripting tool require and elevation and is there any way to get around it (perhaps by changing permissions on certain files?).
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?
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.