用批处理法快速安装Windows系统
诸位大侠安装系统是件常事,不过是不是安得多了就腻了呢?这是肯定的,下面就我在安装系统方面积累的经验。注意以下提到的盘符和路径都是我自己机器上的,如果有不同,请自己修改。1、在G盘建立一个文件夹:winxp,把光盘上的xp安装文件:i386文件夹拷贝到winxp文件夹里。
2、在g:\winxp\i386里建立一个文件夹$oem$,里面分别建立$1和$$文件夹,在$1文件夹里建立DRIVERS和update文件夹,在Drivers文件夹里放上你的驱动(主板、显卡、声卡)*注意:每一个驱动的文件夹都是独立的,比如我的就是这样的结构:
G:\WINXP\$OEM$\$1\DRIVERS\3112R
G:\WINXP\$OEM$\$1\DRIVERS\AUDIO
G:\WINXP\$OEM$\$1\DRIVERS\CPanel
G:\WINXP\$OEM$\$1\DRIVERS\ETHERNET
G:\WINXP\$OEM$\$1\DRIVERS\GART
G:\WINXP\$OEM$\$1\DRIVERS\IDE
G:\WINXP\$OEM$\$1\DRIVERS\MEMCTL
G:\WINXP\$OEM$\$1\DRIVERS\SMBUS
G:\WINXP\$OEM$\$1\DRIVERS\VGA
每一个文件夹里必须有相应的inf文件。
在update文件夹里放上两个文件:update.reg和update.cmd
附:
update.reg内容
************************************************************************************
Windows Registry Editor Version 5.00
;服务优化和加速运行
;
;现在将给“我的电脑”的右键菜单中添加“服务设置”命令
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@="服务设置"
"SuppressionPolicy"=dword:4000003c
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00
;现在将给文件夹的右键菜单中添加“在这里打开命令行窗口”的命令
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="在这里打开命令行窗口"
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""
;禁止将事件写入系统日志
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"LogEvent"=dword:00000000
;禁止发送管理警报
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"SendAlert"=dword:00000000
;不写入调试信息
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
本篇文章共8页,此页为首页 下一页
"CrashDumpEnabled"=dword:00000000
;禁用桌面清理向导
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001
;禁用错误报告但在发生严重错误时通知我
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000
;禁用Messenger服务(是为了过滤垃圾信息,不会影响到MSN Messenger或者Windows Messenger软件)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004
;禁用Remote Registry 服务
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004
;Disable Alerter
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Alerter]
"Start"=dword:00000004
;Disable Background Intelligent Transfer Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS]
"Start"=dword:00000004
;Disable ClipBook
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ClipSrv]
计算机教程用批处理法快速安装Windows系统来自www.itwen.comIT WEN计算机教程网
"Start"=dword:00000004
;Disable TCP/IP NetBIOS Helper
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts]
"Start"=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]
"Start"=dword:00000004
;Disable Remote Desktop Help Session Manager
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RDSessMgr]
"Start"=dword:00000004
;Disable Secondary Log-on
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\seclogon]
"Start"=dword:00000004
;Disable Performance Logs & Alerts
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysmonLog]
"Start"=dword:00000004
;Set Print Spooler to "Manual"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler]
"Start"=dword:00000003
;禁用错误报告
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc]
"start"=dword:00000004
;关闭并禁用Distributed Link Tracking Client服务
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrkWks]
"Start"=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrkWks\Start]
"Start"=dword:00000004
本篇文章共8页,此页为第2 页 上一页 下一页
;禁止并停用Wireless Zero Configuration
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WZCSVC]
"Start"=dword:00000004
;为Internet Explorer添加搜索引擎(以Microsoft Knowledge Base, Altavista, Google, MSN, FileMirrors为序)
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSKB]
@=http://support.microsoft.com/?kbid=%s
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\AV]
@=http://www.altavista.com/sites/search/web?q=%s
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\GGL]
@=http://www.google.com/search?q=%s
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSN]
@=http://search.msn.com/results.asp?q=%s
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\FM]
@=http://www.filemirrors.com/search.src?file=%s
;Prevents Internet Explorer windows from being reused
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"AllowWindowReuse"=dword:00000000
;把Internet Explorer可同时下载的文件数目增大到10(默认是2)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPer1_0Server"=dword:0000000a
"MaxConnectionsPerServer"=dword:0000000a
;改变菜单显示延迟(加快开始菜单的显示速度)
[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="100"
;禁用漫游Windows XP 窗口
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000
;NoRecentDocsmenu 会删除开始菜单中的最近打开的文档菜单
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsMenu"=dword:00000001
;禁止名称有“快捷方式”四个字
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"link"=hex:00,00,00,00
;右键增加关闭光驱选项
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shellex\ContextMenuHandlers\{F0479943-AA1D-49DD-86F4-6035E068260C}]
;禁用华生医生
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
本篇文章共8页,此页为第3页 上一页 下一页
"Auto"=dword:00000000
;自动关闭停止响应的文件
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoEndTask"=dword:00000001
;当资源管理器崩溃则自动重启之
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoRestartShell"=dword:00000001
;总是从内存中卸载无用的动态链接库文件
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"AlwaysUnloadDll"=dword:00000001
;开启对137G硬盘的支持
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atapi\Parameters]
"EnableBigLba"=dword:00000001
;禁止自动运行USB设备
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"AutoRun"=dword:00000001
;设置光驱缓存为DVD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\CDFS]
"CacheSize"=dword:00004952
;删除多余的启动项
[HK