Monday, March 2, 2015

How to enable sound in Safe mode


Safe mode starts Windows with a limited set of files and drivers. Startup programs don't run in safe mode, and only the basic drivers needed to start Windows are installed or loaded.

Safe mode is useful for troubleshooting problems with programs and drivers that might not start correctly or that might prevent Windows from starting correctly. If a problem doesn't reappear when you start in safe mode, you can eliminate the default settings and basic device drivers as possible causes. 

Objective:- the objective of writing this article is to tell you how to enable sound in safe mode which is not by default enabled in safe mode.Sometimes we need to enable sound in safe mode while doing troubleshooting as services of sound device either have a conflict with any other services in normal mode or any Malware or virus stop services for sound from loading or running properly.


After reading this article you would be able to enable sound in safe mode so in other words you would be able to play audio songs in safe mode.

How to enable sound in safe mode

When the computer is in safe mode, the Windows Audio service isn’t started so you would not be able to play any sound that might have been caused by any other driver or software which is conflicting with sound driver or the security software or may be any malware or viruses.So in this case you might want to check if the sound is coming in safe mode but you could not do that as the Audio service and drivers are not loaded.So that's the time we are going to use this troubleshooting steps to start the windows Audio service in safe mode to enable sound in safe mode .

So to start any service in safe mode you have to first make it a safe service by adding the name of the service in safe mode services load list and then starting the service in safe mode using services.msc or net start command.

But if you want to start the service of any hardware device in safe mode whose drivers are not loaded in safe mode by default, It would not start and rather you will get an error, so in order to start the service of any hardware in safe mode you would also need to make the driver of that hardware load in safe mode by adding its drivers key in safe mode driver list.

To know the driver key of any hardware

Step 1. Open the device manager by typing Devmgmt.msc at run.

Step 2.  Go to the Device type and expand it by clicking on the triangle or the plus sign and then right click on the device you want to load driver for in safe mode.As we have right clicked on the Realtech High Definition Audio in the picture below for the sound driver.

Enable sound in safe mode
Enable sound in safe mode

Step 3. Click on the properties and go to the details tab > select Driver Key under property drop down list and it will show you the value of Driver key. Make a note of the value with brackets ( {4d36e96c-e325-11ce-bfc1-08002be10318} ) after removing \0007 , by copying it to a notepad.

Enable sound in safe mode
Enable sound in safe mode






To Enable sound in Safe Mode

Step 1. Go to run and type Regedit to open registry editor.

Step 2. In Registry Editor Navigate to the following location 

 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot

start windows installer in safe mode
List of services in safe mode with networking
Step 3. Now if you expand SafeBoot key here you would find two sub keys named minimal and network so the minimal is for normal safe mode and network is for safe mode with networking.Here you have to expand the one according to your environment you are logged into if you have started the computer in safe mode with networking then expand Network otherwise minimal.

Step 4. Now here under Network / Minimal create a key to load the driver of sound by right clicking on it and selecting  --> New Key and copy the Driver Key after removing \0007 and Replaing all lower-case letters with capital letters and paste it into the key name as shown in the picture below.


Audio driver in safe mode
Audio driver in safe mode
Step 5. Now on the right side edit the '(Default)' key and change the value data to device type name as for me it would be 'Sound, video and game controllers'.


Enable device to load its driver in safe mode
Enable device to load its driver in safe mode

Step 7. Now to start the sound in safe mode you also need to enable all of its dependent services which are AudioEndpointBuilder, MMCSS and Audiosrv. So create a new key for each called 'AudioEndpointBuilder', 'MMCSS' and 'Audiosrv' under the same location HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal.

Edit all their '(Default)' keys on the right pane and type 'Service' under Value data.


enable sound in Safe mode
Start dependent services for Audio in safe mode

Step 8. Now restart the computer in safe mode and type the following command line on the command prompt run as administrator to finally start the Audio services in safe mode.

net start AudioEndpointBuilder
net start MMCSS
net start Audiosrv

And the sound is enabled in safe mode now.You can now go ahead and play a songs in safe mode.

Watch the below video on "How to enable sound in Safe mode on Windows 8?"

After I restarted the computer in safe mode and clicked on the audio icon, the sound started working in safe mode on Windows 8.
Sound enabled in safe mode on Windows 8
Enable sound in safe mode on Windows 8





Reactions:

24 comments:

  1. Loved your instructions and followed them exactly UNTIL I tried to create a new key and a box popped up and said I did not have permission to do that. Dead end. Unfortunately your instructions I guess never envisioned such a roadblock. Now what??

    ReplyDelete
    Replies
    1. Well Mr./Ms. Anonymous, If you are getting the permission error while editing, then you must take the ownership of the parent key before you create a new sub key under it. So right click on safeboot key > Select Permissions > Click on Advanced button > Click the Owner tab and Select your username from the list > and check the box which says Replace owner and Click Apply. If you do not see your username under the list of users then add your user name in the list first then a new Permission Entry window would pop-up, here Check the Allow Full Control box and Click OK.

      Delete
    2. Came seeking one solution, and stumbled upon the mother load to most of my setbacks. Permissions. Thank you.

      Delete
    3. You are welcome Robert !! And thanks for the visit

      Delete
  2. I understand the instructions up until editing the (Default) key. Am I modifying that name? Because it wont be changed. Also, am I creating AudioEndpointBuilder, MMCSS, and Audiosrv under the same location?

    ReplyDelete
    Replies
    1. Thank for commenting Jason, I have just corrected the article also to make it more clear.And to answer your question- You are not modifying the name of (Default) key , you just need to set its value data to define its type for Driver key it would be 'Sound, video and game controllers' and for services it would be 'Service' as value data. And yes you are creating AudioEndpointBuilder, MMCSS, and Audiosrv under the same location.

      Delete
    2. Still NOT clear "under the same location?" Is this under NETWORK LOCATION or THE NEW KEY LOCATION? Either way I tried them both to the letter and no sound at all. Lastest error is that MCCS could not be started on local computer or in safe mode. Plus at the end of your instructions there is nothing just reboot. Well when did that was asked about nothing? Another guy has exact instructions until the end when he says go into services and START EACH OF THOSE KEYS which was a bit of light but can not start them there when I opened new keys under THE ACTUAL KEY. When I sopened new keys from NETWORK (which was not clear) and followed the last bit of the other guys instructions keys started but still no sound.

      Delete
  3. its showing "system error 1068 has occurred" just after i entered Audiosrv in command prompt

    ReplyDelete
    Replies
    1. Error 1068 is dependency service stopped or failure indication.You must be starting Audiosrv first . Try to Start "AudioEndpointBuilder" and "MMCSS" first then run the command "net start Audiosrv" to start the windows audio service.

      Delete
  4. after typing "net start AudioEndpointBuilder" in command prompt aS ADMINISTRATOR ...ERROR MESSAGE "THIS SERVICE CANNOT BE STARTED IN SAFE MODE"

    ReplyDelete
    Replies
    1. You must not have added its driver in the same mode driver load list before running this command. in order to start the service of any hardware in safe mode you would also need to make the driver of that hardware load in safe mode by adding its drivers key in safe mode driver list.

      Please follow the steps all over from step 1 through 8 mentioned on this page.

      Delete
  5. Replies
    1. Me too! I am null at tech stuff and you explained it so well. Just had a hard timet o find "run" under W10 but right-click mouse and found it to type "regedit". Thanks so much!

      Delete
  6. when i restart and run the net start commands it says that they are already running. What should i do?

    ReplyDelete
  7. after restarting I tried to run the net start commands, but my computer said the programs were already running. What should i do?

    ReplyDelete
  8. It told me AudioEndpointBuilder has started successfully but it said right after system error 1084 occurred right after i typed start MMCS and said cannot be started in safe mode.The audiosrv was started successfully. Where did I go wrong? Email @ vontana0527@outlook.com

    ReplyDelete
  9. Everything works fine, just update the folder name from Minimal to Network. It will work like charms.

    ReplyDelete
  10. Gõ dòng lệnh "net start AudioEndpointBuilder net start MMCSS net start Audiosrv" vào lệnh chạy nhắc như quản trị thì làm cách nào? Bạn có thể hướng dẫn tôi bước 8, cảm ơn!

    ReplyDelete

  11. Type the command "net start net start MMCSS AudioEndpointBuilder Audiosrv net start" to run the command prompt as administrator, then how? Can you guide me step 8, thanks!

    ReplyDelete
  12. Once i enter "net start AudioEndpointBuilder" "net start MMCSS" or "net start Audiosrv" in the command prompt, and it says that it's invalid

    ReplyDelete
    Replies
    1. Did you run the command as administrator. open command prompt as administrator and then try those command otherwise just rename the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network and Network to minimal as commented by Gurjas

      Delete
  13. When I put "net start _____" in the command prompt it says it's invalid?

    ReplyDelete