You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An exception is being thrown during the OSInfo command:
====== OSInfo ======
ERROR: [!] Terminating exception running command 'OSInfo': System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Seatbelt.Runtime.GetEnvironmentVariable(String variableName)
at Seatbelt.Commands.Windows.OSInfoCommand.<Execute>d__10.MoveNext()
at Seatbelt.Runtime.ExecuteCommand(CommandBase command, String[] commandArgs)
I don't have access to a host where it occurs. Occurred during remote collection. Other commands that used the registry worked fine, but this one didn't for whatever reason.
To Reproduce seatbelt.exe -q -group=remote -computername=COMPUTER
Expected behavior
The command to run and return OS information. If it can't, collect one piece of info, at least return a partial result (or print an error where the problem happened)
Observed behavior
An exception occurs and no command output is recieved
The text was updated successfully, but these errors were encountered:
Describe the bug
An exception is being thrown during the OSInfo command:
I don't have access to a host where it occurs. Occurred during remote collection. Other commands that used the registry worked fine, but this one didn't for whatever reason.
To Reproduce
seatbelt.exe -q -group=remote -computername=COMPUTER
Expected behavior
The command to run and return OS information. If it can't, collect one piece of info, at least return a partial result (or print an error where the problem happened)
Observed behavior
An exception occurs and no command output is recieved
The text was updated successfully, but these errors were encountered: