該工具可以協助解決大部分的用戶問題,全自動化無需安裝。
老早寫的,還是拿出來透透氣吧。不過下面的詳細文檔全是E文的,水平有限,估計蠻多語法錯誤之類,看得懂的就看看吧。
echo =========================================
echo Please select your choice and press Enter
echo =========================================
echo.
echo 1.Auto Recovery XP
echo.
echo 2.Reinstall TCP/IP
echo.
echo 3.Remove Temp Files
echo.
echo. 4.Refresh DNS Records
echo.
echo. 5.Reset Network Settings
echo.
echo. 6.Reset Internet Explorer
echo.
echo. 7.Reset Windows XP
echo.
echo. 8.Reboot computer
echo.
echo 0.Quit
echo.
There are eight integrated tools and one external tool (srvinfo.exe) as below:
· For the usage of each tools, you can type ‘command/?’ under command line to get all information, which will not be included in this section.
A common problem in the history of the Microsoft Windows operating systems has been the ability for shared system files to be overwritten by non-operating system installation programs. After such changes are made, the user may experience unpredictable system performance, ranging from application errors to operating system crashes. This problem affects several types of files--most commonly dynamic link libraries (.dll) and executable files (.exe)..
A Windows temporary file is created under the following three circumstances:
1. Windows Desktop applications, such as Write, and multiple document interface (MDI) applications, such as Excel, create temporary files to handle necessary user editing. Because a Desktop application cannot have multiple documents open at once, it must immediately create a temporary file that allows you to undo any editing. MDI applications create temporary files only when necessary (for related editing), rather than for every worksheet that is open.
2. When you run an MS-DOS-based standard application with Windows/286, Windows/286 creates a temporary file (for example, ~PIFCHFA.TMP) so that it can swap to disk to make room for other applications to use memory.
3. When you print from Windows or any Windows-based application with the spooler enabled, Windows creates temporary files on the hard disk. Windows spools the print job to the temporary file and then sends it to the appropriate printer as a background operation. Common tool, which used with a ‘/all’ switch, displays the common settings of TCP/IP protocol for each adapter.
A scripting utility introduced in Windows 2000, is used to display the IP interface and routing information.
|
|
Netsh int ip reset resetlog.txt |
|
A common command to register IE and system DLL files.
A common command to register all DLL system files.
A command console introduced in Windows XP, is used to cleanup DNS cache file.
A command line displays and modifies the IP-to-Physical address translation tables used by
address resolution protocol (ARP).
|
Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts. |
A command-line tool that displays protocol statistics and current TCP/IP connections using NBT
|
Purges and reloads the remote cache name table |
|
Sends Name Release packets to WINS and then, starts Refresh |
A common tool, displays a information of the IP address.
|
Purges the DNS Resolver cache. |
|
Refreshes all DHCP leases and re-registers DNS names |
This module offer a guide to check every detail of the tool’s output.
The autorst.cmd runs commands as below:
|
|
del /f /s /q %windir%\prefetch\*.* |
Purge system prefetch file |
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.* |
|
del /f /s /q “%windir%\temp” |
|
del /f /s /q "%userprofile%\Local Settings\Temp\*.*" |
|
|
|
netsh int ip reset resetlog.txt |
|
|
|
|
|
|
|
|
Purge remote cache name table |
|
|
|
Register IE and System DLL/OCX |
|
Reboot system to take effective |
|
|