OldDriver
Specifies the path and file name of the previous driver on the target computer. The syntax for OldDriver is the same as that of the first line after map in a driver replacement file. For more information about this syntax, see Mapping Driver Files.
NewDriver
Specifies the path and file name of the new driver. This driver can be on the host computer or at some other network location. The syntax for NewDriver is the same as that of the second line after map in a driver replacement file. For more information about this syntax, see Mapping Driver Files.
For more information about and examples of driver replacement and the replacement of other kernel-mode modules, a description of the format for driver replacement map files, and restrictions for using this feature, see Mapping Driver Files.
If you use the .kdfiles command without parameters, the debugger displays the path and name of the current driver replacement map file and the current set of replacement associations.
When you run this command, the specified MapFilefile is read. If the file is not found or if it does not contain text in the proper format, the debugger displays a message that states, "Unable to load file associations".
If the specified file is in the correct driver replacement map file format, the debugger loads the file's contents and uses them as the driver replacement map. This map remains until you exit the debugger, or until you issue another .kdfiles command.
To use user mode .kdfiles support, you need to first enable kernel symbol loading using the !gflag +ksl debugger command or configure the ksl global flags in the registry. For more information about gflag, see !gflag.
Be careful to appropriately qualify the .kdfiles paths for user mode .kdfiles. It is a bad idea to just match ntdll.dll (instead of system32\ntdll.dll) as otherwise the Wow64 NTDLL will get replaced with the native one. Similar situations can arise with other ambiguous substring matches.
After build 20172, the user mode .kdfiles mechanism will attempt to pull files from the debugger until one attempt fails; then, the file name that failed to be pulled will not be tried again for the boot session, without manual intervention from the debugger to modify the target system state. On earlier builds, the user mode .kdfiles mechanism will make one attempt (whether successful or not) to pull a given file name per boot session. These policies reduce the overhead of communicating with the debugger for files that are not in the kdfiles list, or that are inaccessible for replacement, such as due to sharing violations from processes that may have already loaded a given file. Because of this behavior, it is generally advisable to configure any files to pull in the .kdfiles list up front, before they would first be referenced.
Obtaining an initial break point is a necessary first step towards using .kdfiles for a boot driver, but
.kdfiles can fail to work for reasons completely unrelated to the initial break point. Ditto logging.
It would be really helpful to me if i get a solution to replace Nt kernel into debug version.
By Replacing Nt Kernel debug version i could collect detailed logs of NT kernel and make sure if windows kernel is getting BSOD due to mydrivrer.sys which is an BOOT_START_DRIVER.
It would be really helpful to me if i get a solution to replace Nt
kernel into debug version.
By Replacing Nt Kernel debug version i could collect detailed logs of
NT kernel and make sure if windows kernel is getting BSOD due to
mydrivrer.sys which is an BOOT_START_DRIVER.
In looking at the history of Windows driver development, there are some significant highpoints. Windows 2000, for example, introduced Driver Verifier which is the single greatest gift ever to be bestowed upon driver writers. This set the bar pretty high for what the next next Windows release, Windows XP, would bring. But I think we can all agree that XP really delivered. After all, it introduced three awesome features:
Developing drivers on Windows requires two machines: a host machine for development and a target machine for running the driver under test. We never, ever want to run our driver on our development machine for fear of corrupting our system from the incessant crashing of our buggy driver.
If at any point we want to clear the current set of mappings, we can use the /c switch to the .kdfiles command. Beware though that KDFiles overwrites the driver image on the target, so clearing the mapping does not actually revert the version of the driver.
We mentioned at the start that KDFiles is now even more useful, but how is that? Well, it turns out that the Boot Debugger also supports driver replacement. This means that you can automatically update your boot start drivers, which are otherwise a pain to update during development. To do this, you simply need to make sure that the boot debugger is enabled on your target machine using bcdedit:
Are you having problems opening a KD file or are you simply curious about its contents? We're here to explain the properties of these files and provide you with software that can open or handle your KD files.
While we do not yet describe the KD file format and its common uses, we do know which programs are known to open these files, as we receive dozens of suggestions from users like yourself every day about specific file types and which programs they use to open them.
We are continually working on adding more file type descriptions to the site, so if you have information about KD files that you think will help others, please use the Update Info link below to submit it to us - we'd love to hear from you!
These apps are known to open certain types of KD files. Remember, different programs may use KD files for different purposes, so you may need to try out a few of them to be able to open your specific file.
Not sure exactly what type of file you are trying to open? Try our new File Analyzer. It is a free tool that can identify more than 11,000 different kinds of files - most likely yours too! It will help you find software that can handle your specific type of file. Download File Analyzer here.
New functions:
increased maximal usable RAM from 2 to 4 GB
Reading of 12 (twelve) new spectrum file formats:
- Amptek XRF spectra (*.mca)
- Spectra Vista Corp. HR-1024i reflectance spectra (*.sig)
- Bruker AXS Handheld Inc. S1PXRF Spektrum (*.csv)
- Broadcom/ rgb photonics spectra from Waves software (*.spz), including multi-spectrum files
- Audiodev/ NXT ETA-ARC spectrometer (*.spk)
- OLIS SpectraWorks spectra (*.ols)
- Ocean Insight Nanoquest spectra (*.spectrum)
- Avantes Avasoft v6/v7 binary files (*.roh, *.abs, *.trm, *.irr)
- IRUBIS FTIR spectra (*.hdf5)
Reading of JCAMP-DX (*.dx/jdx) files with ASDF and DIFDUP compression (finally!)
Reading of Agilent *.sd/ *.kd files up to 50x faster
On reading Bruker OPUS binary files, optionally load all data blocks. Set option from File > Options > File > "load all data blocks from Bruker OPUS binary files"
On reading Bruker *.dpt files, ask for axis types (not clear from the file)
On reading Hitach *.uds files: detect and read multi-spectrum files
On reading of Agilent Cary 630 FTIR Microlab *.asp spectra, detect wavelength as x axis type
On reading and saving *.spc files, handle more x axis types (microns, GigaHertz, Pixels)
Spectra ribbon: added "Redo" functionality
Spectra ribbon: new y axis type "irradiance". Units are W/cm^2/nm or mW/m^2/nm. Recognize irradiance data on reading Stellarnet, Avantes and Broadcom spectra
Spectra ribbon: show spectrum properties from button in Spectra tab's button row. Click on spectrum trace or legend text to update content for selected spectrum.
Spectra ribbon > Multi Cursor: show y value text in same colour as spectrum.
Spectra ribbon: allow use of HTML tags in custom axis names => general ability to use sub/superscript in axis titles
Spectra ribbon > Edit Legend text: show spectrum number in left-side gutter. Improved speed for "Replace" and "Replace by filename" functions.
Spectra ribbon > Spectroscope view: switch assigned spectrum by clicking on spectrum trace or legend text entry
Spectra ribbon: simultaneous multi-library search and search results display for multiple spectra. Access and configure options from Analyze ribbon
Identify ribbon: create a default search definition for newly started libraries
Identify ribbon: new "Library conversion" button for single-click creation of Spectragryph library from OMNIC and GRAMS library files
Identify ribbon: 20x faster "spectral similarity" search, beginning with the 2nd search run (due to array caching)
Identify-Ribbon: enter, keep and display meta data and molecular structures for reference spectra. Automated reading of meta data from JCAMP-DX files, OMNIC libraries and GRAMS SpectralID libraries. Automated reading of molecular structures from GRAMS SpectralID libraries.
Acquire ribbon: live multi-library search and search results display as post-processing option
Acquire ribbon: control FTIR spectrometers from Arcoptix, set hardware options from Acquisition settings. File > Options allows to asssign settings file and auto-connect on sw start
Acquire ribbon: control modular UV/VIS spectrometers from Broadcom (formerly: rgb photonics). Max. acquisition rate: 70 spectra/sec. File > Options allows to assign settings file and auto-connect on sw start
Acquire ribbon: dynamic dark subtraction + sensitivity correction (info from EEPROM) for ASEQ as option in Acquire => device-specific settings
Acquire ribbon: measure Irradiance spectrum with ASEQ spectrometer (calibration taken from EEPROM)
Acquire ribbon: measure Irradiance spectrum with Avantes spectrometer (check "use intensity calibration" from Acquisition settings)
Acquire ribbon: measure Irradiance spectrum with Stellarnet spectrometers (only after assigning an irradiance calibration *.cal file from Acquisition settings)
Analyze ribbon > Analyze Mixture: quantitative analysis of a mixture of known components by multilinear regression
Analyze ribbon > Gaussian Deconvolution: create spectrum approximation from Gaussian peaks. based on found peaks and peak FWHM vaules. Finding threshold either noise-based or by percentage of max, Gaussian peak width taken from FWHM (=> still experimental, problem with strongly overlapping peaks)
Changes:
Software UI/ icons improvements:
- App Styles: removed "Office2003" and "Office2007" styles, also "WinXP" and "WinVista"
- In File > Options: improved display of section tabs, more consistent display on changing app style
- Quick Access Toolbar (top row of software window): button size and spacing more Office-like
- Spectra ribbon: allow to switch background color when no spectrum is loaded
- Spectra ribbon: display wavenumbers and Raman Shift unit cm^-1 with "-1" as superscript
On saving as JCAMP-DX (*.dx), include ##MINY, ##MAXY and ##FIRSTY labels, more digits for ##DELTAX, ##FIRSTX and ##LASTX labels
Acquire ribbon > Settings: updated icons for post-processing options
new logo for Thunderoptics spectrometers
Bug fixes:
improved reading of Agilent *.kd-Spektren: check for occurence of NAN/ INF numbers
improved reading of Agilent *.kd-Spektren: improved end of file detection
improved reading of csv files (in case of first line =first line of data for files without header section)
improved reading of csv files (in case of data without header, but empty lines on top)
improved reading of csv files: files from Cary 630 FTIR spectromters working again
improved reading of Shimadzu *.spc spectra type II
improved reading of binary PerkinElmer *.sp spectra: if axisy type not found, use default types from File > Options > default for unknown axes
improved reading of binary PerkinElmer *.sp spectra: do not read beyond end of file if data block too small (PerkinElmer implementation failure)
improved reading of Labcognition *.uvd files (y axis type "T%" instead of "%T")
File open: on selecting "THERMO Nicolet OMNIC software (*.spa, *.spg)" as file type, show those files in file open window
On loading *txt files resp. *.csv file, have Axis type and Data type window colors follow the app style (in dark modes gray/black)
General: prevent error messages on user interactions when no tab is present (most buttons were affected)
Improved on-the-fly style reconfiguration for existing tabs on switching to dark app styles (Office 2016 black, Office 2019 black)
Automate section now fully compliant with dark app styles (Office 2016 black, Office 2019 black)
On "Duplicate this tab", use the current app style for the new tab
EEM ribbon: better adaption to dark app themes
Consistent use of line colour when processing with "delete original" option and then use Duplicate tab or Undo
Spectra ribbon > Custom Sort: have text visible when software is in dark style
Spectra ribbon: re-enabled spectrum selection in Dropdown
Spectra tab: On switching between spectra tabs, show the correct grid line style in the "Show Grid" button's dropdown menu
Spectra tab: no more error message, if using "Edit Legend text" after having used "Spectrum properties"
Spectra tab: always select correct spectrum in "Spectra" ribbon's spectrum properties dropdown list, when clicking on a legend text
Spectra tab: create Undo item on spectrum removal with CTRL-LeftMouse in spectrum plot
Spectra tab: On activating peak labels, show highest peak label for all y axis types with upward pointing labels
Spectra tab: allow manual adding of peak labels in manual peak labelling mode, after erasing all peak labels
Spectra tab: have "spectroscopy view" immediately follow changed x axis (on zooming, scrolling, ...
Spectra tab > Spectroscope view: if activated, show proper colours if "Transmittance 0-100%" is choosen, same for Reflectance%
Spectra tab: on calculating transmittance, reflectance or absorbance from intensity, adapt display to axis types of new spectra
Switched icons for MSC and Detrending functions back to correct display (in Process ribbon)
Identify tab: show some labels with correct text size
Identify ribbon: read OMNIC library files containing null characters
Advanced Baseline with "create baseline" option works again
Interpolate/Resample to pixel as x axis type now works for acquired Raman spectra that had been done with Pixel => wavelength => RamanShift transformation
Acquire-Ribbon: in left-side dropdown menu, reorganized "dark subtraction" and "blank subtraction"
Acquire ribbon: prevent unnecessary setting of exposure time while refreshing ribbon interface (this caused hickups and/or unexplained intensity jumps with some Stellarnet and Andor devices)
Acquire ribbon: For spectra acquired from USB webcams with exposure time in 2x format, show correct unit msec (was seconds before)
File > Options > Acquire > auto-connect works again for all spectrometer types
allow "Spectrum from Image..." even if no spectrum is present
File > Save/Export Data > Batch Export Data: on changing folder name, start with current folder in folder selection window