HzhWinScript:
##红侦通用版GhostXPSP3集成脚本部分原码.
@echo off
cls
@title 红侦军用一套
@color 0c
@echo ______________▄︻┳一红侦科技★精度技术一┳︻▄______________
@echo ╔┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉╗
@echo ┋ 红侦科技----------By红色指令 ┋
@echo ┋ 红侦官方网站:http://www.Hzhghg.com/ ┋
@echo ┋ 红侦技术支持:88888888(红色指令QQ) ┋
@echo ┋ 红侦论坛:bbs.Hzhghg.com(QQ群:99999999) ┋
@echo ┋ 版权所有:(C) 红侦科技 ┋
@echo ╚┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉╝
echo "红侦军用一套(ForWindows7)"V2010.09.10
echo ==============================================================
@echo.
@echo 红侦科技将对你的系统进行全面优化与自定义设置
@echo.
@pause
rem if exist D:\ md "D:\Document"
md %windir%\Cursors\HzhCursors
md %windir%\Media\HzhSound
md %windir%\ime\FreeWB
del /f /q "%userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\*.lnk"
del /f /q %AppData%\Microsoft\Windows\SendTo\*.*
rd /s /q %systemdrive%\Users\Default
rd /s /q %systemdrive%\PerfLogs
copy "QuickLaunch\*.*" "%AppData%\Microsoft\Internet Explorer\Quick Launch" /y
copy SendTo\*.* %AppData%\Microsoft\Windows\SendTo /y
copy Resources\OEM\*.* %windir%\system32\ /y
copy Resources\Picture\UserPic\*.* "%ProgramData%\Microsoft\User Account Pictures" /y
copy Resources\Picture\Wallpaper\*.* %windir%\web\Wallpaper /y
copy Resources\Sound\*.* %windir%\Media\HzhSound\ /y
copy Resources\Cursors\*.* %windir%\Cursors\HzhCursors\ /y
copy Resources\Screen\*.* %windir%\system32 /y
rem xcopy Documents\*.* "D:\My Documents" /e /h /c /y
rem xcopy Desktop\*.* "%AppData%\Microsoft\Windows\Desktop" /e /h /c /y
rem xcopy StartMenu\*.* "%AppData%\Microsoft\Windows\Start Menu" /e /h /c /y
for %%a in (RegFiles\*.reg) do regedit /s %%a
rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0
rundll32.exe shell32.dll,Control_RunDLL main.cpl @0,1
sysdm.cpl
Resources\IME\FreeWB.exe -y -o%windir%\ime
start %windir%\ime\FreeWB\registry.exe
rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,1',9
Resources\Themes\Themes.exe -y -o%windir%\Resources\Themes
%windir%\Resources\Themes\HzhPro\VSDriver\vsdrv.exe
%windir%\Resources\Themes\HzhPro\HzhPro.msstyles
start F:\Resources\Fonts\VistaFont_CHS.exe
regedit /s RegFiles\Desktop.reg
regsvr32 /u zipfldr.dll
wmic computersystem where Name="%COMPUTERNAME%" call JoinDomainOrWorkgroup Name="HzhWSOne"
wmic useraccount where name="Guest" call rename HzhUser
net user HzhUser /active:no
bcdedit.exe /set {current} nx AlwaysOff
powercfg -h off
tzutil /s "China Standard Time"
netsh -c interface dump > ipconfig.txt
netsh exec ipconfig.txt
netsh interface ip set address name="本地连接" source=static addr=192.168.1.110 mask=255.255.255.0 gateway=192.168.1.1 gwmetric=1
netsh interface ip set dns "本地连接" static 202.106.46.151 register=primary
netsh interface ip add dns "本地连接" 202.106.195.68 index=2
rem netsh interface ip set address name="本地连接 2" source=dhcp
rem netsh interface ip set dns name="本地连接 2" source=dhcp
c:
label c:红侦System
if exist d:\ label d:红侦Software
if exist e:\ label e:红侦Game
if exist f:\ label f:红侦MultiDoc
taskkill /f /im explorer.exe
cacls "%ProgramData%\Microsoft\Windows\Start Menu" /e /c /g administrator:f >nul 2>nul
rem cacls "%ProgramData%\Microsoft\Windows\Start Menu" /e /c /g HzhBing:f >nul 2>nul
cacls %windir%\system32\imageres.dll /e /c /g administrator:f >nul 2>nul
cacls %windir%\system32\imageres.dll /e /c /g HzhBing:f >nul 2>nul
cacls %windir%\system32\authui.dll /e /c /g administrator:f >nul 2>nul
cacls %windir%\system32\authui.dll /e /c /g HzhBing:f >nul 2>nul
rem copy DLL\imageres.dll %windir%\system32 /y
rem copy DLL\Authui.dll %windir%\system32 /y
del /f /q %SystemDrive%\hiberfil.sys
rd /s /q %userprofile%\Desktop
rd /s /q "%ProgramData%\Microsoft\Windows\Start Menu"
rd /s /q "%AppData%\Microsoft\Windows\Desktop"
rd /s /q "%AppData%\Microsoft\Windows\Start Menu"
logoff
##for循环导入的大量脚本很关键.