In google cloud windows instance running startup script with administrator privilege -
i trying create google cloud windows instance standard public image windows server 2012. having script needs run @ startup through metadata. script invoked script ran normal user standard privilege created google cloud while instantiating windows image. need run script administrator spent 2 days breaking head solutions elevate user's privilege not helping though tried : have tried elevate privilege of user thats not working. there workaround here .
thanks in adv!
this solution.
create windows task schedule admin privilege want. , execute schtasks /run /i /tn "taskfolder\taskname"
in startup script.
Comments
Post a Comment