Restore a deleted Windows 10 service

BorjaZD

New Member
Hello,
Is there any way to restore a deleted service?
a while back when I did my Windows 10 LTSC 2019 Lite, I removed the Windows Connect Now (WCN) service, but now I've realized that I need it to connect my laptop to my TV wirelessly.

could add it without having to reinstall everything?
Thank you very much.
borjazd
 
Extract the service from the registry of a mounted image, controlset001, then import it into yours.
I did this for pmikep and it worked :)
 
Thank you for your answer Clanger, but can you explain a litttle bit more how to do this? or where can I find a tutorial?
because this is new for me
thanks ;)
 
Deleted service or component?

Missing services can be recreated, by copying reg keys.
Missing components require a licensed copy of NTLite to perform a host refresh.
 
Missing services can be recreated, by copying reg keys.
I sent pmikep the reg file from my pc to him, he imported it, restart and the service was reinstalled for him, windows update(or related) i think it was.

BorjaZD garlin can you send him the reg file, if not i can do it, will take me 30 minutes tops.
 
BorjaZD import/merge Windows Connect Now (WCN) service 01.reg into your regsitry and restart.
Windows Connect Now (WCN) service 01.reg = controlset001
Windows Connect Now (WCN) service 02.reg = currentcontrolset - you might not need this one because controlset001 is the master location and windows should add the service to currentcontrolset(current logged in user) on its own, will need to reboot, maybe twice possibly.
 

Attachments

  • Windows Connect Now (WCN) service 01.reg
    4.5 KB
  • Windows Connect Now (WCN) service 02.reg
    4.6 KB
Last edited:
Wow! Thank you so much Clanger for taking your time preparing the registry edit for me.
My doubt now is, how i do that? Click on the .reg you sent me and add to registry right?
I did this but now I don’t find where is the key installed in regedit, can you please tell me the path?
 
BorjaZD
Code:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\wcncsvc] <-- the Master location
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wcncsvc] <-- the current user location
 
Last edited:
I find the service on the services list, but i cannot start it, I receive this message when i try to start the service:

Error 1053: The service did not respond to the start or control request in a timely fashion
so I think that will finally have to reinstall windows :(

thank you for your great help ;)
 
is it the same fresh windows iso from which OS is installed to your machine & captured reg hive from to be merged from a PE { reg merging must not via current installed OS but via a PE }
load > merge > unload > reboot to main OS
 
ahhh I tried that to the current installed OS, maybe that's the reason why it is not working.

So I have to create a PE windows ISO with NTLITE from the original full win 10 iso right?
 
is wcnsvc dll the same version of the iso build you are using.
cross check dependencies of the service.
 
is wcnsvc dll the same version of the iso build you are using.
cross check dependencies of the service.
I searched information about the service and it has no dependencies, but I think the wcnswc.dll I got is a different version, as I downloaded it from internet. (didn't know it has to be exactly the same version)
so I have to install a full ISO of the same OS in another partition and copy the DLL right?
 
copy *.dlls from the same fresh iso to your current installed os & see if it works for you
pl cross check both directories for same dlls ie system32 & syswow64 . if you see dlls on both directories replace them from mounted install wim same path.

Edit : i got mine tree as from mounted install wim but as i can cross check mine machine current installed os no any same dlls are present for me too :

+---System32
| WcnApi.dll
| wcncsvc.dll
| WcnEapAuthProxy.dll
| WcnEapPeerProxy.dll
| WcnNetsh.dll
| wcnwiz.dll
|
\---SysWOW64
WcnApi.dll
wcncsvc.dll
wcnwiz.dll
 
Last edited by a moderator:
is it the same fresh windows iso from which OS is installed to your machine & captured reg hive from to be merged from a PE { reg merging must not via current installed OS but via a PE }
load > merge > unload > reboot to main OS
Hi, I copied everything as you said, all the dll's from the original windows installed in other partition, to the actual installation, but nothing worked.
also did a copy of the registry entry of the service but also nothing worked, what i didnt know how to do is the offline registry export with the winpe usb.
I installed a winpe usb but once i booted it, I enter the winpe desktop and dont know hot to do it exactly.
i'm close to surrender, or should I try the win pe option?
 
open regedit on pe
click once on HKLM
go to File > Load Hive
select system from installed os system32\config
enter key Name as OfflineSYSTEM
now expand HKLM & there you will see OfflineSYSTEM
rest all you know.

after doing everything click on OfflineSYSTEM once go to File again on TOP left side of regedit click unload Hive.
reboot system to your installed OS.

Edit : Pl never ever Gave up on anything even it results in no sleep till days weeks or even months > even if you wont succeed you will learn new things & that will be great.

For me i never ever gave up till is succeed in anything (related to any work i do even my "official work , research , computing or anything"
 
Hello, thank you again for taking your time to help, and your good motivation words!
This is how we should think hehe

Regarding the situation, I arrive to the step of system32/config
Where I have to enter the key name? Is that a folder that I have to create inside config?
Where exactly I enter the key name OfflineSYSTEM?
 
when you select SYSTEM from Installed OS "Windows\System32\Config" a pop up will ask you to enter a new key name to load the complete selected reg hive in that name to your PE HKLM path.

In that pop up you can write anything but as example i suggest you to write "OfflineSYSTEM"

i hope it will make you understand :)
 
Back
Top