Does anyone have experience of running HDGraph by Labtech, SCCM or other management tools? They generally run the programs as System account, without an actual GUI session. Seems like HDGraph doesn't like that.
I tried running HDGraph like this with Labtech:
C:\Temp\HDGraph\HDGraph.exe "C:" /graphOutput:"C:\Temp\HDGraph\C.hdg"
It basically just starts the process and on process manager I can see it sitting there doing nothing. If I run the same command with Labtech in a console session of a logged on user it works just fine, but that's not a solution to my problem. We would need to run it as System, without logged on users.
By the way, I cannot get /imgOutput to work on most of the computers I tested it on. It works on some, but on most computers it gives me this Parameter is not valid error:
** Exception Text **
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at HDGraph.DrawEngine.CircularImageGraphGenerator.Draw(Boolean drawImage, Boolean drawText, DrawOptions options)
at HDGraph.MainForm.MainForm_Shown(Object sender, EventArgs e)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Does anyone have experience of running HDGraph by Labtech, SCCM or other management tools? They generally run the programs as System account, without an actual GUI session. Seems like HDGraph doesn't like that.
I tried running HDGraph like this with Labtech:
C:\Temp\HDGraph\HDGraph.exe "C:" /graphOutput:"C:\Temp\HDGraph\C.hdg"
It basically just starts the process and on process manager I can see it sitting there doing nothing. If I run the same command with Labtech in a console session of a logged on user it works just fine, but that's not a solution to my problem. We would need to run it as System, without logged on users.
By the way, I cannot get /imgOutput to work on most of the computers I tested it on. It works on some, but on most computers it gives me this Parameter is not valid error:
** Exception Text **
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at HDGraph.DrawEngine.CircularImageGraphGenerator.Draw(Boolean drawImage, Boolean drawText, DrawOptions options)
at HDGraph.MainForm.MainForm_Shown(Object sender, EventArgs e)