Dear R.V.G.D. Iroshan
Welcome to Microsoft Community.
I understand that you are currently experiencing two problems: Windows modules installer is taking up too much memory and update issues.
Windows modules installer is used to modify or replace system files when installing Windows Update, or installing certain installation packages released by Microsoft. At the same time, some users also responded to the process will be mobilized during disk cleanup.
So I think the issue of Windows modules installer taking up too much memory and the issue of not being able to update is likely to be one and the same. So let's prioritize trying to fix the update issue.
There can be many reasons for not being able to update, such as unstable network that prevents the download of the update file, Windows Update Service not being activated, update cache files interfering, and so on. Therefore we can't immediately determine the root cause of the problem, you can try the following basic troubleshooting options first to help us narrow down the problem.
- Windows update Troubleshooting Select Start> Settings> Update & Security> Troubleshoot> Additional troubleshooters. Next, under Get up and running, select Windows Update > Run the troubleshooter. When the troubleshooter is finished running, it's a good idea to restart your device. Next, check for new updates. Select Start> Settings > Update & Security> Windows Update> Check for updates and then install any available updates.
- Clean the system update cache Please close all applications (including background applications, especially Adobe applications) and then run the command prompt as administrator (*logo key "*Win" + "Q", enter *"cmd", select "*Run as administrator"), and enter the following commands one by one.
net stop wuauserv<br><br><br><br> net stop bits<br><br><br><br> net stop cryptsvc<br><br><br><br> rd /s /q c:\Windows\SoftwareDistribution<br><br><br><br> rd /s /q %temp%<br><br><br><br> rd /s /q c:\Windows\temp<br><br><br><br> net start wuauserv<br><br><br><br> sc config wuauserv start=auto<br><br><br><br> net start bits<br><br><br><br> sc config bits start=auto<br><br><br><br> net start cryptsvc<br><br><br><br> sc config cryptsvc start=auto - Replace the network environment.
- Control Panel-Network and Internet-Network and Sharing Centre-Change adapter settings,right-click on the name of the network you are currently connected to, click Properties, click on "Internet Protocol version 4Click "Internet Protocol Version 4", then click Properties, and in the dialogue box that pops up, click "Use the following DNS server address", and enter "4.2.2.1" and "4.2.2.2" respectively. "Click OK.
- Open: Control Panel-Network and Internet-Internet Options-Advanced-Restore Advanced Settings-Apply-OK, Connections-LAN Settings, make sure Auto Detectis checked and Proxy Serveris unchecked, then click OK.
- Locate: C:\WINDOWS\system32\drivers\etc to find the hosts file to cut to the desktop(i.e., clear the operation of the host).
- In the taskbar search box, type "cmd", right-click on the command prompt, select Run as administrator, the command prompt window to execute the following command: netsh winsock reset Enter, and then restart the computer.
- Restart the update service. Type "services" in the search box, find Windows update in the services, disable it and then enable it again.
Please share the information with me as this will determine our next steps.
We look forward to your reply.
Best Regards,
LucyW-MSFT | Microsoft Community Support Specialist