Author Topic: Register more system files  (Read 639 times)

0 Members and 1 Guest are viewing this topic.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 8648
  • Location: UK
  • Karma: 115
    • View Profile
Re: Register more system files
« Reply #15 on: September 28, 2019, 01:32:26 PM »
I don't know how WR repairs Windows Update but the cmds I was talking about are manual to reset the update components -

net stop wuauserv

net stop cryptSvc

net stop bits

net stop msiserver

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

ren C:\Windows\System32\catroot2 catroot2.old

net start wuauserv

net start cryptSvc

net start bits

net start msiserver
Tom.

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1101
  • Karma: 18
    • View Profile
Re: Register more system files
« Reply #16 on: September 28, 2019, 03:31:25 PM »
- Nope. "Repair Windows Update" DOES NOT rename that one folder, it simply DELETES that folder.

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1101
  • Karma: 18
    • View Profile
Re: Register more system files
« Reply #17 on: October 06, 2019, 03:18:24 PM »
- Add the following lines (in bold) to "Repair Firewall":

%SystemRoot%\system32\regsvr32.exe "C:\Windows\System32\firewallapi.dll" /s
%SystemRoot%\system32\regsvr32.exe "C:\Windows\System32\firewallControlPanel.dll" /s

IF EXIST C:\Windows\syswow64(
%SystemRoot%\sysWOW64\regsvr32.exe "C:\Windows\SysWOW64\firewallapi.dll" /s
%SystemRoot%\sysWOW64\regsvr32.exe "C:\Windows\SysWOW64\firewallControlPanel.dll" /s
)


The last 3 lines are only executed on a 64 bit system thanks to the "IF EXIST" line.

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1101
  • Karma: 18
    • View Profile
Re: Register more system files
« Reply #18 on: October 06, 2019, 04:03:38 PM »
- Reply #15 raises an interesting question. Some of the Updates are packaged in (a) *.MSI or *.MSP file or files (plural). E.g. in the latest .NET Framework v4.8 version. Should commands that are used for "Repair MSI" be included in "Repair Windows Update" as well ?


- With .NET version v4.7 one had to install the file "d3dcompiler_47.dll" (KB 4019990, Windows 7) as well. But this file doesn't only show up in the folders for "Internet Explorer" but also in "system32" and "syswow64". To be added to "Register System Files" !!!
- I also came across the files "d3dcompiler_41.dll" and "d3dcompiler_43.dll" (in system32 & sysywow64) as well. To be added to "Register System Files" as well ???
« Last Edit: October 06, 2019, 07:47:49 PM by Willy2 »

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1101
  • Karma: 18
    • View Profile
Re: Register more system files
« Reply #19 on: October 06, 2019, 04:09:22 PM »
- "msihnd.dll" seems to be related to MSI.
https://www.win7dll.info/msihnd_dll.html

Therefore I think it must be registered in "Repair MSI" as well.