Contents
-
Introducing Tachyon
-
Quick Start
-
Implementing Tachyon
-
Using Settings
-
Using Explorer
-
Using Guaranteed State
-
Using Inventory
-
Using Experience
-
Using Patch Success
-
Troubleshooting
-
Extending Tachyon
-
Training
-
Tachyon Operator v5.0 Lab Guide
-
Ex 1 - TCN Opr v5.0 - Installing and Configuring Tachyon Prerequisites
-
Ex 2 - TCN Opr v5.0 - Installing Tachyon
-
Ex 3 - TCN Opr v5.0 - Exploring the Settings Application
-
Ex 4 - TCN Opr v5.0 - Instruction Sets and Management Groups
-
Ex 5 - TCN Opr v5.0 - Working with Instructions
-
Ex 6 - TCN Opr v5.0 - Working with Patch Success
-
Ex 7 - TCN Opr v5.0 - Working with Inventory
-
Ex 8 - TCN Opr v5.0 - Using Guaranteed State
-
Ex 9 - TCN Opr v5.0 - Microsoft Configuration Manager Integration
-
Ex 10 - TCN Opr v5.0 - Creating Instructions and Fragments Using TIMS
-
Ex 11 - TCN Opr v5.0 - Working with Experience
-
Ex 1 - TCN Opr v5.0 - Installing and Configuring Tachyon Prerequisites
-
Tachyon Advanced v5.0 Lab Guide
-
Tachyon - Nomad as Content Provider Lab Guide
-
Tachyon Operator v5.0 Lab Guide
-
Reference
Using Guaranteed State
Guaranteed State allows us to check our environment against a desired configuration and remediate any devices that do not meet that desired configuration. We use a combination of Policies and Rules to accomplish this with Tachyon. Behind the scenes fragments come into play, we will work with those in the lab for TIMS.
Configuring Tachyon for Guaranteed State
We have already set up our Guaranteed State Administrator and our Guaranteed State Viewer role in Tachyon. We have already used the Tachyon Product Pack Deployment Tool to import our Integrated Product Packs for Guaranteed State. This also imported the objects we will reference, such as our rule triggers and some default Check and Fix Rules.
Exploring Guaranteed State Application
In this task we will look at the different nodes in the Guaranteed State Application as both the Guaranteed State Administrator and the Guaranteed State Viewer
- Still logged into 1ETRNW72 as 1ETRN\Manager1
- Open the Tachyon Portal and Launch Guaranteed State
- Navigate to Overview look at the different tiles. We will visit these again later after we have deployed some policies. They will all be blank until we have assigned and deployed our policies
- Notice the drop-down at the top defaults to All Policies, we can also select the different policies we have imported via the Product Pack Deployment Tool
- Navigate to Administration – Policies. Notice we have three policies. This was from our import
- Select the Windows Client Health policy and click the Assign button on the far right
- In the Assign Management Groups screen – Start to type All Dev in the Search for Management Groups
- Click the All Devices Management Group when it resolves. Click Save
- Select the Microsoft SCCM Client Health and assign it to All Devices
- We have now assigned policies
- Once you have assigned the Policies to your Management Group you must now click Deploy
- Click Yes on the Are you sure box
- Navigate to Rules node. Notice the rules that we imported
- Click View Details on the ConfigMgr Client running. In the pop-up notice this is a Check Rule that will query the device to see that the Config Man Client Service is running. Notice the Trigger – this query will run if the state of the SMS Agent Host Service changes. Notice the Pre-Condition – it will only run on devices that have the Config Man Client installed
- View Details on some of the rules to get an understanding of what they do
Viewing the Results of a Policy
Now that we have our policies assigned to a management group and deployed, we can look at the results of that policy.
- Still logged in as 1ETRN\Manager1
- Navigate to Overview
- Notice the top drop-down on the far right – We have All Policies Selected. We could select a specific policy to view the results for that policy only. Leave it at all policies for now
- On the top row there is a Tile – Device State – Hover over the icon. Read the information about this tile
- Hover over each slice of the pie chart to view the actual number of devices in each state. We may have some devices in Unknown state until they finish evaluating the policies that we have just deployed
- Click on the slice of the pie for Non-compliant. Notice how it builds our filter for us and takes us to the devices report for the ones that are State Noncompliant
- Click on View History. Scroll down to see which check failed. Click close
- Go back to Overview. Look at the next Tile – Device State per Criticality Level. Hover over the icon to read the information about the tile. This tile shows a bar chart of the state of our devices but based on the Criticality of the Device that we have assigned
- The, Last Seen tile shows the time the devices last checked in with the Tachyon Server. All seven of our devices should show in the current column. If they do not, drill into the chart and make sure the device is powered on. When you click on one of the bars notice that it creates a filter for you and takes you to the results of the filter
- Click the back button or navigate back to Overview
- Look at the Rule Effectiveness tile which shows rules that are being used in the environment. Hover over the icon and read the details
- Look at the two tiles – Rule Status and Rule Remediations Last 7 Days
- Navigate to Administration – Polices. Notice the number of rules in each policy. Guaranteed State calls the device non-compliant for that policy if any of the rules are not compliant
- Navigate to Administration – Rules and scroll to find where the Rule type is Fix, and notice the Red in the enabled field. The Tachyon Product Pack Deployment Tool imports in the Fix rules but makes them disabled. Only the check rules are enabled. This ensures that changes to devices will not occur if the environment needs to follow a change control process. We do not need to enable the fix rules for our lab as we do not have Nomad installed and all the fixes are for the Nomad policy. You will want to enable them in your environment if you want the Nomad items corrected.
- Navigate to Reports – Policies. Here you can see the details on the devices and how many are compliant or noncompliant
Working with Policies, Rules, and Triggers
Policies that contain one or more rules are assigned to Management Groups and deployed. There two primary types of rules – Check Rules and Fix Rules. Check Rules query the device for a specific state and Fix Rule are used to remediate that device based on the state an Administrator wants to maintain. In this task we will build a Registry Policy. We see applications that need specific settings to function properly. This policy is an example of how to monitor applications to make sure they have the proper configurations or even change the configurations when necessary.
Create A Registry Rule
- In Guaranteed State, navigate to Administration – Rules
- Click New in the far right. In the Name field type in My Application Registry
- In the Description window type in Rule to ensure the My Application Registry is set to 7
- In the Type field select Check
- Click on Triggers
- Click the Drop-down to see the list of available Triggers. Select When a Registry Key Changes (you may need to scroll to see this option)
- We need to add our Registry Key for this task
- Leave Guaranteed State as it is and Click Start button – in the Search Type in Regedit
- Open Regedit and Navigate to HKEY_Local_Machine\Software
- Right Click on Software and choose New - Key. Name the key MyApplication
- Right Click on MyApplication and Create a New DWord Value
- Rename New Value #1 to MySettings. Notice our value is set to 0 – we will leave it like that and let Guaranteed State fix it for us
- Minimize Regedit. Back in Guaranteed State – In the Hive box select HKLM
- In the Subkey box type in Software\MyApplication
- In the Include Subkeys box choose true
- This will tell the Tachyon Agent to monitor this Registry Key for changes – if it changes it will then run our rule to check to make sure the device is still configured properly
- We will not set a Pre-Condition check on this rule
- Look at the Precondition check options that are available but leave without setting one since in our lab we do not have an application install to go with our fake registry key
- Click on Check – in the Select Check box select Check that registry key <hive>\<Subkey>\<Name> has <valueType> value of <value>
- In the Hive box select HKLM
- In the Subkey box type in Software\MyApplication
- In the Name box type in MySettings
- In the Value box type in 7
- In the Value Type box select Reg_DWord
- Click Save in the upper right
- Navigate to Administration – Policies. Click on New in the far right
- In the New Policy page, Name field type in My Application Registry
- In the Description field type in My Application Registry
- In the All Rules pane select our MyApplication Registry rule click the >> to move it over to Assigned Rules pane
- Click Save. Notice we have a pop-up reminding us that our Policy has not been deployed
- We will assign and deploy that now. Select our My Application Registry policy click Assign
- Start typing Win and once suggested select the Windows 7 Management Group
- Click Save
- Click Deploy. Click Yes on the Are you sure pop-up
- Navigate back to the Overview Page. Click Refresh
- Select the My Application Registry policy from the drop-down to view our tiles for only that policy
- Notice our device state is Non-compliant for all three devices
- Drill into the Device Status to see the individual devices
- Click View History on each one to see the results for each machine
- This is the expected result because we deployed to our three Windows 7 devices – two of them do not have the registry key and 1ETRNW72 has the key but with a 0 value
Watch Guaranteed State in Action
In this task we are going to work with our MyApplication Registry setting again but this time we are going to create the value if it does not exist. If it is set incorrectly, set it correctly. Again, this could help us in production with the applications in our environment that need specific settings to function correctly, this Policy will ensure that our application will function correctly even if something modifies the setting.
- In Guaranteed State, navigate to Administration - Rules
- Select the My Application Registry Rule click on Edit
- Leave the Name field alone
- Leave the Description alone
- In the Type box change to fix
- Leave the Trigger pane set
- Leave Precondition and Check panes alone and click on Fix
- Now we will create the fix rule. Select the Set registry key <Hive>\<Subkey>\<Name> to <ValueType> value of "<Value>"
- In Hive select HKLM
- In the Subkey field type in Software\MyApplication
- In the Name field type in MySettings
- In the Value field type in 7
- In the ValueType field select Reg_DWord
- Click Save
- Navigate to Administration – Policy click on Deploy at the top. Click Yes on the pop-up
- Navigate back to Overview and Click Refresh
- Once the devices have checked in you should see it change to all Green in device state with My Application Registry selected for the overview
- Open regedit to check that the value has changed. You may need to refresh if you left it minimized. Log into the other Windows 7 devices to check them also
- When you have completed the check – go back to 1ETRNW72 and change the registry value to 20. Right click on MySettings and choose Modify – type in 20. Click ok
- Hit refresh and you will see Tachyon almost instantly change it back to 7
- Go back into Guaranteed State
- Navigate to Overview – Policy Rule Effectiveness – Click on the Effective Gear Icon
- It will take you to the Rules page with our MyApplication Registry rule filtered
- Click on the MyApplication Registry Rule. It will take you to our Devices page that is filtered for our deployed rule. Click on View History for 1ETRNW72. Notice the status entries as you changed it to 20 Hex which is 32 Decimal
Create a Service Rule
In this task we are going to create a policy that checks the state of the Remote Registry Service and starts the service if it is stopped. We are going to assign this to our All Devices management group and deploy it but use a pre-condition to make it only run on Windows 10.
- In Guaranteed State, navigate to Administration – Rules
- In the New Rules pane – details tab – Name field type in RemoteRegistry Service
- In the Description type in RemoteRegistry Service Started
- In the Type field choose fix
- In the Triggers tab select When the State of the named Windows Service changes
- In the Service Name field type in RemoteRegistry
- Click the Precondition tab and choose Run if Device is Windows <minimum version>
- In the Minimum Version field select 10 or greater from the list
- Click on Check tab and select Check that service <ServiceName> is <state>
- In the ServiceName field type in RemoteRegistry
- In the State field select Running
- Click the Fix tab and choose Request service "<Short name of service>" to <Service action to perform>
- In the ServiceName field type in RemoteRegistry
- In the Action field select Start
- Click Save
- Navigate to Administration – Policies and Create a Remote Registry Policy that contains our Remote Registry Rule. Save the policy
- Assign to our All Devices Management Group and then deploy
- Navigate to Overview – select our Remote Registry Policy
- Hit refresh until you begin to see results
- Look at the state of the devices
- Open file explorer and look at c:\ProgramData\1E\Client\1E.Client.log. Notice how the policy is downloaded, checked against our certificates, and then processed by the agent
- Now Open the Services Applet and stop the Remote Registry Service
- Watch the 1E.Client.log as this happens
- Look for our Remote Registry Policy and see how the check fails when we stopped the service and Tachyon will run the Fix rule to start the service
Guaranteed State as a Viewer
In this task we will look at Guaranteed State as a Viewer
- Log into 1ETRNW101 as 1ETRN\User
- Launch the Tachyon Portal
- Switch App to Guaranteed State
- Navigate to Overview. Look at the tiles for each Policy that we have configured
- Drill into the tiles
- Navigate to Administration – Rules. Notice that this user can see all the rules but has no ability to create or deploy them
- Notice that within Rules you can drill into the View Details
Lab Summary
In this lab we looked at the Guaranteed State Application. We explored the application and then deployed polices to devices and observed the results when a device did not meet a condition. We then saw how the Guaranteed State Application reported on our device status in near real-time.
Next Page
Ex 9 - TCN Opr v5.0 - Microsoft Configuration Manager Integration