Inventory Report

avatar

I like the new feature but it seems that whenever we try to run it the session just hangs at local accounts. We have tried it on different servers at different locations and the same issue. Is something being done wrong?

All Comments (15)

avatar

Hi,
We use WMI, do you have the administrative privilege? You can define those credentials in the Tools tab page of the session.

David Hervieux

avatar

Hi,

Is this problem occurs only when the local account option is checked?

André Sanscartier

avatar

Yes, when Local Accounts is not checked then the reports runs quick and flawless.

avatar

Hi,

Do you see something in the application log (Help menu) ?

André Sanscartier

avatar

No, I do not see anything in the application log about it. Here's some info:

[7/12/2012 9:43 AM]ERROR SILENT System.IO.IOException: Recovery policy configured for this system contains invalid recovery certificate.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Encrypt(String path)
at Devolutions.RemoteDesktopManager.Managers.SecurityManager.SaveObjectToEncryptedFile(String fileName, Object value, String salt, Boolean ntfsEncrypt)
[7/12/2012 9:43 AM]ERROR System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength)
at System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount)
at System.IO.StreamReader.ReadToEnd()
at System.IO.File.ReadAllText(String path, Encoding encoding)
at Devolutions.RemoteDesktopManager.Managers.ActionManager.ViewApplicationLog()
at Devolutions.RemoteDesktopManager.Managers.MainMenuManager.mnuViewLog_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[7/12/2012 9:43 AM]ERROR System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength)
at System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount)
at System.IO.StreamReader.ReadToEnd()
at System.IO.File.ReadAllText(String path, Encoding encoding)
at Devolutions.RemoteDesktopManager.Managers.ActionManager.ViewApplicationLog()
at Devolutions.RemoteDesktopManager.Managers.MainMenuManager.mnuViewLog_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

avatar

Hi,

Could you try this "WMI Tester" please?
I made it with the same framework than RDM but I added an alternate method for retrieving local accounts information.

Regards

André Sanscartier

WMITester.zip

avatar

It works but seems to be grabbing not only the local accounts on the machine but all in the domain.

avatar

Does it work with the alternate method? For now the inventory is only for local account.

David Hervieux

avatar

Yes, it works but grabs every local account on the domain not just the computer.

avatar

Yes, it works but grabs every local account on the domain not just the computer.

avatar

Is it a Domain controller?

David Hervieux

avatar

No, I ran it on a server and computer and it seems to grab more than just the local accounts on those machines. It is grabbing account on different domains as well. I'm looking at the one computer and the only accounts are Guest (disabled) and our local account. This list that the exe gives is over 50 accounts.

avatar

We will try to filter the list in the next update. André will take a look at this.

David Hervieux

avatar

Hey David, just reading through this. When it comes to domain stuff I actually have a C# application specifically for retrieving domain information, hit me up about it if you want to take a look

-Brendan

avatar

What technology do you use?

David Hervieux