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.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017

Kernel Debugging & Crash Analysis for Windows, Nashua (Amherst) NH, 4 December 2017

Writing WDF Drivers I: Core Concepts, Nashua (Amherst) NH, 8 January 2018

WDF Drivers II: Advanced Implementation Techniques, Nashua (Amherst) NH, 15 January 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 7  
10 Mar 17 04:36
Alok Rathore
xxxxxx@gmail.com
Join Date: 28 Jan 2016
Posts To This List: 8
How to enable driver debugging during windows 8.1 and 10 installation?

During installation in Win7, by pressing F8 key advance boot option comes from which we can enable debugging mode. During installation in win8.1 and win10, on pressing of F8 key, advance boot option is not coming. Is there any key to bring it?
  Message 2 of 7  
10 Mar 17 07:19
ntdev member 168568
xxxxxx@gmail.com
Join Date:
Posts To This List: 180
How to enable driver debugging during windows 8.1 and 10 installation?

Installation media have a \Boot\BCD file that is the store that contains the medium boot options edited with BCDEDIT.EXE. I do extract the content of installation media into a hidden partition located at the very beginning of the disk. This installation medium is not read-only and, when booted, a CMD.EXE prompt can be used to repair an installed OS. Once the command prompt is running, BCDEDIT.EXE can be used to edit the medium boot options. You could also extract the DVD or ISO image content into a dedicated directory, edit the \Boot\BCD content and then rebuild the ISO image and burn it again. Don't forget to make the newly created ISO image bootable. To me the best option is to extrract the ISO image content into a USB stick, edit the boot options, make the USB stick bootable and finally boot the machine with the USB stick. Are you familiar with Microsoft ADK ? https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deploym ent-kit
  Message 3 of 7  
10 Mar 17 08:50
Alok Rathore
xxxxxx@gmail.com
Join Date: 28 Jan 2016
Posts To This List: 8
How to enable driver debugging during windows 8.1 and 10 installation?

I have already tried 2nd method, extracting the OS image, modified the BCD store to enable debug and then copied it to a bootable USB. In this case, debugging is enabled in the OS installed but not in the installation setup which runs from USB. But in my case, i would like to enable debugging to debug my driver which is loaded using "LoadDriver" option using setup. Let me check the 1st method which you suggested.
  Message 4 of 7  
13 Mar 17 13:52
Andrew Gaspar
xxxxxx@microsoft.com
Join Date: 28 Feb 2017
Posts To This List: 1
How to enable driver debugging during windows 8.1 and 10 installation?

Setup.exe actually has a parameter for enabling kernel debugging during set= up. If you run "setup.exe /debughelp" you can get more information. Specify= ing these debug parameters to setup will enable debugging when setup reboot= s the system. I'm not sure if this will enable debugging for the first reboot into the Sa= fe OS, or only for post-Safe OS, but you shouldn't need to debug the Safe O= S stage anyway.
  Message 5 of 7  
13 Mar 17 21:51
Mahmoud Al-Qudsi
xxxxxx@neosmart.net
Join Date: 09 Feb 2009
Posts To This List: 93
How to enable driver debugging during windows 8.1 and 10 installation?

Alok, from your post it sounds like you edited the BCD file in the extracted OS image aka WIM file. You only need to edit the BCD file in the \BCD folder in the root of the ISO image. When viewing the entries of the BCD, you'll see they refer to setup and not the Windows installation.
  Message 6 of 7  
20 Mar 17 06:43
Alok Rathore
xxxxxx@gmail.com
Join Date: 28 Jan 2016
Posts To This List: 8
How to enable driver debugging during windows 8.1 and 10 installation?

Andrew, We have tried launching Windows 8.1 installation using "setup.exe /debug:1 /baudrate:115200". In this case, debugging is enabled for the OS which is getting installed. But we are not able to debugging the initial installation phases. Also i could not execute setup with "setup.exe /debughelp". Mahmoud, Thanks for your reply. I have extracted the OS image, modified the BCD store [Drive:\boot\bcd] to enable debug and then copied the files to a bootable USB. In this case, debugging is enabled in the OS installed but not in the installation setup which runs from USB.
  Message 7 of 7  
20 Mar 17 09:18
Alok Rathore
xxxxxx@gmail.com
Join Date: 28 Jan 2016
Posts To This List: 8
How to enable driver debugging during windows 8.1 and 10 installation?

Update: When i enabled debug in the bcdstore in : Drive:\efi\microsoft\boot\bcd, debugging is enabled during setup. Thanks for your support.
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 12:11.


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