I am trying to create a google cloud windows instance from the standard public image for windows server 2012. I am having a script which needs to be run at startup through metadata. The script is actually invoked but the script ran as normal user with standard privilege which is created by google cloud while instantiating the windows image. But i need to run the script as administrator i spent two days breaking my head with solutions to elevate the user's privilege but not helping though Tried : I have tried to elevate the privilege of the user but thats not working. Is there a workaround here .
Thanks in Adv!