Reference for the policy objects contained in the Integrated Product Pack: Tachyon Core.

This Integrated Product Pack does not include any Instructions, Policies or Rules. It contains only fragments (preconditions, checks and fixes) and trigger templates. These can be used to create your own custom rules and policies.

On this page:

Fragments

The following fragments are not currently used in ready-made policies provided by 1E, but you can use them to create custom policies.

The Parameters column in the following table shows the ranges and default values for the parameters. The default values are used when you create custom rules using these fragments, unless you select alternative values.

NameTypeReadable Payload and summaryParameters
1E-GuaranteedState-General-Check-RegistryValue
Check

Check that registry key <Hive>\>Subkey>\<Name> has <ValueType> value of "<Value>"

Uses NativeServices.RegistryGetValue method to see if the specified registry entry exists, and compares its value with the specified value.

This fragment is intended for Windows only devices.

Hive

  • HKLM (default)
  • HKCR

Subkey - default empty

Name - default empty

Value  - default empty

ValueType

  • REG_SZ
  • REG_DWORD
  • REG_QWORD
  • REG_EXPAND_SZ
1E-GuaranteedState-General-Fix-RegistryValue
Fix

Set registry key <Hive>\<Subkey>\<Name> to <ValueType> value of "<Value>"

Uses NativeServices.RegistrySetValue method to set the specified registry value.

This fragment is intended for Windows only devices.

Hive

  • HKLM (default)
  • HKCR

Subkey - default empty

Name - default empty

Value  - default empty

ValueType

  • REG_SZ
  • REG_DWORD
  • REG_QWORD
  • REG_EXPAND_SZ
1E-GuaranteedState-General-Check-ServiceState
Check

Check that service "<ServiceName>" is <State>

Uses Device.GetSummary method to see if the device is running Windows, and OperatingSystem.GetServiceInfo method to see if the specified service is installed, and compares its state with the specified state.

ServiceName is the short name of the service.

You can determine the short name of a service using the PowerShell cmdlet

get-service -DisplayName "Network Location Awareness"

This will return NlaSvc in the above example. It is this short name you specify in the <ServiceName> parameter.

ServiceName - default empty

State

  • Running
  • Stopped
1E-GuaranteedState-General-Fix-ServiceState
Fix

Request service "<serviceName>" to <action>

ServiceName is the short name of the service.

Uses OperatingSystem.ControlService method to attempt to set the state of the specified service. The fragment does not change any dependencies (StopDependencies=false). Does not change the startup type.

This fragment is intended for Windows only devices.

ServiceName - default empty

Action

  • Start
  • Stop
  • Pause
  • Resume
  • Restart

Preconditions included in this pack are documented in the Trigger templates and preconditions reference page.