I've been looking for a comparable approach as posted here for Windows Server 2003 for starting jvisualvm under system account. But I got the error:
...\jdk1.6.0_24\bin\jvisualvm.exe exited on ... with error code -1073741819.
I found that jvisualvm is using a configuration file:
...\jdk1.6.0_24\lib\visualvm\etc\visualvm.conf
This configuration file contains a default_userdir
property that points to ${HOME}/...
. The system account seems to have issues with ${HOME}
. Changing this parameter and replace ${HOME}
with C:/Temp
makes the above mentioned solution available for Windows Server 2008 R2 as well.