:: usetools.net command shell script :: @echo off mode con cols=80 chcp 866 setlocal disabledelayedexpansion cd /d "%~dp0" set status=[%~nx0] color 1b &cls &title %status% echo. echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ echo ³ USETOOLS project ù http://usetools.net ù providing better defaults ³ echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ echo ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ echo ÛÛ ÛÛ ÛÛßßßßÛÛ ÛßßßßßßÛ ßßßÛÛßßß ÛßßßßßßÛ ÛßßßßßßÛ ÛÛ ÛÛßßßßÛÛ echo ÛÛ ÛÛ ÛÛ Û ÛÛ Û Û Û Û ÛÛ ÛÛ echo ÛÛ ÛÛ ßßßßßßÛ Ûßßßßß ÛÛ Û Û Û Û ÛÛ ßßßßßßÛ echo ÛÛ ÛÛ ÛÛ Û Û Û ÛÛ Û Û Û Û ÛÛ ÛÛ ÛÛ Û echo ßßßßßßß ßßßßßßßß ßßßßßßßß ßß ßßßßßßßß ßßßßßßßß ßßßßßßßß ßßßßßßßß echo ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ echo ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ echo ³ SYSINSTALL is integrated, preconfigured and automated ³ echo ³ universal software and settings installation system ³ echo ³ with advantaged local and networking features provided ³ echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ echo. for /f "tokens=2*" %%a in ('reg query "hklm\hardware\description\system\centralprocessor\0" /v "ProcessorNameString"') do set "cpuname=%%b" for /f "tokens=2*" %%a in ('reg query "hklm\software\microsoft\windows nt\currentversion" /v "CurrentVersion"') do set "nt=%%b" for /f "tokens=2*" %%a in ('reg query "hklm\software\microsoft\windows nt\currentversion" /v "CSDVersion"') do set "ntsp=%%b" for /f "tokens=3*" %%a in ('reg query "hklm\software\microsoft\windows nt\currentversion" /v "ProductName"') do set "ntname=%%b" for /f "tokens=2*" %%a in ('reg query "hklm\system\currentcontrolset\control\nls\language" /v "InstallLanguage"') do set "ntlang=%%b" for /f "tokens=2*" %%a in ('reg query "hklm\software\microsoft\windows nt\currentversion" /v "SourcePath"') do set "ntsrcpath=%%b" echo %cpuname% &echo %processor_architecture% %nt% %ntname% %ntsp% &echo. set status=%processor_architecture% %nt% %ntname% %ntsp% title [%~nx0]: %status% echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ³ SYSINSTALL ³ ³  ³ ³ %status% echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß :: if "%nt%" neq "5.1" ( echo. echo SYSINSTALL HAS NOT FULL SUPPORT OF INSTALLED OS echo. &pause ) :: set sysinstall=%systemdrive%\sysinstall set install=%systemdrive%\install set setupbin=%sysinstall%\setupbin set public=%systemdrive%\public set backup=%systemdrive%\backup set drv=%systemdrive%\drivers set drivers=%systemdrive%\drivers set syslog=%sysinstall%\sysinstall.log set install=%systemdrive%\install set setup32=%systemroot%\system32\setup32 set shellext=%systemroot%\system32\shellext set guilinks=%systemroot%\system32\drivers\etc\guilinks set cygwinbase=%systemroot%\system32 set gtk_basepath=%systemroot%\system32\gtk set gimp2_directory=%systemroot%\system32\data\settings set vbox_user_home=%systemroot%\system32\data\.virtualbox set bb=%systemroot%\system32\utbox set s32=%systemroot%\system32 set etc=%systemroot%\system32\drivers\etc set log=%systemroot%\system32\log set temp=%systemroot%\temp set tmp=%systemroot%\temp set userver=http://usetools.net set path=%path%;%sysinstall%;%setupbin% :: set syslog=%sysinstall%\sysinstall.log if not exist nul echo nul>%s32%\nul if not exist "%systemroot%\temp" mkdir "%systemroot%\temp" >nul if not exist %log% mkdir %log% >nul if not exist %install% mkdir %install% >nul if not exist %public% mkdir %public% >nul if not exist %backup% mkdir %backup% >nul echo %status% >>%syslog% :: if "%1"=="--mode1" set sysinstall_mode=1 if "%1"=="--mode2" set sysinstall_mode=2 if "%1"=="--mode3" set sysinstall_mode=3 if "%1"=="" set sysinstall_mode=2 if "%1"==" " set sysinstall_mode=2 :: if exist %sysinstall%\sysinstall.run ( echo. echo SYSINSTALL IS ALLREADY RUNNING OR WAS INTERRUPTED echo. &pause rundll32.exe advpack.dll,DelNodeRunDLL32 %sysinstall%\sysinstall.run ) :: if not exist 7za.exe wget.exe -nv --tries=3 -c %userver%/sysinstall/7za.exe if not exist %sysinstall%\xcorpack.7z wget.exe -nv --tries=10 -c %userver%/sysinstall/xcorpack.7z if not exist %sysinstall%\system86.7z wget.exe -nv --tries=10 -c %userver%/sysinstall/system86.7z if not exist %sysinstall%\sysinstall.ini wget.exe -nv --tries=10 -c %userver%/sysinstall/sysinstall.ini if not exist %sysinstall%\_version.txt wget.exe -nv --tries=10 -c %userver%/sysinstall/_version.txt for /f %%x in (%sysinstall%\_version.txt) do set sysinstall_version=%%x :: for /f "delims=" %%a in ('find "=" ^< "sysinstall.ini"') do call set "%%a" :: 7za.exe x -r -y -o%systemroot% %sysinstall%\xcorpack.7z >>%sysinstall%\sysinstall.run :: :: system86 7za.exe x -r -y -o%systemroot% %sysinstall%\system86.7z >>%syslog% set s86=%systemroot%\system86 %s86%\pathset.exe -n %s86% :: cs -f 12x16 -q &cs -mwq ::cs -f 10x16 -q &cs -mwq isadmin &if not errorlevel 1 set sysinstall_error=no admin rights &goto sysinstall_error start run!.exe start /high prkiller.exe start cmdx.exe /cycle:0 /osdrecycle /osdrtf 1 "{\rtf1\ansi\deff0{\fonttbl{\f0\fprq2 courier new;}}{\colortbl ;\red22\green250\blue50;}{\uc1\pard\qc\cf1\b\f0\fs40 %%!cpuperc!%%%%!fmem!%%\cf0\b0\par} :: if not exist sysinstall.lst wget.exe -nv --tries=3 -c %userver%/sysinstall/sysinstall.lst for /f "usebackq tokens=*" %%a in ("%sysinstall%\sysinstall.lst") do if not exist "%sysinstall%\%%a" %sysinstall%\wget.exe -v -c %userver%/sysinstall/%%a :: cd /d %sysinstall% %s86%\autoback.exe %backup%\system sysreg curuser otherusers /noconfirmdelete copy /y %backup%\system\default %systemroot%\repair >>%syslog% copy /y %backup%\system\ntuser.dat %systemroot%\repair >>%syslog% copy /y %backup%\system\sam %systemroot%\repair >>%syslog% copy /y %backup%\system\security %systemroot%\repair >>%syslog% copy /y %backup%\system\software %systemroot%\repair >>%syslog% copy /y %backup%\system\system %systemroot%\repair >>%syslog% :: if exist %public% set outfile="%public%\hwids.txt" if not exist %public% set outfile="%cd%\hwids.txt" echo. >%outfile% echo ================================================================================ >>%outfile% echo RAID devices >>%outfile% echo ================================================================================ >>%outfile% devcon find *cc_01* *raid* >>%outfile% echo. >>%outfile% echo ================================================================================ >>%outfile% echo PCI devices >>%outfile% echo ================================================================================ >>%outfile% devcon find pci* >>%outfile% echo. >>%outfile% echo ================================================================================ >>%outfile% echo HDA devices >>%outfile% echo ================================================================================ >>%outfile% devcon find hdaudio* >>%outfile% echo. >>%outfile% echo ================================================================================ >>%outfile% echo USB devices >>%outfile% echo ================================================================================ >>%outfile% devcon find usb* >>%outfile% echo. >>%outfile% echo ================================================================================ >>%outfile% echo Input devices >>%outfile% echo ================================================================================ >>%outfile% devcon find hid* >>%outfile% echo. >>%outfile% echo ================================================================================ >>%outfile% echo ACPI devices >>%outfile% echo ================================================================================ >>%outfile% devcon find acpi* >>%outfile% echo. >>%outfile% set outfile= :: echo. &echo %cd% >%log%\syscheck.log md5sum.exe -c %sysinstall%\sysinstall.md5 >>%sysinstall%\syscheck.log type %sysinstall%\syscheck.log timer.exe -start :: nircmd.exe regsetval sz "hklm\software\microsoft\windows nt\currentversion\winlogon" "shell" "%sysinstall%\sysinstall.cmd --mode%sysinstall_mode%" nircmd.exe regsetval sz "hkcu\software\microsoft\windows nt\currentversion\winlogon" "shell" "%sysinstall%\sysinstall.cmd --mode%sysinstall_mode%" nircmd.exe regsetval dword "hklm\software\microsoft\windows nt\currentversion\winlogon" "autorestartshell" "0x00000000" nircmd.exe regsetval dword "hkcu\software\microsoft\windows nt\currentversion\winlogon" "autorestartshell" "0x00000000" nircmd.exe regsetval dword "hklm\software\microsoft\windows nt\currentversion\winlogon" "sfcquota" "0x00000000" nircmd.exe regsetval dword "hklm\software\microsoft\windows nt\currentversion\winlogon" "sfcscan" "0x00000000" nircmd.exe regsetval dword "hklm\software\microsoft\windows\currentversion\systemfileprotection" "showpopups" "0x00000000" :: if "%sysinstall_mode%"=="1" nircmd.exe setdisplay 1024 768 32 -updatereg for /f "usebackq tokens=*" %%a in ("%etc%\sysprep.lst") do process.exe -k "%%~a" >nul :: :stage1 cd /d %sysinstall% color 1b &cls set sysinstall_stage=stage1 set status=%sysinstall_version% - %sysinstall_stage% mode%sysinstall_mode% title [%~nx0]: %status% echo %status%>>%syslog% echo. echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ³ SYSINSTALL ³ ³  ³ ³ %status% echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß echo. &color 09 cmdw /fs set status=installing %sysinstall%\system32.7z title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status% >>%syslog% if not exist %sysinstall%\system32.7z wget.exe -nv --tries=3 -c %userver%/sysinstall/system32.7z 7za.exe x -r -y -o%s32% %sysinstall%\system32.7z set status=installing %sysinstall%\sysconfig.7z title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status% >>%syslog% if not exist %sysinstall%\sysconfig.7z wget.exe -nv --tries=3 -c %userver%/sysinstall/sysconfig.7z 7za.exe x -r -y -o%s32% %sysinstall%\sysconfig.7z :: set status=%sysinstall_version% running in mode %sysinstall_mode% title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status% >>%syslog% nircmd.exe regsetval sz "hklm\software\usetools" "sysinstall_version" "%sysinstall_version%" nircmd.exe regsetval sz "hklm\software\usetools" "sysinstall_mode" "%sysinstall_mode%" nircmd.exe regsetval sz "hklm\software\usetools" "sysinstall" "%sysinstall%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "sysinstall" "%sysinstall%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "sysinstall_version" "%sysinstall_version%" :: nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "temp" "%systemroot%\temp" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "tmp" "%systemroot%\temp" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "install" "%install%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "etc" "%etc%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "log" "%log%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "s32" "%s32%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "s86" "%s86%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "guilinks" "%guilinks%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "public" "%public%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "backup" "%backup%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "drv" "%drv%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "drivers" "%drv%" :: nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "bb" "%bb%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "cygwinbase" "%cygwinbase%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "gimp2_directory" "%gimp2_directory%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "vbox_user_home" "%vbox_user_home%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "gtk_basepath" "%gtk_basepath%" :: nircmd.exe regsetval sz "hklm\software\gtk\2.0" "" "%gtk_basepath%" nircmd.exe regsetval sz "hklm\software\gtk\2.0" "path" "%gtk_basepath%" nircmd.exe regsetval sz "hklm\software\gtk\2.0" "dllpath" "%gtk_basepath%\bin" nircmd.exe regsetval sz "hklm\software\pidgin" "" "%s32%\pidgin" :: set path=%path%;%s32%\gtk;%s32%\gtk\bin;%s32%\gtk\lib;%bb% nircmd.exe regsetval expand_sz "hklm\system\currentcontrolset\control\session manager\environment" "path" "%path%" :: if "%sysinstall_mode%" neq "1" ( regedit /s %etc%\regfixup.reg regedit /s %etc%\regclean.reg regedit /s %etc%\regfresh.reg modifyle /profile:all /reg:"%etc%\regfresh.reg" /keyname:regfresh >>%syslog% ) :: regedit /s %etc%\sysconfig.reg regedit /s %etc%\hkclroot.reg regedit /s %etc%\hklmsoft.reg modifyle /profile:all /reg:"%etc%\hkcusoft.reg" /keyname:hkcusoft >>%syslog% :: if "%sysinstall_mode%"=="1" call shellset.cmd call shellget.cmd set >>%syslog% :: set shell_ nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "allappdata" "%allappdata%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "docs" "%docs%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "defaultuser" "%defaultuser%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "shell_alldesktop" "%shell_alldesktop%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "shell_allstartmenu" "%shell_allstartmenu%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "shell_allprograms" "%shell_allprograms%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "shell_allstartup" "%shell_allstartup%" :: set system_ if "%system_autologon%" neq "1" nircmd.exe regsetval sz "hklm\software\microsoft\windows nt\currentversion\winlogon" "autoadminlogon" "0" nircmd.exe regsetval dword "hklm\software\microsoft\windows nt\currentversion\winlogon" "logontype" "%system_logontype%" nircmd.exe regsetval dword "hklm\system\currentcontrolset\control\session manager\memory management" "disablepagingexecutive" "%system_disablepagingexecutive%" nircmd.exe regsetval dword "hklm\system\currentcontrolset\control\session manager\memory management" "largesystemcache" "%system_largesystemcache%" nircmd.exe regsetval dword "hklm\system\currentcontrolset\control\session manager\memory management" "clearpagefileatshutdown" "%system_swapclear%" nircmd.exe regsetval dword "hklm\system\currentcontrolset\control\crashcontrol" "autoreboot" "%system_bsodautoreboot%" nircmd.exe regsetval sz "hkey_users\.default\control panel\desktop" "autoendtasks" "%system_autoendtasks%" nircmd.exe regsetval sz "hkey_users\.default\control panel\desktop" "hungapptimeout" "%system_hungapptimeout%" nircmd.exe regsetval sz "hkey_users\.default\control panel\desktop" "waittokillapptimeout" "%system_waittokillapptimeout%" nircmd.exe regsetval sz "hkey_users\.default\control panel\desktop" "lowlevelhookstimeout" "%system_lowlevelhookstimeout%" nircmd.exe regsetval sz "hkey_users\.default\control panel\keyboard" "initialkeyboardindicators" "%system_numlock%" :: :: xcopy "%etc%\rc0\allusers" "%allusersprofile%\" /s /c /i /h /r /k /y >>%syslog% xcopy "%etc%\rc0\system32" "%s32%\" /s /c /i /h /r /k /y >>%syslog% :: regsvr32.exe /s %s32%\7-zip.dll :: nircmd.exe paramsfile "%etc%\aliasreg.lst" "," "" execmd swreg.exe add "hkey_local_machine\software\microsoft\windows\currentversion\app paths\~$fparam.1$" /v "" /t reg_sz /d "~$fparam.2$" /f nircmd.exe paramsfile "%etc%\aliaslnk.lst" "," "" shortcut "~$fparam.2$" "~$folder.system$" "~$fparam.1$" "~$fparam.3$" "~$fparam.4$" "~$fparam.5$" "~$fparam.6$" :: nircmd.exe regsetval sz "hklm\software\microsoft\active setup\installed components\sysinstall" "" "USETOOLS SYSINSTALL %sysinstall_version%" nircmd.exe regsetval sz "hklm\software\microsoft\active setup\installed components\sysinstall" "component id" "sysinstall" nircmd.exe regsetval sz "hklm\software\microsoft\active setup\installed components\sysinstall" "version" "%sysinstall_version%,%date%,00" nircmd.exe regsetval dword "hklm\software\microsoft\active setup\installed components\sysinstall" "isinstalled" "1" nircmd.exe regsetval expand_sz "hklm\software\microsoft\active setup\installed components\sysinstall" "stubpath" "makehome.cmd" :: cmdw /wm cmdw @ /res set status=%sysinstall_version% - %sysinstall_stage% mode%sysinstall_mode% completed echo %status%>>%syslog% if "%sysinstall_mode%"=="3" goto stage4 :: :stage2 chcp 866 >nul cls &color 1b set sysinstall_stage=stage2 set status=%sysinstall_version% - %sysinstall_stage% mode%sysinstall_mode% title [%~nx0]: %status% echo %status%>>%syslog% echo. echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ³ SYSINSTALL ³ ³  ³ ³ %status% echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß set status=software packages setup title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% if not exist %sysinstall%\setupbin mkdir %sysinstall%\setupbin cd %sysinstall%\setupbin if not exist %sysinstall%\setupbin\setupbin.lst wget.exe -nv --tries=3 -c %userver%/sysinstall/setupbin/setupbin.lst for /f "usebackq tokens=*" %%a in ("%sysinstall%\setupbin\setupbin.lst") do if not exist "%sysinstall%\setupbin\%%a" %sysinstall%\wget.exe -v -c %userver%/sysinstall/setupbin/%%a :: if "%setup_dotnet%"=="1" ( if not exist %setupbin%\dotnet2.exe wget.exe --tries=3 -c %userver%/sysinstall/setupbin/dotnet2.exe type descript.ion|find.exe "dotnet2.exe" start /high /wait dotnet2.exe ) if "%setup_vcredist%"=="1" ( if not exist %setupbin%\vcredist.exe wget.exe --tries=3 -c %userver%/sysinstall/setupbin/vcredist.exe type descript.ion|find.exe "vcredist.exe" start /high /wait vcredist.exe ) if "%setup_fastpack%"=="1" ( if not exist %setupbin%\_fastpack.exe wget.exe --tries=3 -c %userver%/sysinstall/setupbin/_fastpack.exe type descript.ion|find.exe "_fastpack.exe" if exist %systemdrive%\_fastpack rundll32.exe advpack.dll,DelNodeRunDLL32 %systemdrive%\_fastpack start /high /wait _fastpack.exe -nr -y ) if "%setup_unreal%"=="1" ( if not exist %setupbin%\unreal.exe wget.exe --tries=3 -c %userver%/sysinstall/setupbin/unreal.exe type descript.ion|find.exe "unreal.exe" start /high /wait unreal.exe --usetools nircmd.exe regsetval sz "hklm\software\microsoft\windows\currentversion\app paths\unreal.exe" "" "%systemdrive%\unreal\uncom.exe" ) if "%setup_ufirefox%"=="1" ( if not exist %setupbin%\ufirefox.exe wget.exe --tries=3 -c %userver%/sysinstall/setupbin/ufirefox.exe type descript.ion|find.exe "ufirefox.exe" start /high /wait ufirefox.exe --sysinstall ) if "%setup_flashpack%"=="1" ( if not exist %setupbin%\flashpack.exe wget.exe --tries=3 -c %userver%/sysinstall/setupbin/flashpack.exe type descript.ion|find.exe "flashpack.exe" start /high /wait flashpack.exe ) if "%setup_gochrome%"=="1" call gochrome.cmd if "%setup_gnumeric%"=="1" call gnumeric.cmd if "%setup_gooo%"=="1" call gooo.cmd if "%setup_libreoffice%"=="1" call libreoffice.cmd if "%setup_javaupdate%"=="1" call javaupdate.cmd if "%setup_pdfprinter%"=="1" ( if not exist %setupbin%\dopdf.exe wget.exe --tries=3 -c %userver%/sysinstall/setupbin/dopdf.exe type descript.ion|find.exe "dopdf.exe" start dopdf.exe /verysilent /norestart /nocancel /suppressmsgboxes /dir="%programfiles%\dopdf" /group="dopdf" /noicons /languages="en-ru" /defaultlang="ru" ) if "%setup_cdbxp%"=="1" ( if not exist %setupbin%\cdbxp.exe wget.exe --tries=3 -c %userver%/sysinstall/setupbin/cdbxp.exe type descript.ion|find.exe "cdbxp.exe" cdbxp.exe /silent /norestart nircmd.exe service stop NMSAccessU nircmd.exe service disabled NMSAccessU ) :: cd %sysinstall% set status=%sysinstall_version% - %sysinstall_stage% mode%sysinstall_mode% completed echo %status%>>%syslog% :: :stage3 chcp 866 >nul cls &color 1b set sysinstall_stage=stage3 set status=%sysinstall_version% - %sysinstall_stage% mode%sysinstall_mode% title [%~nx0]: %status% echo %status%>>%syslog% echo. echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ³ SYSINSTALL ³ ³  ³ ³ %status% echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß set status=installing gui shell enhancement packages title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status% >>%syslog% if "%sysinstall_mode%"=="1" goto resource if "%gui_tango%"=="1" ( if not exist %sysinstall%\setupbin\tangopatch.exe goto resource type descript.ion|find.exe "tangopatch.exe" cd /d %sysinstall%\setupbin start /wait /high tangopatch.exe /S /NORESTART /theme=%tango_style% copy /y "%systemroot%\tango patcher 2600\backup\syssetup.dll" %s32% >>%syslog% copy /y %s32%\renotepad.exe %systemroot%\notepad.exe >>%syslog% copy /y %s32%\renotepad.exe %s32%\notepad.exe >>%syslog% echo. &cd /d %sysinstall% ) :: :resource type descript.ion|find.exe "resource.exe" start /wait /high resource.exe :: :resettings set status=applying gui shell enhancement settings title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status% >>%syslog% :: set gui_ nircmd.exe regsetval sz "hkey_users\.default\control panel\desktop" "menushowdelay" "%gui_menushowdelay%" nircmd.exe regsetval sz "hkey_users\.default\control panel\mouse" "snaptodefaultbutton" "%gui_snaptodefaultbutton%" nircmd.exe regsetval dword "hkey_users\.default\software\microsoft\windows\currentversion\explorer\advanced" "hidden" "%gui_showhidden%" nircmd.exe regsetval dword "hkey_users\.default\software\microsoft\windows\currentversion\explorer\advanced" "superhidden" "%gui_showsuperhidden%" nircmd.exe regsetval dword "hkey_users\.default\software\microsoft\windows\currentversion\explorer\advanced" "listviewshadow" "%gui_listviewshadow%" nircmd.exe regsetval dword "hkey_users\.default\software\microsoft\windows\currentversion\explorer\advanced" "showinfotip" "%gui_showinfotip%" :: nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\themes" "installtheme" "%gui_theme%" nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\themes" "custominstalltheme" "%gui_theme%" nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\themes" "installvisualstyle" "%gui_visualstyle%" nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\themes\lasttheme" "installtheme" "%gui_theme%" nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\themes\lasttheme" "custominstalltheme" "%gui_theme%" nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\themes\lasttheme" "installvisualstyle" "%gui_visualstyle%" nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\themes\defaultvisualstyleon" "installvisualstyle" "%gui_visualstyle%" nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\thememanager" "dllname" "%gui_visualstyle%" nircmd.exe regsetval sz "hkud\control panel\desktop" "wallpaper" "%gui_wallpaper%" nircmd.exe regsetval expand_sz "hkud\software\microsoft\windows\currentversion\themes\lasttheme" "wallpaper" "%gui_wallpaper%" nircmd.exe regsetval sz "hkud\control panel\desktop" "screensaveactive" "%gui_screensaveactive%" nircmd.exe regsetval sz "hkud\control panel\desktop" "screensavetimeout" "%gui_screensavetimeout%" :: nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "gui_visualstyle" "%gui_visualstyle%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "gui_wallpaper" "%gui_wallpaper%" nircmd.exe regsetval sz "hklm\system\currentcontrolset\control\session manager\environment" "gui_screensaver" "%gui_screensaver%" nircmd.exe inisetval "%systemroot%\dimsaver.ini" "settings" "saver" "%gui_screensaver%" :: if not exist "%s32%\tclock\tclock.ini" copy /y "%s32%\tclock\tclock.in_" "%s32%\tclock\tclock.ini" if "%tclock%"=="1" nircmd.exe shortcut "%s32%\tclock\tclock.exe" "%startup%" "tclock" set status=%sysinstall_version% - %sysinstall_stage% mode%sysinstall_mode% completed echo %status%>>%syslog% :: :stage4 chcp 866 >nul cls &color 1b set sysinstall_stage=stage4 set status=%sysinstall_version% - %sysinstall_stage% mode%sysinstall_mode% title [%~nx0]: %status% echo %status%>>%syslog% echo. echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ³ SYSINSTALL ³ ³  ³ ³ %status% echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß set status=system libraries registration title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status%>>%syslog% googletalk.exe /register nircmd.exe regsetval sz "hklm\software\classes\mailto\defaulticon" "" "%s32%\googletalk.exe,0" nircmd.exe regsetval sz "hklm\software\classes\mailto\shell\open\command" "" "googletalk.exe /mailto %1" regsvr32.exe /s %shellext%\hashtab32.dll regsvr32.exe /s %shellext%\diff_ext.dll regsvr32.exe /s %s32%\imagine.dll regsvr32.exe /s %shellext%\fontfile.dll cmdx.exe /registerexe :: nircmd.exe paramsfile "%etc%\unregdll.lst" "" "" regsvr unreg "~$fparam.1$" if exist %systemroot%\inf\wmp.inf rundll32 advpack.dll,LaunchINFSection %systemroot%\INF\wmp.inf,Uninstall.NT if exist %systemroot%\inf\msmsgs.inf rundll32 advpack.dll,LaunchINFSection %systemroot%\INF\msmsgs.inf,BLC.remove :: set status=system services registration title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status%>>%syslog% :: :: usbdlm (usb drive letter manager) if "%install_usbdlm%"=="1" usbdlm.exe -silentinstall :: :: clamav if "%install_clamav%"=="1" call %s32%\clamwin\clamset.cmd cd %s32% :: :: ghostwall (ghost security firewall) if not exist "%s32%\ghstwall.fir" copy "%S32%\ghstwall.fi_" "%s32%\ghstwall.fir">>%syslog% if "%install_ghostwall%"=="1" sc create ghstwall binpath= %s32%\drivers\ghstwall.sys type= kernel start= auto error= normal displayname= ghostwall :: :: hfs (http file server) if "%install_hfs%"=="1" makeservice.exe %s32%\hfs.exe /name:hfs /starttype:auto /displayname:http-file-server>>%syslog% :: :: winpcap (network capture driver) if "%install_winpcap%"=="1" %setup32%\winpcap.exe /S :: :: killcopy if "%install_killcopy%"=="1" ( 7za.exe x -r -y -o%s32% %setup32%\kcopy.7z>>%syslog% call %s32%\kcinst.cmd ) :: :: filedisk if "%install_filedisk%"=="1" ( rundll32 advpack.dll,LaunchINFSection %setup32%\filedisk.inf,DefaultInstall instdrvw.exe filedisk %s32%\drivers\filedisk.sys swreg.exe add "hkey_local_machine\system\currentcontrolset\services\filedisk\parameters" /v "numberofdevices" /t reg_dword /d "4" /f ) :: :: clipx (multiclipboard manger) if "%install_clipx%"=="1" makeservice.exe %s32%\clipx.exe /name:clipx /starttype:auto /interactive /displayname:multiclipboard>>%syslog% :: :: flashfolder if "%install_flashfolder%"=="1" msiexec /package %setup32%\flashfolder.msi /quiet /norestart :: :: uphclean (user profile cleaner) if "%install_uphclean%"=="1" uphclean.exe -install :: :: virtualbox (virtual machine) - removed cause of conflict: sun virtualbox v3 vs oracle virtualbox v4 ::if not exist "%s32%\data\.virtualbox\virtualbox.xml" copy "%s32%\data\.virtualbox\virtualbox.xm_" "%s32%\data\.virtualbox\virtualbox.xml">>%syslog% ::if "%install_virtualbox_basic%"=="1" ( :: nircmd.exe regsetval sz "hklm\software\sun\xvm virtualbox" "installdir" "%s32%\virtualbox" :: sc create vboxdrv binpath= %s32%\virtualbox\drivers\vboxdrv\vboxdrv.sys type= kernel start= auto error= normal displayname= vboxdrv :: %s32%\virtualbox\vboxsvc.exe /reregserver :: regsvr32 /s %s32%\virtualbox\vboxc.dll :: ) ::if "%install_virtualbox_extra%"=="1" ( :: sc create vboxusb binpath= %s32%\virtualbox\drivers\vboxdrv\vboxusb.sys type= kernel start= demand error= normal displayname= vboxusb :: sc create vboxusb binpath= %s32%\virtualbox\drivers\usb\filter\vboxusbmon.sys type= kernel start= demand error= normal displayname= vboxusb :: sc create vboxtap binpath= %s32%\virtualbox\drivers\vboxdrv\vboxtap.sys type= kernel start= demand error= normal displayname= vboxtap :: ) :: :: SERVICES STARTUP :: nircmd.exe service disabled rsvp nircmd.exe service disabled wuauserv nircmd.exe service disabled helpsvc nircmd.exe service disabled remoteregistry nircmd.exe service disabled cisvc nircmd.exe service disabled mnmsrvc nircmd.exe service disabled rdsessmgr nircmd.exe service disabled messenger nircmd.exe service disabled srservice ::nircmd.exe service disabled gusvc ::nircmd.exe service disabled gupdate ::nircmd.exe service disabled javaquickstarterservice :: nircmd.exe service %service_alerter% alerter nircmd.exe service %service_audio% audiosrv nircmd.exe service %service_bits% bits nircmd.exe service %service_dhcp% dhcp nircmd.exe service %service_dnscache% dnscache nircmd.exe service %service_fdd% flpydisk nircmd.exe service %service_imapi% imapiservice nircmd.exe service %service_nat% sharedaccess nircmd.exe service %service_netbios% lmhosts nircmd.exe service %service_netbios% netbios nircmd.exe service %service_ras% rasauto nircmd.exe service %service_ras% rasman nircmd.exe service %service_schedule% schedule nircmd.exe service %service_spooler% spooler nircmd.exe service %service_telnet% tlntsrv nircmd.exe service %service_themes% themes nircmd.exe service %service_time% w32time nircmd.exe service %service_upnp% upnphost nircmd.exe service %service_upnp% ssdpsrv nircmd.exe service %service_ups% ups nircmd.exe service %service_usb% usbstor nircmd.exe service %service_vss% vss nircmd.exe service %service_wifi% wzcsvc nircmd.exe service %service_wia% stisvc :: nircmd.exe service %service_clipx% clipx nircmd.exe service %service_flashfolder% flashfolder nircmd.exe service %service_ghostwall% ghostwall nircmd.exe service %service_hfs% hfs nircmd.exe service %service_uphclean% uphclean nircmd.exe service %service_usbdlm% usbdlm :: :: fixing possible stupid problem made by nlite if exist "%systemroot%\Driver Cache\i386\sp2.cab" set spxcab=%systemroot%\Driver Cache\i386\sp2.cab if exist "%systemroot%\Driver Cache\i386\sp3.cab" set spxcab=%systemroot%\Driver Cache\i386\sp3.cab if exist "%spxcab%" cabarc.exe -o x "%spxcab%" hid*.* %s32%\ >>%syslog% :: set status=fast system clean-up and fix-up title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status%>>%syslog% if exist %etc%\guilinks rundll32.exe advpack.dll,DelNodeRunDLL32 %etc%\guilinks 7za.exe x -r -y -o%s32% %sysinstall%\guilinks.7z >>%syslog% if "%sysinstall_mode%"=="1" start /wait /high /min guiclean.cmd system if "%sysinstall_mode%"=="2" start /wait /high /min guiclean.cmd allusers :: set status=gui shell links creation title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status%>>%syslog% start /wait /high /min guilinks.cmd allusers :: swreg.exe add "hkey_current_user\software\microsoft\windows nt\currentversion\winlogon" /v "shell" /t reg_sz /d "%s32%\exinit.cmd %sysinstall_mode%" /f swreg.exe add "hkey_local_machine\software\microsoft\windows nt\currentversion\winlogon" /v "shell" /t reg_sz /d "%s32%\exinit.cmd %sysinstall_mode%" /f if "%sysinstall_mode%"=="1" goto bootinit goto fixpagefile :: :bootinit set status=installing recovery console title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status%>>%syslog% echo %ntsrcpath% if exist %ntsrcpath%\winnt32.exe %ntsrcpath%\winnt32.exe /cmdcons /unattend /dudisable if exist %cdrom% remount.exe %cdrom% z: :: :makepublic set status=public shared folder creation title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status%>>%syslog% chcp 1251>nul nircmd.exe service lanmanserver start nircmd.exe service lanmanworkstation start net user ghost /active:yes >>%syslog% ::net user Ãîñòü /active:yes >>%syslog% ntrights.exe +r SeNetworkLogonRight -u ghost >>%syslog% ntrights.exe -r SeDenyNetworkLogonRight -u ghost >>%syslog% subinacl.exe /file %public%\ /grant=Âñå=C >>%syslog% ::subinacl.exe /file %public%\ /grant=All=C >>%syslog% net share public=%public% /cache:no chcp 866>nul :: :fixpagefile set status=fixed pagefile setup title [%~nx0]: %status% &echo. &ecco #nC%time% #Cn %status% echo %status%>>%syslog% wmic pagefileset where name="%systemdrive%\\pagefile.sys" set InitialSize="%system_swapsize%",MaximumSize="%system_swapsize%" del /f /q "%sysinstall%\sysinstall.run" >>%syslog% :: set status=%sysinstall_version% - %sysinstall_mode% completed and ready to exit title [%~nx0]: %status% &echo. &ecco #nGSYSINSTALL #Gn %status% echo. echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ³ SYSINSTALL ³ ³ û ³ ³ %status% echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß echo. timer.exe -stop for /f "tokens=5*" %%a in ('uptime.exe') do set "sysinstall_uptime=%%b" if "%sysinstall_mode%"=="3" start exinit.cmd &exit shutdown -r -t 5 -f -c "%sysinstall_uptime%" endlocal exit :: :sysinstall_error set echo. echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ³ SYSINSTALL ³ ³ ! ³ ³ ERROR: %sysinstall_error% echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß echo. &color 0e set >>%syslog% pause &exit ::