How to remap / retasking Realtek onboard jacks / ports

If you’re using Realtek onboard soundcard and for whatever reasons wants to remap / retask the rear jacks or front panel jacks to anything you want hopefully you’ll find this useful

For example, in my case, because i’m not using a computer case (in other words, i just left my motherboard open) and i don’t have a standalone front panel and at the same time i want to connect my headphone to the rear grey jack / side speakers jack (by default headphone can be connected only to the front panel jack) while also connecting a 5.1 analog speakers setup to the rear jacks (green, black, and orange)

Anyway to make thing short, here’s the steps:

0. Download the latest driver available because there are differences between the pin numbers used if you’re using old drivers, uninstall the old driver, restart your system, install the new driver and then restart your system once again (at the time i write this, the latest version is R267, and so this post is based and tested using their R267 driver for the 64-bit systems)

1. Make sure that you’ve plugged everything that you need first into your Realtek Jacks (whether front panel jacks if you have it or rear jacks). For example, in my case, i already connected the headphone to the side speakers jack (grey colored jack)

2. Open regedit by typing regedit at the run command (press Windows Key + R and then type regedit) and then locate the following registry key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\00XX\Settings\DrvYYYY_DevType_YYYY_SSYYYYYYYY

Where, XX should be the key for Realtek High Definition Audio (usually it is 0000 but if it’s not the correct key for Realtek HD Audio then you should look for the correct key. You can tell whether the registry key is for Realtek HD Audio or not by looking at the DriverDesc which is located at the right panel) and Y are random numbers

3. Create a new Binary registry key(s) using below Pin Numbers and Binary Values

The Old Pin Numbers (just in case it’s needed somehow)

"Pin00" = Front speakers (rear green)
"Pin01" = Rear speakers (rear black)
"Pin02" = Center / Sub-woofer (rear orange)
"Pin03" = Side speakers (rear gray)
"Pin04" = Mic-in (rear pink)
"Pin05" = Front Mic-In (front pink)
"Pin06" = Line-in (rear blue)
"Pin07" = Front Headphone (front green)

The New Pin Numbers

"Pin10" = Line-in (rear blue)
"Pin11" = Mic-in (rear pink)
"Pin14" = Front speakers (rear green)
"Pin15" = Rear speakers (rear black)
"Pin16" = Center / Sub-woofer (rear orange)
"Pin17" = Side speakers (rear gray)
"Pin19" = Front Mic-In (front pink)
"Pin1b" = Front Headphone (front green)

Binary Values

"00 00 00 00" = Line-in
"01 00 00 00" = Mic-in
"02 00 00 00" = Headphones
“03 00 00 00″ = Front speakers 2nd Output
"04 00 00 00" = Front speakers
"05 00 00 00" = Rear speakers
"06 00 00 00" = Center / sub-woofer
"07 00 00 00" = Side speakers

For example if you want to map the rear side speakers jack into a front headphone jack, all you have to do is just write Pin17 binary key with a binary value of 02 00 00 00 as you can see below

Remapping / Retasking Realtek jacks by editing registry

Note that i didn’t test any other Pin Numbers besides Pin17 (because what i want is remapping / retasking the side speakers jack into headphone jack and it work right away)

4. Restart your system when you’re done adjusting it and after logging into Windows, try testing your newly remapped jack(s).

As a bonus, the remapped / retasked jack(s) can also be seen directly on Realtek HD Audio Manager so you can tell if you’re doing it right. As you can see below, the default rear gray that is for Side speakers has been changed into Headphones

Remapped / Retasked Realtek HD Audio Manager

Credits goes to Ulti for finding the method and Tnitro21 and Eliah_ for finding the values (link)

Comment?

Note: Comment may not appear right away.

104 comments on “How to remap / retasking Realtek onboard jacks / ports

  1. “03 00 00 00” = Front speakers 2nd Output

    thanks for this, but was quite lengthy to get the config I wanted until I realised 03 was missing from the list! perhaps you could add it for the next guy.

    1. Thanks Brad! i’ve updated the post and i’m sorry for the delay in response because i haven’t checked my blog for quite some time and when i checked i was overwhelmed by the number of spam that goes through

  2. This is brilliant! I’m hoping it will save me from what appears to be a failed ‘stereo front output’ (the green socket’ I’ll attempt this very soon …..many thanks!

  3. heyo! Thank you for the post, solved my problem.
    I got an amplifier and headphones connected to rear of mobo (Realtek HD Audio); after upgrading from XP to W7 my headphones didn´t play music, realtek audio manager considered headphones as something different (side speakers), when unplugin / plugin wasn´t asked for new device. After research of several posts with the classic “restart ur pc”, disable / enable driver, configure as 7.1 etc. I found that the “modify registry” is the way to go: followed the path in regedit till i found the “Pin17” (grey), modified the value “07 00 00 00” for “02 00 00 00”, restart and It´s done.
    I know this thread is old but problems with Realtek drivers are still there.
    As a suggestion, before doing anything, make sure you have the right drivers for your motherboard, when in need of realtek hd drivers you may go to Official site

    Thanks again Reaper.

  4. I have a Toshiba Portege R700 and my headphone jack is bust. I have no idea if my soundcard (the default one that came with the laptop), will support jack retasking. I’ve tried creating the binary’s in the registry editor but nothing has worked so far.. Help?!?!? :S

  5. but the most important is the front audio cable comes from PC case. it should be real isolated sense switch build in front pink and green port.

  6. I tried this out, and was updated to R270. I am on a laptop, and the pins I started with were 14,17,18 and 1a. Even with your changes they seem to override to the originals. Any ideas? I would love to be able to use my mic with 5.1, but it maps the mic port to another front speaker.

    1. Did you get a prompt when plugging the connector into your soundcard jacks? i’m not sure about the laptop version (if it’s differ from the desktop version) but on desktop PC, on their R270 version, Realtek offer the remapping feature directly on their Realtek HD Audio Manager (so it’s better to use it instead, unless you don’t want to use R270 for specific reason) and you don’t even need to restart to apply your changes so i’m thinking that’s probably the reason the originals override your customization :)

  7. Dude, you just saved me a fukton of agony. I found my green jack to be defective for my fronts and I was able to remap them to the grey side jack! Thanks

  8. just to clarify, I tried both of these separately and removing/rebooting before trying the other so conflict is not an option

    1. Also I’d like to know if it’s mandatory to download the latest driver, now R270. I ask because that seems like a generic realtek driver but apparently there are also specific drivers for the ALC888 so I don’t know which to install

    2. I apologize. I messed up this section with so many comments. You should read only my first comment and then this one.
      I successfully remapped the orange connector to act as front output for listenting, but the sound quality is very inferior. Very bright with almost no bass. Has this ever happened to you?
      Also I manage to do this same remapping in linux (with a different procedure of course) and the result is the same. Remapping works but the sound is bad.
      Could this be a hardware limitation? What do you think.
      Thanks in advance

    3. No problem Mertin :) … and for your first question. I can’t remember exactly the version number of the Realtek R267 Driver i used when creating this post because i’ve switched into R270 and i’ve deleted the old R267 from my HDD (btw the exact version number displayed for R270 is 6.0.1.6602) and oh i’m also using Realtek ALC888 (previously i’m using it on ALC885) and the driver i’m using is the generic HD Audio Codec Driver from realtek.com website

      About your second question actually the sound quality is just the same for me, in fact i’m remapping my analog rear speakers to act as front speakers so i can hear sounds from all speakers when used on 2 channel audio / stereo sources i want without any upmixing performed lol … think of it like the Stereo Xpand feature from X-Fi soundcard :)

      Also i just tested remapping the Orange jack (default is sub/center) into Front Speaker, so in the end there are two Front Speakers defined (Green and Orange; link to the screenshots below) just to check whether it’s only for particular jack but in my opinion the sound quality remains the same. I also tested it by setting Orange as Front Speaker only while setting the Green into something else to make sure the Orange is the only one outputting sound

      http://img.reaper-x.com/blogs/misc/realtek-default-green-mapping.png (default for green is front speaker)
      http://img.reaper-x.com/blogs/misc/realtek-hd-orange-jack-remap.png (default for orange is sub/center)

  9. hi,
    I’m on W XP and have a Realtek ALC888 sound card, and the info page of the realtek manager says driver is HD Audio, version 5.10.0.5506.
    The Realtek Audio Manager doesn’t allow me to do remapping, so I tried your registry trick to remap a mic or center jack to act as front output, but it simply doesn’t work.
    I tried both old and new pin numbers. For example to remap a center orange to front output, I tried creating pin02 and pin16, both with value 04 00 00 00, but after reboot nothing changes. At no point the audio manager shows anything different and the audio just doesn’t come out. It’s like this trick doesn’t work at all for me. Do you have any advice?
    Thanks

  10. Hi Reaper!

    Thanks for this tutorial!
    I used this method to map my Rear-Speaker-Jack to the Front-Speakers-Out and it worked.
    But afterwards I decided, that it would be more useful to map it to the Headphone-Out. So I changed the Datavalue of Pin15 to “02 00 00 00” and restarted.
    Unluckily it overwrites the settings after each restart. So I’m not able to map once more. It only worked one time!
    I tried reinstalling the driver – doesn’t work.
    I tried deleting the whole registry-driver-folder (0009), but it just creates a new one with the same settings!

    Do you got any suggestions on how to fix this?

    Thanks for help!

    1. Unfortunately i never experienced such problem because the setting persist even after restart as long as i don’t remove/disconnect the cable from the jack.

      I’d try disconnecting the cable first and then remove the pin registry key and then restart the computer and then connect the cable and add the pin registry value once again and restart … or … uninstall the driver and after restarting make sure that all the registry key for realtek has been removed and if it still exist then delete the keys (make sure to create backup when attempting this), and then connect the cable and add the pin registry value and restart

    2. batch it, and call the batch @ startup using a Startup Script GroupPolicy

      script @ gpedit.msc > Local Comp. Policy > Comp. Config. > Win. Settings > Scripts (Startup).

      Add ‘regPinFIX.bat’ policy, in the batch just modify using

      reg /import PinUpdate1.reg

      (where PinUpdate1 contains an export of your config @ GUID 4D36E96C-E325-11CE-BFC1-08002BE10318

  11. Very Useful Tutorial. Btw, is it possible to clone the output sound from a Sound Card (Mine is a Asus Xonar Phoebus) to the onboard ? Im building a VU Meter with LEDs on my wall, and i need to connect it to a jack port. Although, i dont want to connect it to a Y jack, outputted from the sound card, because that will lead to a loss in the audio. Cloning/Replicating the sound signals given by the sound card to the onboard audio card, would be the perfect solution. Would be really pleased if you could reply. Thank You

    1. I’m sorry for the delay in response. About your question, have you tried using Virtual Audio Cable / VAC (Shareware)? maybe that’s what you’re looking for

  12. I tried this and found everything you said. However, when I change the mic-in to headphone it changes it back to mic-in as soon as I plug something into it? Any ideas?

  13. Title=”HELP PLEASE THIS IS IMPORTANT”> hi im max a gamer.. my Headphone jack took so much blows like while my hf were plugged in it i would fall on the ground or someone might bump it and it just got so out of hand it broke, i tamperd w/ it for a while untill its just trash it will never be fixed again.. so i have a healthy Mic jack and its realteck so it think its Mappable lol and i wonder if i can do it with the latest Soft Wear and not go into Regedit because i get so confused and stressed i cant do it though Regedit… Too much problems, plus i need that jack for my headset and i have the mic coverd i use a webcam its all good.. so please HELP!!!!!!!!!!!!!!!!!!!! I am downloading R270 atm and i had R268 so idk!!!!!!!!!!!!

  14. Thanks so much Reaper I was looking for something like this since somehow wouldn’t let me remap the ports. This how to has helped me alot.

  15. Hey there :) I don’t know if you can help me, but my problem is the following: My Realtek HD Audio Manager confuses my rear pink jack with my rear orange jack. Can I do something with this? I’ve edited the pins according to this guide but I’m kinda stuck…

    1. Nevemind I’ve just realised that that jack is indeed orange. This piece of crap computer simply has no pink jack. Well isn’t that wonderful? :)

    2. Hi it’s me again, your friendly neighbourhood Rico… I thought I might tell you that I did find my pink jack after all… It was well hidden at another section at the back of the PC…

  16. The old realtek drivers 6013_PG289_R240 allow for retasking of jacks. Not sure how many different realtek onboard soundcards it works with, but I have been using these drivers with xp and win7 x64 for a long time since the newer drivers don’t support retasking.

    1. Any chance you could link to/upload these drivers? I’m in desperate need and google uncovers nothing :)

    2. First of all i’m sorry for the delay in response(well they said it’s better late than never :) and perhaps it’ll be useful to anyone that came to this page in the future) and although i’m not the person you asked about the R240 driver but just in case you don’t know this, the latest (at the time i write this) R270 driver that is released on June 2012, support retasking. All you have to do is just plug your headphones/speakers jack and you’ll get a prompt :)

  17. I’m trying to follow this guide for the end goal of remapping my audio jacks. I’m using realtek ac ’97 from their website (as my board has an ac ’97 sound implemented into it), and I don’t see anything in the “settings” portion of the registry. there is no other folder, just some registry values that can be edited. Any idea how I can remap my pins?

    1. I’m sorry but i have no idea about the AC97 driver because the mainboard i’m using is using Realtek HD Codec :(

  18. if i have IDT 92XX series audio driver then what can i do.

    (Motherboard – INTEL DG965RY)
    (OS – WIndows XP Professional)

  19. I guess if anyone knows how to access those options behind the “device advanced settings” link on the top right corner of the Realtek Audio Manager, because mine doesn’t show it. Are there specific keys that handle those options, especially the “Separate all input jacks as independent input devices” thing?

    1. Based from what i found (after a quick tracing). Realtek HD Audio Manager change below registry key:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Settings

      at the JackCtrl registry key (note that the type is REG_BINARY)

      1. “Mute the rear output device, when a front headphone plugged in” (the default value), the value is:

      7f 86 00 00

      2. “Make front and rear output devices playback two different audio streams simultaneously” the value is:

      3f 87 00 00

      I’m not sure on why it doesn’t appear on your system, because i can open the device advanced settings directly on the Realtek Audio Manager :)