Jump to content

mf_2

Member
  • Posts

    34
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by mf_2

  1. Thanks a lot for that script!!! Is there a way of passing a variable to that script when calling it from within a batch file via cscript? Also, I want to set the ShowIcon to '1', so that the connection's icon shows up in the lower right taskbar whenever there is a network plugged in. Cabn I do that in VB too?
  2. Hey guys, I have a small problem: I want to change the primary LAN connection's name in my unattended installation DVD. I located the registry key here: HKLM\SYSTEM\CurrentControlSet\Control\Network\{some large number}\{some-other-large-number}\Connection\Name Now my question is: How can I get the values for those large numbers? Can I do it with a batch file or by reading some registry values? They seem to differ on every computer. Please reply quickly! Best regards, mf_2
  3. I solved the problem!! Here's what I wrote in the batch file: REG add "HKLM\SYSTEM\ControlSet001\Control\ComputerName\ComputerName" /v ComputerName /t REG_SZ /d %pc% /f REG add "HKLM\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /v "NV Hostname" /t REG_SZ /d %pc% /f REG add "HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName" /v ComputerName /t REG_SZ /d %pc% /f REG add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v "NV Hostname" /t REG_SZ /d %pc% /f Replace %pc% with the desired computername.
  4. Thanks a lot, now the only thing left is the computer's name.
  5. Hello, For my unattended DVD, I want to call the IP configuration window for the computer's only LAN connecgtion in order to let the user specify an IP address. What is the command for that? So far, I have found "ncpa.cpl", but this only opens the overview where it shows all the network connections. Also, what is the command to call the window where I can specify a computer name? Or can I write these values directly into the registry? If so, the location for that would be fine too because then I would simply write a batch file which asks for the IP and the computer name and writes it into the registry later. I hope somebody can help me with that ... Best regards, mf_2
  6. Hey guys, I have yet another problem: In my unattended DVD, many Windows components are getting installed silently via the winnt.sif. It works great for everything BUT msmq. This is what my [components] section looks like: [Components] Rootautoupdate=On Fax=Off Indexsrv_system=Off IEAccess=On iis=Off Msmq=On Msmq_Common=On Msmq_Core=On Msmq_LocalStorage=On Msmq_HTTPSupport=Off Msmq_ADIntegrated=Off Msmq_TriggersService=Off Msnexplr=Off NetServices=On SimpTcp=On BEACON=Off P2P=Off Iprip=Off UPNP=Off OEAccess=Off TerminalServer=Off NetOC=On SNMP=On WBEMSNMP=Off FileAndPrint=Off LPDSVC=Off WMPOCM=Off WMAccess=Off msmsgs=Off AccessUtil=On AccessOpt=Off CommApps=Off MultiM=Off Games=Off Spider=Off Solitaire=Off Pinball=Off Minesweeper=Off Zonegames=Off Hearts=Off Freecell=Off AccessTop=On Deskpaper=Off Templates=Off Mousepoint=Off Paint=On Calc=On Mswordpad=Off Charmap=On Clipbook=On [NetOptionalComponents] Beacon=0 What additional settings/components do I have to includde to make it install the correct way? The only thing I need is the Message Queuing Service -> Common Now when I open the "Add/Remove Windows Components" window, it presents me with a "configure services" box, where I can select MSMQ and hit "configure". It says that it needs additional information in order to complete the config, but when I push config, it never asks me for anything. Why is that so? That really sucks...
  7. Thanks a lot, that was the problem. It simply couldn't find any of the programs I was calling (including CHOICE.COM).
  8. Hello, I have been trying to create an Unattended DVD for Windows XP Pro to help my employer install a bunch of PCs. Throughout my research, I have read a great deal on this forum and I have found many answers to my many questions on here. However now I seem to be stuck with a problem. We have a final batch file setting up various things. This file is to be used on three different types of PCs, which requires the user to interact with the script. This is done by extensive use of the CHOICE command all over the script. The script works fine if I start it manually. However when I write it into the RunOnce folder of the Windows Registry via the RunOnceEx.cmd file in the DVD's $OEM$-dir, the batch file doesn't execute properly. It gets started and then just displays the first part (everything up until the first CHOICE command) in an endless loop. There is a DELAY command in the script above the CHOICE command, it gets ignored too. Both work fine if the script is started via a double click. Putting a link to the script in the "Startup" folder produces the same error, regardless of how I call the batch file. I tried it with both a simple "batch.cmd" and a more sophisticated "start "" /wait "batch.cmd"". What am I doing wrong?? Do you guys have any suggestions? This is the last major bug in my DVD, and it's driving me nuts. Thanks in advance, mf_2
×
×
  • Create New...