I would like to listen to music while in safe mode. I have tried to start the audio service manually, but it returns error code 1068.
I would also accept a solution in C or C++ if programming is necessary to do this.
(The easiest way would be to start Windows in normal mode, but I like challenges)
54 Answers
This is how to do it in Windows XP:
- Run (⊞Win+R)
regedit - Press Ctrl+F
- Make sure
Keys,Values, andDataare all selected - Type in
Sound, video and game controllers - Click
[Find Next] - Take note of the branch address in the status bar at the bottom (it will be something like
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96C-E325-11CE-BFC1-09002BE10318}) - Copy the device-driver GUID (the long numeric part between braces) and paste it somewhere like Notepad
- Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network - Create a new key (right-click, select New → Key)
- Copy the GUID you saved and paste it into the key name
- Edit the
(Default)value and typeSound, video and game controllers - Create several new keys (under Network) called
AudioEndpointBuilder,MMCSSandAudiosrv - Edit the
(Default)values of each of the new keys and typeService - Reboot (you’ll boot into safe-mode)
- Open the Services snap-in (⊞Win+R →
services.msc) - Start the Multimedia Class Scheduler, Windows Audio Endpoint Builder, and Windows Audio Service services
bookingtohosting.blogspot.com writes you could not only enable sound in safe mode but also printer by starting the print spooler service or it could be any service just by adding the service to safe service list.
How to start Audio Service in safe mode
To Start Audio service in safe mode you also need to start all of its dependent services first.Windows Audio service depends on these three services so add them to safe service list and then start these service from command prompt.
- Windows Audio Endpoint Builder (AudioEndpointBuilder)
- Multimedia Class Scheduler (MMCSS)
- Windows Audio (Audiosrv)
You could start these services in safe mode using command line by typing the following commands.
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\AudioEndpointBuilder" /VE /T REG_SZ /F /D "Service" net start AudioEndpointBuilder REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MMCSS" /VE /T REG_SZ /F /D "Service" net start MMCSS REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\Audiosrv" /VE /T REG_SZ /F /D "Service" net start Audiosrv.Now after this you would be able to start audio.
Note :- Similarly to start Print Spooler service in safe mode add Spooler to safe service list and start it.
- Press Windows + R, type
devmgmt.msc, press Enter and look for your sound device. (e.g. Realtek High Definition Audio) Double-click it. Go to the tab 'Details' and click the drop-down list. Select 'Driver key' and copy the text from 'Value'
Copy the text into a word processor (e.g. Notepad)
- Replace all lower-case letters with capital letters and remove the
\0000. Open Registry Editor (Windows + R >
regedit) and locateHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network.Create a new key (Rightclick > New > Key)
Copy the text from your word processor and paste it into the key name.
Edit the '(Default)' key and type 'Sound, video and game controllers'.
- Create a new key called 'AudioEndpointBuilder', 'MMCSS' and 'Audiosrv'
Edit all their '(Default)' keys and type 'Service'.
Restart your computer
Go to Services (Windows + R >
services.msc) and start Multimedia Class Scheduler and Windows Audio Endpoint Builder.Then start Windows Audio Service
Use start > run > services.msc
Enable
Plug and Play Service
Windows Audio Service