Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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