Error Id: 10, Error Level: 1 - Desipite running Onboarding local script as administrator

sudoundo 96 Reputation points
2021-04-06T23:53:53.147+00:00

[Error Id: 10, Error Level: 1] Unable to write onboarding information to registry. Error message: ERROR: Invalid syntax.

Testing administrator privileges
Script is running with sufficient privileges

Performing onboarding operations

<$HOME>\AppData\Local\Temp\senseTmp.txt[Error Id: 10, Error Level: 1] Unable to write onboarding information to registry. Error message: ERROR: Invalid syntax.
For more information, visit: https://go.microsoft.com/fwlink/p/?linkid=822807

The system cannot find the path specified.

The link above won't give me helpful info on how to proceed further. The reference says that this is permission related issue to registry. However, i tried running the reg add command on the same terminal and was able to run successfully.

85033-image.png

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
{count} votes

Accepted answer
  1. sudoundo 96 Reputation points
    2021-04-07T12:12:36.163+00:00

    @Shashi Shailaj I follow this procedure: https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/configure-endpoints-script?view=o365-worldwide

    I am onboarding a Windows 10 ver.20H2. The script i am running is the one downloadable from MS Defender Security center for Windows (see screenshot). I run as Administrator my command prompt. I believe the script contains both Powershell and Registry commands.

    85343-image.png

    85306-image.png

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.