Direkt zum Hauptbereich

Automate your (post windowssetup) Systemsetup

To automate your systemsetup you have to handle:
  • Automation of installation of applications
  • Automation of installation of drivers
  • Automation of basic configurtaiontasks
The solution:
  • Use of commanlineparamters of setuppackages (unattended.sourceforge.net did a great job)
  • "xcopy /e" drivers which are not aviable through windows update to %systemroot%\inf to install drivers silently
  • basic configuration
  • use ninet.com to get most applications completly automated
  • put everything on a pendrive and the commands in a batchfile
In my case the outcome looks is this:
@echo off

echo Start this as Admin!
pause
rem http://unattended.sourceforge.net/installers.php

rem wlandriver
.\Drivers\WLAN_ATHEROS_V8.0.0.258_WIN7_CA41534-6772\setup.exe /s /a /sms
rem http://mantraaz.wordpress.com/2010/10/18/script-to-add-wireless-profile/
rem export wlanprofile:
rem netsh wlan export profile name=3WebCube3BA2
rem import:
netsh wlan add profile filename=.\other\Drahtlosnetzwerkverbindung-3WebCube3BA2.xml

rem lan
md Logod_Intel_82577LM_LC_v115100_Win7x64_lanset2
xcopy /e Drivers\Logod_Intel_82577LM_LC_v115100_Win7x64_lanset2 %systemroot%\inf\Logod_Intel_82577LM_LC_v115100_Win7x64_lanset2

rem tablettasten
.\Drivers\FTS_FujitsuTabletPCButtonDriver_4208272009_1047114\BtnDrv_64\DPInst.exe /sw

rem system
md %systemroot%\inf\FUJ02B1-V1.23-64bit-Windows7Logo
xcopy /e .\Drivers\FUJ02B1-V1.23-64bit-Windows7Logo %systemroot%\inf\FUJ02B1-V1.23-64bit-Windows7Logo


rem umts
.\Drivers\FTS_SierraWirelessGobi2000HSUSBMobileBroadband_11180_1053221\72-VR322-15_1.1.180\Setup.exe /s /a /sms

rem pen
.\Drivers\FTS_WACOMDualPadTouch_51111c_1043540\PenTablet_DualTouch_511-11c\setup.exe /s /a /sms

rem sdslot
.\Drivers\FTS_O2MicroFlashMemoryCard_3000006_1039191\O2Micro_Memory_Card_Driver_7VistaXP_V3.00.0006\setup.exe /s /a /sms

rem webcam

.\Drivers\FTS_FJCamera_58520080_1040648\Sonixcam_5.8.52008.0\CNF8248VideoClassNBUSB20PCCam_v5.8.52008.0_WHQL.exe /s /a /sms

rem scroll with touchpad
regedit /S ".\other\FTS_Enableverticalscroll_100_1048491\Vertical Scroll Area\Fujitsu_Driver_registry.reg"

rem win7 sp1 64bit
msiexec /qb /i .\programsetups\Windows_Win7SP1.7601.17514.101119-1850.AMD64FRE.Symbols.msi REBOOT=ReallySuppress

rem http://mantraaz.wordpress.com/2010/10/18/script-to-add-wireless-profile/
rem export wlanprofile:
rem netsh wlan export profile name=profile1
rem import:
netsh wlan add profile filename=.\other\Drahtlosnetzwerkverbindung-profiel1.xml

rem install software with ninite:
rem got from here: http://ninite.com/7zip-dropbox-eclipse-essentials-firefox-flash-flashie-jdk-libreoffice-notepadplusplus-paint.net-pidgin-putty-reader-silverlight-skype-thunderbird-truecrypt-vlc-winmerge-winscp/
".\programsetups\Ninite 7Zip Dropbox Eclipse Essentials Firefox Installer.exe"

Kommentare

Beliebte Posts aus diesem Blog

Kodi keeps crashing when it is started without connected displays. Sometimes I want to startup my kodi setup for some other reasen and start using kodi later.... then kodi was already closed with some crash log file... :( This script works arround by waiting to start kodi until some hdmi port is connected (modify the grep query to adapt to some other port name). #!/bin/bash # Some programs have issues when run without connected display. E.g. Kodi likes to crash when started without any display connected on my system. # This script starts after some hdmi port is connected. # Depends on xrandr. WARNINGTIMEOUTINSECONDS=840 TIMEOUTINSECONDS=900 POLLINGDURATIONINSECONDS=5 LOGFILE= " $HOME /waitTillHdmiConnected.log" #set start conditions SECONDS=0 triggerTimeoutActions (){      echo   ...

Skript kiddies und SSH

Anzahl an fehlerhaften Logins ausgeben: cat /var/logauth.log | grep invalid | wc -l Für einen Server, der in halbes Jahr im Netz läuft finde ich 68350 Versuche. Ein Auszug von /var/logauth.log Jun 3 00:12:02 uhweb69144 sshd[11470]: Invalid user hilary from 201.147.235.91 Jun 3 00:12:02 uhweb69144 sshd[11470]: reverse mapping checking getaddrinfo for static.customer-201-147-235-91.uninet-ide.com.mx failed - POSSIBLE BREAK-IN ATTEMPT! Jun 3 00:12:02 uhweb69144 sshd[11470]: (pam_unix) check pass; user unknown Jun 3 00:12:02 uhweb69144 sshd[11470]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost= 201.147.235.91 Jun 3 00:12:04 uhweb69144 sshd[11470]: Failed password for invalid user hilary from 201.147.235.91 port 49507 ssh2 Jun 3 00:12:09 uhweb69144 sshd[11530]: Invalid user howard from 201.147.235.91 Jun 3 00:12:09 uhweb69144 sshd[11530]: reverse mapping checking getaddrinfo for static.customer-201-147-235-91.uninet-ide.com.mx failed - POSS...

favourite geek&poke comics

http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef013485e5e37b970c-pi http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef013486458e35970c-pi http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef0133f32a0f25970b-pi http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef0133f3716c17970b-pi http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef013486997ef7970c-pi http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef013487146609970c-pi http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef0133f4227ee4970b-pi