Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Upcoming OSR Seminars:

Writing WDF Drivers I: Core Concepts, Nashua, NH 15-19 May, 2017
Writing WDF Drivers II: Advanced Implementation Tech., Nashua, NH 23-26 May, 2017
Kernel Debugging and Crash Analysis, Dulles, VA 26-30 June, 2017
Windows Internals & Software Driver Development, Nashua, NH 24-28 July, 2017


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 1  
14 Jun 17 17:37
saqib khanzada
xxxxxx@gmail.com
Join Date: 04 Jan 2017
Posts To This List: 4
auto install Managed file object not working

Hi I am trying to trigger script inside consumer on some event, but on binding I am getting error Here is my MOF file #pragma namespace ("\\\\.\\root\\subscription") instance of __EventFilter as $FILTER { CreatorSID = {1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2, 0, 0}; Name = "CLASS_FIRST_TEST"; EventNamespace = "root\\cimv2"; Query = "SELECT * FROM __InstanceCreationEvent " "WHERE TargetInstance ISA \"Win32_NTLogEvent\" AND " "TargetInstance.LogFile=\"Application\""; QueryLanguage = "WQL"; }; instance of ActiveScriptEventConsumer as $CONSUMER { CreatorSID = {1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2, 0, 0}; Name = "CLASS_FIRST_TEST"; ScriptingEngine = "VBScript"; ScriptText = "some script"; }; instance of __FilterToConsumerBinding { CreatorSID = {1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2, 0, 0}; Consumer = $CONSUMER ; Filter = $FILTER ; }; And here is Log (Thu Jun 15 02:08:30 2017.69703) : Parsing MOF file: C:\WINDOWS\system32\WBEM\MOF\my.mof (Thu Jun 15 02:08:30 2017.69703) : MOF file has been successfully parsed (Thu Jun 15 02:08:30 2017.69703) : Storing data in the repository... (Thu Jun 15 02:08:30 2017.69734) : An error occurred while processing item 3 defined on lines 26 - 31 in file C:\WINDOWS\system32\WBEM\MOF\my.mof: (Thu Jun 15 02:08:30 2017.69734) : Error Number: 0x80010117, Facility: RPC Description: Call context cannot be accessed after call completed. I am on windows xp sp1 Can anybody tell why it is not working? Or is there something I am missing in MOF?
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 05:38.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license