From 6211dbabd62e2116fabebdba0181320793e1f7ab Mon Sep 17 00:00:00 2001 From: Carlos Nihelton Date: Mon, 21 Oct 2024 11:32:02 -0300 Subject: [PATCH] Separate the scripts in sections For better searchability. Now a heading for the action of applying the scripts is needed. --- docs/howto/enforce-agent-startup-remotely-registry.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/howto/enforce-agent-startup-remotely-registry.md b/docs/howto/enforce-agent-startup-remotely-registry.md index 431bb468d..28053209e 100644 --- a/docs/howto/enforce-agent-startup-remotely-registry.md +++ b/docs/howto/enforce-agent-startup-remotely-registry.md @@ -42,7 +42,7 @@ to learn more. Those scripts run on a predefined schedule and if the detection s key value that represents the enablement of the UP4W background agent startup task. The contents of both scripts are presented below. **Make sure to save them encoded in UTF-8**, as required by Intune. -Detection script: +### Detection script ```powershell $Path = "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\CanonicalGroupLimited.UbuntuPro_79rhkp1fndgsc\UbuntuProAutoStart" @@ -64,7 +64,7 @@ Catch { } ``` -Remediation script: +### Remediation script ```powershell $Path = "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\CanonicalGroupLimited.UbuntuPro_79rhkp1fndgsc\UbuntuProAutoStart" @@ -84,6 +84,8 @@ try{ ``` +### Running the scripts with Intune + Access your organisation's [Intune Admin Center](https://intune.microsoft.com) and when logged in go to **Devices > Monitor > Manage Devices > Scripts and remediations**. ![Scripts and remediations option revealed in the Intune portal](./assets/intune-remediations.png).