View Single Post
Old
  (#203)
stangowner
Master Guru
 
stangowner's Avatar
 
Videocard: 2xMSI N550GTX-Ti Cy II OC
Processor: Intel Core 2 Quad Q9550
Mainboard: ASUS Striker II Extreme
Memory: 4GB DDR3 OCZ Reaper 14400
Soundcard: X-Fi Plat Fatal1ty Champ
PSU: Antec 850w
Default 08-09-2011, 01:12 | posts: 562 | Location: MA

Can you do this?

1 - Create a new text file called "launch-notepad.vbs" and put the following in it. Save the file and then double-click it to run it.
Code:
Set WshShell = WScript.CreateObject("WScript.Shell")
Error = WshShell.Run("notepad.exe")
If Error <> 0 Then
    Wscript.Echo "Notepad could not be started due to error " & Error & "."
End If
2 - Do the same thing but call this one "launch-notepad-wmi.vbs".
Code:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer _
    & "\root\cimv2:Win32_Process")

Error = objWMIService.Create("notepad.exe", null, null, intProcessID)
If Error <> 0 Then
    Wscript.Echo "Notepad could not be started due to error " & Error & "."
End If
Do both of those launch notepad? If so, edit them and change "notepad.exe" to be the full path and filename to GPUMonitor.exe and then rerun them. Do they start the process? You can just kill the process in between tests using the task manager.


Also, you can edit line 23 of this file "C:\Users\<username>\AppData\Local\Microsoft\Windo ws Sidebar\Gadgets\GPUMonitor.gadget\scripts\gadget.j s" to change "debug=false;" to "debug=true;". Then open the gadget. This will create a debug log in "C:\Users\<username>\AppData\Local\GPUMonitor" . Please email it to me using the address in the gadget.

Thanks,
Nick
   
Reply With Quote