Ok sir KHYI.
I'll detail you the steps i took.
First, downloaded your win 8.1 pe.
I the booted from the default win8.1 installatuon disk to delete all the partitions and again except the recovery drive.
Next, i booted from your pe. Remember the diskpart script? I followed that except for the parts where it will touch the recovery drive created. After that, using the win nt setup, i pointed to the respective partitions and this time, i used the custom.wim as the source file. Checked the wimboot option and that's it.
After successful installation, i rebooted. Everything's feel like factory default. However since the install is somewhat like first aid, i decided to reset the pc to achieve the full oobe experience. I checked reagentc then it said it is enabled with both the winre and recovery image pointing to partition 4 (default recovery partition) so i thought all was fine
Here's the problem
When i finally try to reset the pc, it allows me up to the point where i should see the manufacturer logo and the resetting percentage below it, but instead of the "resetting your pc x%", it just restarts and after booting into windows, a dialogue box appears saying there's a problem in resetting your pc.
Next, i tried the advance startup option to reset my pc there, but it then said insert your installation media.
This has become somewhat confusing now. But im still glad i have managed to restore the factory os, the only drawback is that i still cant use, reset/refresh.
Please help me soon sir KHYI? Am I getting close? I hope so,