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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -