Jump to content

bc-

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by bc-

  1. i have another way on setting network interface parameters. after testing GreenMachines batchfile i noticed, its changing all network interfaces, even those not having any option for iconshow etc. (ms_ras..). i made a new batch that first searches any pci-network adapter for its uniq id's and then goes the interfaces setup. @ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION SET SHOWICON=0 SET IPCHECKINGENABLED=0 SET IACE=0 SET IFKEY=HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces SET CLASSKEY=HKLM\SYSTEM\CurrentControlSet\Control\Class SET ROOTKEY=HKLM\SYSTEM\CurrentControlSet\Control\Network SET NETWORKKEY={4D36E972-E325-11CE-BFC1-08002BE10318} FOR /F "TOKENS=1 DELIMS= " %%A IN ('REG QUERY %CLASSKEY%\%NETWORKKEY%') DO ( SET TEMP1=%%A SET TEMP2=!TEMP1:~97,4! FOR /F "TOKENS=1 DELIMS= " %%C IN ('REG QUERY %CLASSKEY%\%NETWORKKEY%\!TEMP2!') DO ( SET TEMP4=%%C rem ComponentId -> pci\ven SET TEMP5=!TEMP4:~0,11! SET TEMP6=!TEMP4:~19,7! IF "!TEMP5!"=="ComponentId" ( IF "!TEMP6!"=="pci\ven" ( FOR /F "TOKENS=1 DELIMS= " %%D IN ('REG QUERY %CLASSKEY%\%NETWORKKEY%\!TEMP2!') DO ( SET TEMP4=%%D rem NetCfgInstanceId SET TEMP5=!TEMP4:~0,16! SET TEMP6=!TEMP4:~24,38! IF "!TEMP5!"=="NetCfgInstanceId" ( SET FOUNDIF=!TEMP6! rem ShowIcon / IpCheckingEnabled SET REGSTR1=%ROOTKEY%\%NETWORKKEY%\!FOUNDIF!\Connection REG ADD !REGSTR1! /v ShowIcon /t REG_DWORD /d %SHOWICON% /f REG ADD !REGSTR1! /v IpCheckingEnabled /t REG_DWORD /d %IPCHECKINGENABLED% /f rem IPAutoconfigurationEnabled SET REGSTR2=%IFKEY%\!FOUNDIF! REG ADD !REGSTR2! /v IPAutoconfigurationEnabled /t REG_DWORD /d %IACE% /f rem add custom Ndi-settings here SET REGSTR3=%CLASSKEY%\%NETWORKKEY%\!TEMP2!\Ndi ) ) ) ) ) ) bc
  2. try to use xcopy, it can handle folders and files bc
  3. hi msfn people... i have to say, same here :-) even if i'm still building & testing my unattended images in a virtual environment, its lot of fun seeing how everything runs through. never thought of that much potential. my first attraction to this area started after seeing an unattended setup of some hp proliant servers and rapid deployment software. so my mind focused ...why not create something similar for my home setup? after lots of tries and vmware reboots, i got a fine basic system. i like the combination of nlite and unattended scripts. thx all the effort bc
×
×
  • Create New...