473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Attach CSV volumes from filter driver during system startup

We have written a filter driver to track Hyper-V CSV volumes in order to track the modifications in those volumes for backup purpose. When the Hyper-V host is running, we are able to attach the CSV volumes from the driver without any issues. But during Hyper-V host startup, our driver failed to attach the csv volumes.

We suspect that filter driver failed to attach CSV volume, since Cluster service was not started at that point of time during the system start up. If we attach the CSV volume later, it works. However, for the continuous tracking we want our driver to track the modifications from the system startup itself. I believe, we need to load the filter driver once after the csv service is started.

Configurations of filter driver are as following(inf file).

Expand|Select|Wrap|Line Numbers
  1. DisplayName      = %ServiceName%
  2. Description      = %ServiceDescription%
  3. ServiceBinary    = %12%\%DriverName%.sys        ;%windir%\system32\drivers\
  4. Dependencies     = FltMgr
  5. ServiceType      = 2                            ;SERVICE_FILE_SYSTEM_DRIVER
  6. StartType        = 2                            ;SERVICE_SYSTEM_START
  7. ErrorControl     = 1                            ;SERVICE_ERROR_NORMAL
  8. LoadOrderGroup   = "FSFilter Activity Monitor"
  9. AddReg           = Minispy.AddRegistry
  10.  
  11. ;Instances specific information.
  12. DefaultInstance         = "Minispy - Top Instance"
  13. Instance1.Name          = "Minispy - Middle Instance"
  14. Instance1.Altitude      = "370000"
  15. Instance1.Flags         = 0x1          ; Suppress automatic attachments
  16. Instance2.Name          = "Minispy - Bottom Instance"
  17. Instance2.Altitude      = "361000"
  18. Instance2.Flags         = 0x1          ; Suppress automatic attachments
  19. Instance3.Name          = "Minispy - Top Instance"
  20. Instance3.Altitude      = "385100"
  21. Instance3.Flags         = 0x1          ; Suppress automatic attachment
Can you please let us know how to fix this issue? Whether we need to change any configuration in inf file?
Apr 11 '15 #1
0 2011

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: matt breedlove | last post by:
(x-posted to microsoft.public.dotnet.general and microsoft.public.dotnet.languages.vb) Hello all. I am currently creating a Windows Service using VB.NET and would like to return an error if...
1
by: Raj | last post by:
what I want to do is start a process in a windows system (2000/XP) at the system startup without the user having to login. I know the best option for this is to write the app as a service. I tried...
8
by: noe | last post by:
Hello all devs!! I’m a student and I’m developing my Final Project in the University. I have to develop a driver for Windows XP that work so: I have a file in the HD (NTFS file system) of my PC...
2
by: DJMonte | last post by:
I have a C# program that is scheduled to run at system startup. When a user logs into the machine, how can I show a status screen of the running application? I tried with a NotifyIcon but the icon...
8
by: ZhangZQ | last post by:
How to make the Windows to run a console program during OS startup, like the Chkdsk program to do when the OS does not shutdown properly? Now I want to run my program instead of Chkdsk during the...
2
by: Charles Law | last post by:
I want to intercept operations on serial ports (much like PortMon from SysInternals), and I think I need a filter driver. Is that correct, and can one be written in VB.NET? If it is possible,...
4
by: Larry | last post by:
I have a Perl script using DBD::DB2, that runs during system startup on a Solaris system. The script is working fine during startup on many machines, except on one machine it fails complaining...
2
by: hugomind | last post by:
Hi, I've downloaded den Microsoft DDK 3790.1830 and there is an example under 3790.1830\src\storage\filters\diskperf I've compiled this one and would like to know where I could find the...
3
by: catoblepa80 | last post by:
Good morning, i'm developing an application for my company, in particular i have this need.. i have to copy a file from a place to another (tipically a network storage). i have the problem when the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.