Jump to content

Register-WMIEvent Win32_ProcessStopTrace


Recommended Posts

I want the Windows system to react to the start and stop of my LabVIEW application.

I register the events Win32_ProcessStartTrace and Win32_ProcessStopTrace for my .exe using Register-WMIEvent in Powershell.

Only the start event comes, never the stop event.

It works correctly with other exes such as notepad.exe, excel.exe, firefox.exe.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.