Windows 7 – High CPU & Memory Usage : svchost & wuauserv

November 24, 2016

At some point in time you might get to the point where you notice that you PC is getting warm and the ventilator is running continuously ?

image

If you start to investigate it using the Task Manager, you will see that the CPU runs high on the svchost.exe  process?

But what does it mean ?

image

If you right click the svchost.exe you can select Go to Services …

image

It jumps to the services Tab. And highlights all related services linked to this process …

image

Once of them will be the wuauserv Service which is running.

Stop the Service and you will see the CPU drops immediately.

image

Next use the steps below to resolve the root cause of the issue.

http://superuser.com/questions/821032/svchost-exe-high-memory-usage-wuauserv

Run as Administrator
net stop wuauserv

net stop bits

rd /s /q %windir%\softwaredistribution

net start bits

net start wuauserv

wuauclt.exe /detectnow

If this does not help install the once below :

https://support.microsoft.com/en-us/kb/3050265

https://support.microsoft.com/en-us/kb/3102810

I tried many other things, but no success … Sad smile

image

Finally this one did the trick ?

KB3172605

https://support.microsoft.com/en-us/kb/3172605

After installing and reboot it got stuck on this ? Sad smile

image

Solution :

Do a hard stop (press the power key to shut down) and restart in SAFE MODE

image

Once restarted I logged on again, and ‘voila’ Smile

image

The updates started coming in Smile Smile

See Also :

Win 7 Convenience Rollup Update

http://www.howtogeek.com/255435/how-to-update-windows-7-all-at-once-with-microsofts-convenience-rollup/

http://catalog.update.microsoft.com/v7/site/Install.aspx?q=3125574&referringpage=Search.aspx

More interesting tips here :

http://superuser.com/questions/944574/windows-update-doesnt-work-and-consumes-100-of-cpu-win7-sp1/997067#997067

http://www.infoworld.com/article/3086811/microsoft-windows/microsoft-releases-kb-3161647-kb-3161608-to-fix-slow-windows-7-update-scans.html

Advertisements

Windows – Unlocking the Local Security Policy on a Computer

November 24, 2016

When a PC is part of a Domain, you can run into the problem that the settings are locked out.

Because of the Domain Sec. Policy is overruling the local Policy Sad smile

Solution :

Read here : https://blogs.msdn.microsoft.com/muaddib/2006/11/04/unlocking-the-local-security-policy-on-a-computer/

  1. Log onto the computer with an Administrator account.
  2. Start the Local Security Settings MMC (SECPOL.MSC)
  3. Export the current security settings to an INF file by right clicking the top node in the MMC and selecting Export from the context menu. (for Windows XP see additional information below) and name the file “current.inf” (name is not important)
  4. Open a blank MMC (Start > Run MMC)
  5. Add the Security Configuration and Analysis snap-in.         image
  6. Right-click the top node in Security Configuration and Analysis and select “New Database” and then save the database.
  7. image
  8. When prompted to import a security template use the one exported in step 3 above (current.inf)
  9. Now right click Security Configuration and Analysis and select “Analyze Computer Now”.
  10. Now browse to the setting you want to modify.  You will notice the database setting and computer settings are the same in all cases.  Double-click the setting and make changes.  Repeat for each setting you want to modify.
  11. When you are finished making changes, right-click top node and select “Configure Computer Now” and you changes will be applied.

Works like a charm Smile

Enjoy !


Windows 10 – DNS Configuration

November 13, 2016

Ones I was totally amazed to see that once I connected a Windows 10 machine in the network. Everyone started shouting that they could not reach the internet ?

The phone was red ringing complaints Call me

After a long time I saw the connection between the new machine and the incident ?

 

Investigating and a bit of internet search delivered me the following :

 

Windows 10 Configuration settings (DNS issues on network)

Solution :

http://social.technet.microsoft.com/wiki/contents/articles/3336.event-id-1014-microsoft-windows-dns-client.aspx

 

User Action

Method one: Disable RSS, Autotuning, and Taskoffload

1.   Run the following command in an elevated command prompt in Windows 7:

netsh interface tcp set global rss=disabled

netsh interface tcp set global autotuninglevel=disabled

netsh int ip set global taskoffload=disabled

 

2.  Disable the Scalable Networking Pack (SNP) in Windows 7 by changing the registry settings as follows:

Perform a full-system backup before you disable the SNP.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]

EnableTCPChimney=dword:00000000
EnableTCPA=dword:00000000
EnableRSS=dword:00000000
If the registry keys do not exist, create them, and then assign the previous values.

 

Method two : Disable TCP/IP v6

To disable TCP/IP v6

1.  Click Start, click Control Panel, click Network and Internet, and then click
View network status and tasks.

2.  In the left pane, click Manage Network Connections.

3.  Right-click Local Area Connection, and then click Properties.

4.  In the pop-up box, clear the Internet Protocol Version 6 (TCP/IPv6) check box.
5.  Click OK, and then restart your computer.

 

To enable TCP/IP v6

1.  Follow steps 1 through 3 in the previous procedure.

2.  In the pop-up box, select the Internet Protocol Version 6 (TCP/IPv6) check box.

3.  Click OK, and then restart your computer.

 

Method three: Enable the spanning tree portfast setting in your router

This action varies depending on your infrastructure router. Consult your manufacturer for further details.

 

Method four: Set you router and PC to communicate on same channel and standard manualy

1. Go to your router admin page which should be 192.168.1.1 (confirm with router manufacturer).
2. Navigate to WiFi settings and choose a channel which should comply with your location, for ex: 11. Save.
3. Choose Standard to broadcast WiFi signal as G only not abgn, bgn, gn (If your router is N capable and any PC in your home/office is only G ready). Save.
4. Go to your PC Network and Sharing Center (Windows 7) and Click on Change Adapter Settings, select you WiFi adapter, right click and choose Properties.
5. In pop up window select Configure, in next window click on Advance tab and browse settings there and choose same channel you choose in you router for ex: 11 and the same standard as G not abgn, bgn or gn. Save and Exit.

 

Method 1 solved the network issues. Smile

Enjoy!


Windows 10 – Error connecting attempted failed to L2TP VPN host

November 13, 2016

When connecting using a Windows 10 Home Edition I got this message :

The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer.

While a Windows Pro version did connect immediately ?

 

SOLUTION :

Make sure that these 2 service are started.

IKE and AuthIP IPsec Keying Modules” and “IPsec Policy Agent

https://technet.microsoft.com/en-us/library/ee922683(v=ws.10).aspx

The IKE and AuthIP IPsec Keying Modules service is required to support L2TP/IPsec and IKEv2 tunnels

https://technet.microsoft.com/en-us/library/cc733289(v=ws.10).aspx

 

image

 

Both services are disabled by default in the home ed.

Problem resolved.