question

sudoundo avatar image
0 Votes"
sudoundo asked sudoundo edited

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

[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


azure-security-center
image.png (9.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@sudoundo , Could you please provide more details about the environment where you are running the script and what operation you are trying to do ? I understand that you are running some script but is that Powershell or something else and the error says Invalid syntax. so it could be something different or generic error. Did you run REG ADD command on an Administrative elevated prompt ? and ran the script on normal command prompt . What API/SDK functions are you calling to make these registry changes ? Please let us know more and we will be happy to help accordingly .

0 Votes 0 ·

1 Answer

sudoundo avatar image
0 Votes"
sudoundo answered sudoundo edited

@shashishailaj I follow this procedure: https://docs.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



image.png (48.5 KiB)
image.png (26.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.