Enable Audio in safemode

Page 1 of 2 12 LastLast

  1. Posts : 1,523
    windows 10 PRO
       #1

    Enable Audio in safemode


    Been researching how to do this, best option seems to be creating registry entries.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Network\{4D36E96C-E325-11CE-BFC1-08002BE10318}]
    @="[6cFgE][Sound, video and game controllers]"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Network\{640167b4-59b0-47a6-b335-a6b3c0695aea}]
    @="Portable Media Devices"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Network\AudioEndpointBuilder]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Network\Audiosrv]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Network\HdAudAddService]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Network\HDAudBus]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Network\drmkaud]
    @="Driver"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Network\MMCSS]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Minimal\{4D36E96C-E325-11CE-BFC1-08002BE10318}]
    @="[6cFgE][Sound, video and game controllers]"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Minimal\{640167b4-59b0-47a6-b335-a6b3c0695aea}]
    @="Portable Media Devices"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Minimal\AudioEndpointBuilder]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Minimal\Audiosrv]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Minimal\HdAudAddService]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Minimal\HDAudBus]
    @="Service"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Minimal\drmkaud]
    @="Driver"


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\Minimal\MMCSS]
    @="Service"
    This worked, but another person said to use the `driver key` to name the new registry key....but the above procedure seems to have a default name, or am i missing something....wonder if this could be used for any PC
    thanks
    PS what does the [6cFgE] in @="[6cFgE][Sound, video and game controllers]" do ?
      My Computer


  2. Posts : 1,800
    10 Home 64-bit | v22H2 | Build - 19045.3930
       #2

    Hi,

    We would have to research more to check those keys, but the [6cFgE] is a component ID for semiconductors. See: http://6CFGE Datasheet | www.alldatasheet.com Where'd you get all those entries?
      My Computers


  3. Posts : 1,523
    windows 10 PRO
    Thread Starter
       #3

    It was a Batch file found in a forum, to enable audio in safe mode, ran it on my PC and Laptop and audio works in safe mode...just wondered if this instruction identified the 'driver key' automatically....or if it's working with some sort of default 'driver key'
    i suppose it's possible to copy the e.g. Minimal boot entries, rename and add with extra entries...e.g.rnable audio and or installer service.....just a thought.
      My Computer


  4. Posts : 1,800
    10 Home 64-bit | v22H2 | Build - 19045.3930
       #4

    ...just wondered if this instruction identified the 'driver key' automatically....or if it's working with some sort of default 'driver key'
    It's automatic and not a default. Hypothetically; If you have two or more sound devices, it's working with the sound device and the drivers for it. You make this choice through the sound properties gui.

    • Software key
      A driver's software key is also called its driver key because the registry contains a software key for each driver. The registry contains a list of all of the device classes, and each driver's software key resides under its device class entry. The system stores information about each driver under its software key.
      Your driver can call WdfFdoInitOpenRegistryKey and WdfDeviceOpenRegistryKey to open its software key.
      For more information about software keys, see The HKLM\SYSTEM\CurrentControlSet\Control Tree.


    Source: https://Introduction to Registry Keys for Drivers | msdn.microsoft.com
    It's not a long read and explains the procedures a driver goes through to make software and hardware work when you click that icon. As long as what you did is working, I'd let it alone.
      My Computers


  5. Posts : 1,523
    windows 10 PRO
    Thread Starter
       #5

    Thankyou, so Do I need to copy the driver key text individually, and use this for the new registry key.....as the driver key is different for my laptop and PC.....

    thanks

    PS I read the article, but it's a bit out of my league I am afraid...
      My Computer


  6. Posts : 1,800
    10 Home 64-bit | v22H2 | Build - 19045.3930
       #6

    You're welcome,

    It'd be harder individually, keep it as a batch file and run it, it's automatic remember? If you haven't already, make sure you have your registry backed up. System Restore Point - Create in Windows 10
      My Computers


  7. Posts : 1,523
    windows 10 PRO
    Thread Starter
       #7

    Attached batch file for adding audio with safe mode

      My Computer


  8. Posts : 1,800
    10 Home 64-bit | v22H2 | Build - 19045.3930
       #8

    You're welcome.
      My Computers


  9. Posts : 1,523
    windows 10 PRO
    Thread Starter
       #9

    Not wishing to " flog a dead horse" but which part of the batch file makes it automatic ?
      My Computer


  10. Posts : 1,800
    10 Home 64-bit | v22H2 | Build - 19045.3930
       #10

    When you save a file with the .bat extension and then run it either by double-clicking on it within Windows or typing in its file name at a CMD prompt and touching Enter.
    With batch files, which are also called batch programs or scripts, you can simplify routine or repetitive tasks. A batch file is an unformatted text file that contains one or more commands and has a .bat or .cmd file name extension. When you type the file name at the command prompt, Cmd.exe runs the commands sequentially as they appear in the file.

    Source: https://Using batch files | technet.microsoft.com
    Related:
    How to run a batch file Click on Batch File Help for more.
    How to Write a Batch Script on Windows










      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:30.
Find Us




Windows 10 Forums