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)