SOTI XSight Agent on Windows Modern Disconnects with "Auth pending" Message
Summary
Related SOTI ONE Platform Products
Related Device OS
Issue Description
The service is repeatedly crashing due to a permission error that can be seen in the SOTI XSight Agent logs.
System.UnauthorizedAccessException
when the service attempts to access the following directory:C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5
NT AUTHORITY\SYSTEM
account, requires access to this folder to collect system information. Without the correct permissions, the service crashes, enters a restart loop, and is never able to establish a stable connection with the SOTI XSight server, resulting in the Auth pending status.Issue Resolution
To resolve this issue, you must grant the NT AUTHORITY\SYSTEM
account the correct permissions to the folder. This is done by running two commands from an elevated command prompt.
1. Open a command prompt as Administrator.
2. To grant ownership of the folder to the Administrators group, enter the following command at command prompt:
takeown /f "C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5" /r /d y
Note: For non-English Windows versions: If the command fails with an error stating the value for option /d
is not allowed, your operating system may require a different response character. For example, Italian versions of Windows require S
instead of y
. If the command fails, try it again with the character appropriate for the system's language.
3. To grant the NT AUTHORITY\SYSTEM
account full control over the directory, enter the following command at command prompt:
icacls "C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5" /grant "NT AUTHORITY\SYSTEM":(F) /t
4. Restart the SOTI XSight service.
Was this helpful?
Thanks for your feedback