Skip to content

Windows: Troubleshooting missing information in Nanitor

Troubleshooting of information reported by the Nanitor agent

Sometimes it can happen that Nanitor is not grabbing the correct information of applied GPOs, the user inventory or the installed OS. To better understand the problem and report more details to the Nanitor service team, you should run the following commands below in PowerShell (as an Administrator) on one of the Windows devices that is having problems with getting the correct information from the machine where the Nanitor agent is installed on. Run the commands and attach the files to a support ticket entered in the Nanitor help center.

  1. To get GPO information via PowerShell (as Administrator) on the device:
$gpos = Get-WmiObject -Namespace 'ROOT\RSOP\Computer' -Class RSOP_GPO 
$links = Get-WmiObject -Namespace 'ROOT\RSOP\Computer' -Class RSOP_GPLink 
$gpos | convertto-json >gpos.json 
$links | convertto-json >links.json 
$gpresult /Scope User /v > user.txt 6gpresult /Scope Computer /v >computer.txt
  1. Check directly what Nanitor is reporting on the device:
cd 'C:\Program Files\Nanitor\Nanitor Agent' 
env:NANITOR_TEST_CLI=1 .\nanitor-agent-bin.exe test_system_info >sysinfo.json   

Please send us the files

  • gpos.json
  • links.json
  • user.txt
  • computer.txt
  • sysinfo.json

It might be convenient to zip them up with command like

Compress-Archive -Path *.json,*.txt -DestinationPath windowsinfo.zip

and send us windowsinfo.zip