Author Topic: Stops Network  (Read 11971 times)

0 Members and 1 Guest are viewing this topic.

Offline tgacomp

  • Newbie
  • *
  • Join Date: Aug 2012
  • Posts: 10
  • Karma: 0
    • View Profile
Stops Network
« on: March 23, 2014, 04:26:14 pm »
After running Tweaking All IN One (latest version) on a few Win XP computers I have had a problem with the network not working and the only way I could fix it was by reload TCP/IP with this method:
https://www.computing.vt.edu/kb/entry/2433
The network was working ok before running Tweaking

Regards, Steve

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Stops Network
« Reply #1 on: March 24, 2014, 12:33:52 pm »
That is odd, I have ran it on a lot of xp machines and never had any trouble. I will install xp fresh in vmware and do a full repair and see if I can get it to happen.

The repair winsock for xp does

netsh winsock reset catalog
netsh int ip reset C:\ip_reset.txt
ipconfig /flushdns
ipconfig /registerdns

Those shouldn't cause any problems as those are normal built in Windows commands.

Also the restore import Windows services does restore some services but none that I am aware of that deal with the tcp/ip, you can see what regfiles under the files folder and regfiles in the program folder.

Just to clarify what version of the Windows repair are you using?

Shane

Offline tgacomp

  • Newbie
  • *
  • Join Date: Aug 2012
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Stops Network
« Reply #2 on: March 24, 2014, 02:38:16 pm »
version 2.5.1. All the computers had viruses removed first so maybe some combination of the virus and Tweaking?


I have a suggestion for a new fix for the User profile error which is faily common, fix here:
http://community.spiceworks.com/how_to/show/11671-resolving-the-user-profile-service-failed-the-logon-user-profile-cannot-be-loaded

Regards, Steve

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Stops Network
« Reply #3 on: March 24, 2014, 03:03:38 pm »
Could be something with the virus.

I just installed Windows XP pro with SP3 in vmware, then ran all the repairs in the program, rebooted and network was still working fine.

Which virus was it that was on the systems, and did you run all the repairs?

I know some virus root kits like TDSS will hook itself to the network.

Shane

Offline tgacomp

  • Newbie
  • *
  • Join Date: Aug 2012
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Stops Network
« Reply #4 on: March 24, 2014, 05:19:27 pm »
It had the Trojan agent virus amoungst others. Just ran the default fixes.
I will be doing another one in about a day will let you know if it has the same outcome

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Stops Network
« Reply #5 on: March 24, 2014, 05:20:21 pm »
If we could trace down which repair is doing it as well would be helpful.

Skip the winsock repair and see how that does, since that is the one repair that targets the network. :wink:

Shane

Offline tgacomp

  • Newbie
  • *
  • Join Date: Aug 2012
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Stops Network
« Reply #6 on: March 25, 2014, 02:59:40 pm »
Yes it seems to be the Winsock fix, I ran all the defaults except the Winsock one first and no problem, then ran the winsock one by itself but then couldn't access the internet. I had to uninstall and reload the network card driver on this one to get it working again.
The PC had Trojan.Agent/Gen-SSHNAS and Win32.Agent.sjf viruses removed first.

I did also notice the defaults have 2x fixes for Win 8 but I assume these don't do anything on a non-Win 8 PC

Regards, Steve

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Stops Network
« Reply #7 on: March 25, 2014, 03:14:50 pm »
Correct the Windows 8 repairs will be auto skipped if your not on 8 :-)

Ok the Winsock repair saves the registry keys for the network adapter, such as IP address and such, it does this in case someone has a static IP set.

It runs this bat command to export out the network settings

start /wait REGEDIT /E C:\network.reg "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces"

Then it does these commands on xp

netsh winsock reset catalog
netsh int ip reset C:\ip_reset.txt
ipconfig /flushdns
ipconfig /registerdns

And then it imports the registry keys it backed up so that any static IP info will be put back.

And that is all. So the question is, is one of the commands breaking it, try those commands on the system manually and see what happens.

Shane

Offline tgacomp

  • Newbie
  • *
  • Join Date: Aug 2012
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Stops Network
« Reply #8 on: March 26, 2014, 01:47:20 pm »
Ok Ill try that with the next one.
What code does it user to re-import the registry key?

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Stops Network
« Reply #9 on: March 26, 2014, 01:52:38 pm »
Just double click the reg file that was made or

start /wait REGEDIT /S C:\network.reg

Shane

Offline tgacomp

  • Newbie
  • *
  • Join Date: Aug 2012
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Stops Network
« Reply #10 on: March 26, 2014, 01:58:40 pm »
One thought that came to mind- the last one I did C: wasn't the boot drive I think it was F: or such (I have seen this on PCs with card readers installed where Windows decides to make the boot drive the letter after the last card reader. I don't know if that would affect it as it can't write to C:

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Stops Network
« Reply #11 on: March 26, 2014, 02:03:24 pm »
I just put C:\ for the example. The script in the program actually puts it in the temp folder of the current user it is running under. :wink:

Since I dont know the path to the temp folder on the machines your own I just changed it to the root of C:\

Shane

Offline tgacomp

  • Newbie
  • *
  • Join Date: Aug 2012
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Stops Network
« Reply #12 on: March 27, 2014, 04:55:43 pm »
I tried each of the commands individually and no problems but then I ran all the defaults and the network stopped working, so I am guessing there must be something else in tweaking thats not in the individual commands. I also noticed that in Control panel there are 2x "Network Connections" I have noticed this on 2x PC now after running Tweaking

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Stops Network
« Reply #13 on: March 27, 2014, 06:03:24 pm »
Only difference is the program runs it twice, once as the current user and then again under the system account.

I wonder if that might be what is causing the problem.

Shane