Skip to content

Instantly share code, notes, and snippets.

@chechedotmx
Created December 8, 2013 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chechedotmx/7852376 to your computer and use it in GitHub Desktop.
Save chechedotmx/7852376 to your computer and use it in GitHub Desktop.
Service Definition with Startup task executionContext elevated
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="XentinelCloudInvoicingThreading" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-10.1.8">
<WorkerRole name="XentinelCloudInvoicingThreadingService" vmsize="ExtraSmall">
<Runtime executionContext="elevated" />
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
</Imports>
<Startup>
<Task commandLine="Startup.cmd" executionContext="elevated" taskType="simple">
</Task>
</Startup>
<Certificates>
</Certificates>
</WorkerRole>
</ServiceDefinition>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment