Know some tips in XP - Part 2 (Troubleshooting Tips)
Troubleshooting Tips in XP
IPCONFIG Error
When you run IPCONFIG and get an error:
An internal error occured: The request is not supported.
Please contact Microsoft Product Support Services for further help.
Additional information: Unable to query routing information
You need to copy a clean TCPIP.SYS file to the \windows\system32\drivers directory and reboot.
You can download TCPIP.SYS from this link……..
--------------------------------------------------------------------------------------------
Repairing Damaged Winsock2The symptoms when Winsock2 is damaged shows when you try to release and renew the IP address using IPCONFIG.
And you get the following error message:
An error occurred while renewing interface 'Internet': An operation was attempted on something that is not a socket.
Also Internet Explorer may give the following error message:
The page cannot be displayed Additionally, you may have no IP address or no Automatic Private IP Addressing (APIPA) address, and you may be receiving IP packets but not sending them.
There are two easy ways to determine if Winsock2 is damaged:
From the XP source files, go to the Support / Tools directory
Winsock Test Method 1
Run netdiag
est:winsock
The end should say Winsock test ..... passed
Winsock Test Method 2
Run Msinfo32 Click on the + by ComponentsClick on the by NetworkClick on ProtocolThere should be 10 sections if the Winsock2 key is okMSAFD Tcpip [TCP/IP]
MSAFD Tcpip [UDP/IP]
RSVP UDP Service Provider
RSVP TCP Service Provider
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
If the names are anything different from those in this list, then likely Winsock2 is corrupted and needs to be repaired.
If you have any 3rd party software installed, the name MSAFD may be changed.
There should be no fewer than 10 sections.
To repair Winsock2
Run RegeditDelete the following two registry keys:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2
Download Reg file to delete these entries
Restart the computer Go to Network ConnectionsRight click and select PropertiesClick on the Install buttonSelect ProtocolClick on the Add buttonClick on the Have Disk buttonBrowse to the \Windows\inf directoryClick on the Open buttonClick on the OK buttonHighlight Internet Protocol (TCP/IP)Click on the OK buttonRebootOr Download Reg file to add the correct registries back in. Then reboot the computer
---------------------------------------------------------------------------------------------------------
Network Connection Always Shows Access DeniedIf you are always getting Access Denied errors when trying to connect to a XP computer,
and you know you have the correct user names and passwords on the computer,
the solution may be a simple registry edit.
Start RegeditGo to HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / LsaChange the value of a key called "restrictanonymous" to 0 instead of 1 Don't change "restrictanonymoussam" value.Reboot------------------------------------------------------------------------------------------
Additional Utilities in XP
On the XP CD in the \Support\Tools directory, there are a lot of additional support and troubleshooting utilities.
You can run SETUP from that directory to install them.
Just a few are:
diruse
Shows Disk Usage
dupfinder
Finds Duplicate files
getmac
Get's MAC address of the network card
hostname
Shows the host name of the computer
netdiag
Diagnoses a variety of network components
pviewer
Show a list of process and allows you to get a memory detail or kill any process
windiff
Compare files and directories
---------------------------------------------------------------------------------------------------------
Common Command Console UtilitiesWindowsXP comes with quite a few console utilities you can easily run from the command line:
Computer Management - compmgmt.msc
Disk Managment - diskmgmt.msc
Device Manager - devmgmt.msc
Disk Defrag - dfrg.msc
Event Viewer - eventvwr.msc
Shared Folders - fsmgmt.msc
Group Policies - gpedit.msc
Local Users and Groups - lusrmgr.msc
Performance Monitor - perfmon.msc
Resultant Set of Policies - rsop.msc
Local Security Settings - secpol.msc
Services - services.msc
Component Services - comexp.msc
----------------------------------------------------------------------------------------------------------
Determining Which Services are Associated with SVCHOSTSince so many critical services are run with each svchost,
You can see which ones are being used by opening a cmd prompt and running:
tasklist /svc /fi "imagename eq svchost.exe"
Note: This is available only with XP Pro
-----------------------------------------------------------------------------------------------------------
Running SFC without a CD ROMIf you run sfc /scannow and get prompted to insert a CD,
there are a couple of changes you might need to make.
Slipstream your copy of WindowsXP with the latest service pack you have applied.
For detailed unstructions on how to do this see:
SlipStreaming a Service Pack into Windows XP
Once these files are on your hard drive, you can simply make a few registry changes to point to those locations.
Start Regedit
Go to the follow locations and change the path to wherever you copied the source files.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath
the last one might not be necessary
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath
------------------------------------------------------------------------------------------------
Easy Way to Share Multiple FoldersIf you need to share multiple folders, running the program SHRPUBW.EXE will bring up a simple dialog box to let you:
Browse to the folder you want to shareEnter in a Share nameEnder in a Share descriptionSet permissions. Several choices are availableRestart the process from within the same program----------------------------------------------------------------------------------------------------
Not Viewing Zip Files as Folders
If you want to turn of WindowsXP showing Zip files as folders,
just run:
regsvr32 /u zipfldr.dll
-------------------------------------------------------------------------------------------------------
NTOSKRNL Missing or CorruptIf you get an error that NTOSKRNL not found:
Insert and boot from your WindowsXP CD.At the first R=Repair option, press the R keyPress the number that corresponds to the correct location for the installation of Windows you want to repair.Typically this will be #1Change to the drive that has the CD ROM.CD i386expand ntkrnlmp.ex_ C:\Windows\System32\ntoskrnl.exe If WindowsXP is installed in a different location, just make the necessary change to C:\WindowsTake out the CD ROM and type exit
--------------------------------------------------------------------------------
NTLDR or NTDETECT.COM Not Found
If you get an error that NTLDR is not found during bootup,
If you have FAT32 partitions, it is much simpler than with NTFS.
Just boot with a Win98 floppy and copy the NTLDR or NTDETECT.COM files
from the i386 directory to the root of the C:\ drive.
For NTFS:
Insert and boot from your WindowsXP CD.At the first R=Repair option, press the R keyPress the number that corresponds to the correct location for the installation of Windows you want to repair.Typically this will be #1Enter in the administrator password when requestedEnter in the following commands (X: is replaced by the actual drive letter that is assigned to the CD ROM drive.
COPY X:\i386\NTLDR C\:
COPY X:\i386\NTDETECT.COM C:\Take out the CD ROM and type exit
-------------------------------------------------------------------------------------------------
------ will continue ------
|