Generation 2 VM boot from Media/DVD (not .iso)

So is it like that, that I cannot even boot Generation 2 from physical DVD media which is inserted in my Hyper-V host?

You can create ISO file using this PS script..
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

Similar Messages

  • Ethernet seems to work when booted from Leopard DVD--Not anytime else

    Ok. Here is the deal. iMac G5 connected via ethernet cable to router. It will not connect. The airport works fine. I unplug the same cable and plug into macbook pro--it works just fine. Plug it back into iMac.
    In network utilities when booted from the disk--I can ping away just fine. So--in network preferences when I boot it up again I attempt to put the IP address, subnet, router yada yada yada in manually and after about twenty five seconds of the program chewing on it--it crashes. Over and over again. Airport works just fine. PowerBook and Mac Pro connected to same network---all check out.
    Any thoughts?

    Hi,
    The internet port is meant for modem, and ports 1,2,3,4 are meant for computers.
    After making proper connections reset router for 1 minute, and rebbot it.
    Now run easy connect program for configuring router.

  • Satellite C655D-S530​3 will not boot from cd/dvd drive

    I have already set the boot order in the BIOS to boot from cd/dvd drive first and it still goes straight to the HDD and starts Windows 7. I searched for this problem and found some people saying to switch it to CSM boot or disable secure boot but none of these options are available in the BIOS. I have it set to normal boot instead of fast so thats not the problem. Can anyone help me here? I am trying to reformat and reinstall Windows 7. I know the Windows 7 installation disk I have is good because I have used it in another computer and the cd/dvd drive works fine. I just can't get it to boot from the cd/dvd drive before the HDD.
    Solved!
    Go to Solution.

    Satellite C655D-S5303
    Downloads here.
    Try setting the HDD to lowest boot priority. See Dave's solution in this message.
    It's certainly easier to restore the hard disk to its original out-of-the-box contents using Toshiba recovery media. All the drivers and utilities are preinstalled in the proper order. Windows is preactivated.
    If you failed to burn recovery discs, you can obtain recovery media from Toshiba. Scroll down to Get Recovery Media here
    For instructions, see the section Restoring from recovery DVDs/media, which begins on p. 76 of the User's Guide.
       Satellite/Satellite Pro C600 Series User’s Guide
    If you want Windows 7 Professional, upgrading takes only minutes.
       Upgrade to another edition of Windows 7 by using Windows Anytime Upgrade
    -Jerry

  • Satellite C655D-S5303 will not boot from cd/dvd drive

    I have already set the boot order in the BIOS to boot from cd/dvd drive first and it still goes straight to the HDD and starts Windows 7. I searched for this problem and found some people saying to switch it to CSM boot or disable secure boot but none of these options are available in the BIOS. I have it set to normal boot instead of fast so thats not the problem. Can anyone help me here? I am trying to reformat and reinstall Windows 7. I know the Windows 7 installation disk I have is good because I have used it in another computer and the cd/dvd drive works fine. I just can't get it to boot from the cd/dvd drive before the HDD.

     
    Satellite C655D-S5303
    Downloads here.
    Try setting the HDD to lowest boot priority. See Dave's solution in this message.
    It's certainly easier to restore the hard disk to its original out-of-the-box contents using Toshiba recovery media. All the drivers and utilities are preinstalled in the proper order. Windows is preactivated.
    If you failed to burn recovery discs, you can obtain recovery media from Toshiba. Scroll down to Get Recovery Media here
    For instructions, see the section Restoring from recovery DVDs/media, which begins on p. 76 of the User's Guide.
       Satellite/Satellite Pro C600 Series User’s Guide
    If you want Windows 7 Professional, upgrading takes only minutes.
       Upgrade to another edition of Windows 7 by using Windows Anytime Upgrade

  • Wiped macbook pro will not boot from install DVD

    I recently purchased an older MacBook Pro that came with the OS system wiped but it did have the original Install DVDs.  The computer will not boot from the DVD.  I have booted holding down the C key and nothing happens.  I have booted holding down the Option key and it shows the Install DVD and I select this and nothing happens.
    How do I get it to open up the Utilities from the DVD to install the operating system?

    It could be a problem with the optical drive, but also may be due to the DVD's being for a different model.
    Exactly which MBP do you have, and what serial numbers are on the discs ?.

  • Solaris 10 - how to boot from the dvd media

    Hi,
    Could any body guide me on how to prepare the dvd media for solaris 10 installation? I downloaded the 5 dvd images and have no idea on how to put them together on a single dvd to boot from it. I zipped all the dvd's and burned them on a dvd but it doesn't boot from the dvd. Any help will be most appreciated. I can't wait to use solaris 10. Thank you.
    OC

    That is true, but remember that you are doing this in DOS and the file names and locations have to be right. I put the 5 files into a root directory and just renamed them 1, 2, 3, 4 and 5.
    copy /b 1 + 2 + 3 + 4 + 5 file.iso
    file.iso would be the name of the resulting image. You can use anything, i.e., solaris10.iso instead of file.iso if you want.

  • IMac i7 not booting from Replacement DVD

    After having displaced the installation DVDs for my Quad-Core iMac i7 I needed to order a replacement kit from Apple when I all of a sudden found myself wanting to reinstall SL.
    After a couple of days I received "Mac OS X Snow Leopard Install DVD - Replacement DVD 2Z691-6558-A" in the mail.
    Problem is, when trying to boot from this DVD the computer halts at the Apple logo. No spinning wheel, it just sits there showing the logo ad infinitum (leaving it overnight - no progress).
    The install DVD works fine in my Macbook, and I can boot a Windows 7 install DVD in my iMac.
    Wouldn't this indicate that the Replacement DVD I have received is not suitable for my specific iMac model?
    Message was edited by: vibber

    Brilliant. Turned out (as I suspected, but was assured not to be the case) that Apple support had sent (and charged me $30 for) the wrong Replacement DVD.
    My model needs 2Z691-6590, -6591 or -6608, not 2Z691-6558-A, according to the repair guys. Guess it's too much to ask that the iMac could display a proper error message stating this fact, yesno?
    To add insult to injury I will of course be charged a further $100 for the diagnostics (I have no time and energy to even attempt arguing myself out of that one).
    What I probably should do is put my iMac up for sale, and use the funds to get a Wintel box. At my age I need to feel at least a little bit in control of my computer.

  • MacBook Pro does not Boot from the DVD

    If I want to boot from the DVD Insatll and "C" button, then you can hear noises as though it accesses the DVD but there is a gray background with the Apple logo and a spinning circle. I do so not in the Mac operating system but only in Windows.
    Please help

    "I do so not in the Mac operating system but only in Windows."

  • MBP 13" (2010 model) will not boot from Restore DVD!

    I just upgraded the HDD on my 13" MBP to the 1TB Toshiba MK1059GSM. The MBP is 3 weeks old. Upgrade went fine in terms of the process. However, when I insert the OS restore DVD that came with the machine and restart (using ALT/OPTION) and select to boot from the DVD, the Apple logo appears with the spinner and the system just stays like this. I can hear the DVD spinning but nothing elese ever happens! Any ideas as to what could be wrong? Could it be that this new Toshiba HDD is not compatible and the DVD does not have a driver for it?

    +*Could it be that this new Toshiba HDD is not compatible and the DVD does not have a driver for it?*+
    SATA drives use a standard interface and no additional drivers are necessary. That's not to say that the drive itself can't be faulty. As has been suggested, try removing the drive and see if you can boot from the DVD. If that works, you can be pretty sure there may be a problem with your new hard drive. Hopefully you kept your original drive so you can always put that back in. Faulty hardware can always be frustrating because you never think that's the problem. Let us know how you make out.

  • IMac can't/won't boot from Leopard DVD

    My 1GHz G4 iMac can't or won't boot from the DVD, although I know the media is good.
    I get stuck on the grey screen, the rotating bug stops rotating after about 5 minutes.
    It will still boot from the hard disk fine, and will boot with other DVDs as well. Hardware diagnostics check out fine.
    I did try single user mode, it will get there OK.
    Verbose mode spits out a lot of messages (who knew? - lol), but nothing that seems to point to any one issue. It too stops spitting out messages after about 10 minutes.
    Any ideas?

    I did try the clicking the mouse thing just for the heck of it... no joy.
    I do see a few other threads like this one, so I'm not alone on this.
    The error messages I see are (not going to type them out all the way):
    launchd[1]: Failed to count the number of files in /System/Library/StartupItems no such file or directory
    Then a bunch of mDNSResponder errors, also saying either no such file/directory or invalid destination port.
    Then a message saying Folder Manager is being asked to create a folder (cach) while running as uid 0
    Then Cannot use ATS Persistent Store - switching to old FODB cache code
    kextd[47]: root filesystem is read-only; skipping kernel link data generation
    followed by a couple of errors from configdp[41]
    Then nothing....
    Still stuck...

  • Win 7 pro installed on hp touchsmart 320-1030, the machine cannot boot from installation DVD. Assist

    I have installed Win 7 professional on hp touchsmart 320-1030 with an OEM DVD to overwrite Win 7 premium  preinstalled from factory.
    I want to reboot the machine with the same DVD after completing the installation, to test for possibility of reimage in case of crash. Although in bios, I specify cd\dvd as firts boot media,  the machine cannot boot from installation DVD.  I have 20 machines that behave this way. Can anyone assist?
    Note: I had to delete all partitions on the PC before doing a fresh installation of Win 7 pro as Premium can not joing domain.

    Hello,
    So, you installed Window 7 Pro with a DVD, you boot with it to install the O.S, and now it does not work?
    Have you tried to load the BIOS default values or even updating the BIOS?
    If it had work before, cant understand why it does not work now...
    Let me know.
    Thanks,
    I work for HP! Please remember to provide and if this helped click ON

  • Pavilion TouchSmart PC 20-f323, how to boot from a DVD?

    My client has a HP Pavilion 20-f323 TouchSmart PC with Windows 8 on it and wants to downgrade and install Windows 7 Pro instead. 
    However, my first question here is, how do I boot to my Windows 7 Pro DVD on the TouchSmart PC?  I cannot even find a boot menu option to boot from the DVD player.
    Any other URLs pointing to this downgrade process would be appreciated!
    Thank you very much for your time.
    This question was solved.
    View Solution.

    ****Disclaimer*****
    HP doesn't recommend the installation of Windows 7 on a computer shipped with Windows 8, nor will it support the installation of Windows 7. HP will not provide Windows 7 drivers and suitable drivers may not be available for the hardware in the computer. Also, Windows 7 may not support some of the hardware or software features designed for the computer.
    Make sure you create your HP Recovery Discs or USB Flash Recovery media before modifying or changing ANYTHING.
    You will need to purchase a new copy of Windows 7 with a valid COA and product key.
    The screen shots below are from an HP 15t-j100 notepad computer... the options and configuration screens on your computer may differ.
    You will need to DISABLE "Secure Boot" and ENABLE "Legacy Support" in the "BIOS Secure Boot configuration" on the settings page similar to what is shown below, before you can attempt to install Windows 7;
    After saving the changes, the computer will request that you confirm the changes... Accept the changes by typing the four digit code and pressing the "ENTER" key.
    If are you are installing from a USB stick and see a "Load Driver - a required CD/DVD drive device is missing" message, this is because "System Configuration" > "USB3.0 Config in Pre-Boot" is set to "Enabled". This must be set to "Auto". This should clear up the CD/DVD device missing.
    Additionally, as the hard drive is most likely partitioned as GPT, you must boot using the UEFI-Internal CD/DVD or UEFI-USB Key/Drive to install Windows on a GPT partitioned disk. Turn on or reboot the computer and tap "F9" or "ESC" and then "F9" when prompted. Highlight the UEFI boot source you are using and press "ENTER".
    I suggest using Windows 7 SP1 for the best intallation experience. If you need Windows SP1, please see "How to Install Windows 7 Without the Disc" to download and create your own Windows 7 SP1 disc. If the DVD refuses to boot as UEFI, you may need to use a USB Flash drive (may require DISABLING "Fast Boot" in the BIOS) as the installation media. Please download the Windows 7 USB/DVD download tool to create a Windows 7 SP1 USB Flash drive. Please note that some computers may not recognize a valid UEFI enabled USB Flash drive if it is formated as NTFS and may require a FAT32 formatted USB Flash drive. You should be able to make a FAT32 formatted Windows 7 installation USB Flash drive using Rufus, UNetbootin, Universal USB Installer, or WiNToBootic. I like Rufus, as it has options for "GPT partition scheme for UEFI computer" and "FAT32".
    From the top...
    1)  Turn on the computer and immediately start tapping the "ESC" key.
    2)  When the MENU comes up, press the "F10" key.
    3)  Navigate the BIOS to "System Configuration", "USB 3.0 Config in Pre-OS" and set to "Auto".
    4)  Navigate the BIOS to  "System Configuration", "Boot Options" and set "Secure Boot" to "Disabled" and set "Legacy Support" to "Enabled".
    5)  Press "F10" and click "YES" to "Exit Saving Changes"
    6)  Computer should restart and display "Operating System Boot Mode Change"... type the four digit code and press "ENTER".
    7)  Let Windows 8 boot-up and place the Windows 7 SP1media in the DVD drive or USB port, then log-off / shutdown.
    8)  Turn on the computer and immediately start tapping the "ESC" key.
    9)  When the MENU comes up, press the "F9" key and then select the correct UEFI boot source (Internal CD/DVD drive, USB CD/DVD drive, USB Flash drive, etc.)... Press any key to boot CD/DVD, if prompted.
    10)  Select "Language", "Time / Currency", and "Keyboard" settings and then click "Next"
    11)  Click "Install Now"... check "Accept Terms" and click "Next". Click "Custom (Advanced)". 
    12)  You may need to supply AMD SATA/RAID drivers at this time... Download AMD Chipset Drivers (Chipset / AHCI / USB 3.0)
    13)  "Where do you want to install Windows 7???" Select "Disk / Partition" with "Unallocated Space" you created earlier and click "Next".
    14)  Follow all prompts and answer as needed. Enter Windows 7 key when requested.
    Please post the Windows Device Manager's "Hardware Ids" (just the text) for all remaining missing or unknown devices as shown in the example below;
    If you have any further questions, please don't hesitate to ask.
    Please click the White KUDOS "Thumbs Up" to show your appreciation
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Tiger/Panther install problems - won't boot from Tiger DVD or Panther CD

    My Mum has an iMac G3 CRT, running at 500MHz, with 1GB RAM, a 20GB HD, & a slot-loading internal CD-RW.
    The iMac in question is the model described here: http://www.everymac.com/systems/apple/imac/stats/imac500indigo.html
    She only uses the machine for email & web browsing, but because it runs OS 9, it won't run a modern web browser (it's stuck on Internet Explorer 5.1.7) so lots of websites don't load properly or work at all. This is fair enough as IE for the Mac hasn't been updated since 2001.
    My idea was to upgrade the machine from OS 9.2.2 to (ideally) 10.4.11, or failing that, 10.3.9, which would then let her use the current version of Safari, or possibly even Firefox. (Any thoughts on which would be easier for a currently IE-using technically-challenged pensioner would be welcome, although I prefer Safari myself, despite its shortcomings).
    The iMac only had it's original 128MB of RAM until recently, but I persuaded her that it would be a good idea to spend 70-odd Pounds on 1GB of RAM so that OS X could not only be installed (which would let a modern browser be used) but would run at a useable speed. The minimum requirement for Panther is 128MB of RAM, but I suspected that it would run like treacle on a 128MB G3, and I was hoping to go for Tiger anyway, which requires 256MB.
    As Tiger comes on a DVD (I have the retail/generic version) and the iMac has no DVD drive, I borrowed a friends external LaCie FireWire DVD-RW drive (the Porsche styled one). The DVD mounted first time, and the Startup Disk control panel let me select it.
    When I restarted, I got the initial OS X pale grey screen with the dark grey Apple logo in the centre, with the spinning circle thing below, but after a minute or so, I could hear the DVD stop spinning in the drive, and a few seconds later the dark grey Apple logo changed into a dark grey "circle with a line through it" logo, with the normal circle thing still spinning below. This is how things stayed for many minutes, so I just restarted with the external drive off, and eventually got back to a normal 9.2.2 boot-up.
    Next I tried running the "Mac OS X Install" application on the Tiger DVD from within 9.2.2. This started and came up with a big Tiger logo screen with a button labelled "Restart". Clicking it brought up an OS 9 error dialogue though, which said something along the lines of "the Tiger DVD cannot be selected as the startup disk" with a number 2 in brackets at the end of the error message - like this: (2)
    This error occurs both if I select the Tiger DVD in the Startup Disk control panel prior to running the "Mac OS X Install" application, or if I select the internal hard disk. I know the DVD isn't faulty, as I used it to successfully boot my own Mac (a Power Mac G4 Mirror Drive Doors) just the other day, in order to repair permissions on the startup disk.
    At this point I gave up on Tiger and tried to use the first of 3 Panther CDs that I have. These 3 CDs are burnt copies that came with my own Mac and contain version 10.3.2.
    The CD refused to be selectable in the Startup Disk control panel. It's icon was greyed out, and so I couldn't boot from it. I tried running the "Install Mac OS X" application on the CD from within OS 9, but got the same error with the 2 in brackets when I clicked the "Restart" button, just like with the Tiger DVD.
    Initially, I suspected that these Panther discs might be machine-specific, rather than the retail/generic version, because of the first CD being greyed-out in the Startup Disk control panel, but then the error dialogue that matched the one I got when I tried the Tiger DVD makes me think that my Panther CDs might be generic after all. Examining the first CD on my own Mac, it appears to be generic, but I'm not 100% sure, as the CDs are copies and as such don't have the usual identifying information on the labels. There are no machine-specific files that I can find on the first CD, which is dated January 9th 2004.
    Various websites mention that when Tiger was current, Apple would swap a retail copy of the DVD for a set of CDs. I've looked on eBay but not been able to find any. This doesn't surprise me though, as there will be very few copies of Tiger on CD out there, and even fewer copies that people would want to sell.
    There are a few retail copies of Panther available on CD, but if my current burnt copies of these discs are in fact generic, then buying a new set would make no difference. Besides, I'd prefer to use Tiger.
    The Tiger minimum requirements (see http://support.apple.com/kb/HT1514) say:
    "To use Mac OS X 10.4 Tiger, your Macintosh needs: DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation"
    What it doesn't say though, is whether the DVD drive has to be an internal one with Apple firmware/modifications, or whether an external 3rd party one will do. However, I know from various websites that it's possible to load Tiger onto this sort of Mac, and sometimes even older non-FireWire Macs, despite what the minimum system requirements say.
    If anyone has any suggestions I'd be much obliged!
    Thanks.

    The problem is now solved, but I'm not sure how I managed it, unfortunately.
    Having read the article at http://docs.info.apple.com/article.html?artnum=75430, I checked both my Tiger DVD and my first Panther CD, and neither had the firmware updater on them, despite what the article said, so I downloaded it. However I was sure I'd applied a firmware update to the iMac a long time ago, and the 4.1.9 version number seemed familiar.
    When I checked, I had in fact already applied the firmware update a few years ago!
    I tried running the "Mac OS X Install" application on the Tiger DVD from within 9.2.2 again, and got the same error message as before. I was wrong about the error code though. It was minus 2 in brackets, not 2 in brackets.
    The full text of the error message is:
    An error occurred.
    "Startup Disk was unable to select the
    install CD as the startup disk. (-2)"
    I tried selecting the DVD manually in the Startup Disk control panel (as before) and running the application again gave the same error message (also as before).
    I then went into Extensions Manager to see if there was anything there that might be interfering with things. The only thing that caught my eye was the LaCie SilverLining control panel (which I think was version 6.4.5a). This was something that originally came on a floppy disk accompanying an external hard drive that I used to use years ago at a place I worked, and I used to find it invaluable back in the OS 9 G1 Power Mac magneto-optical external drive days!
    I couldn't remember what it was doing on the iMac, but I switched it off, and then clicked "Restart", hoping that when I rebooted (in OS 9) the error message wouldn't come up when I ran the "Mac OS X Install" application.
    However, I'd forgotten that I'd switched the Startup Disk control panel to the DVD, so when the iMac restarted, the initial OS X dark grey Apple logo screen appeared, and I expected the dark grey "circle with a line through it" logo to appear shortly afterwards, but it didn't! The iMac booted up from the DVD, which then let me install Tiger! I was then able to apply the 10.4.11 update, plus all the others that Software Update provided. About half a dozen restarts and several hours later, the iMac is now fully updated & configured, favourites are copied over to Safari 3.1.2, and all I have to do is teach my Mum how to use the OS X Finder, Mail & Safari, as opposed to the OS 9 Finder, Outlook Express & Internet Explorer...
    Switching off the SilverLining control panel seemed to do the trick, but since the iMac then rebooted from the DVD, not the internal hard disk, I don't see how it could have possibly had any bearing on things! Very weird!
    Anyway, thanks to Allan Jones & spudnuty for their advice. All's well that ends well!

  • Macbook pro cant boot from external dvd device please help !!!!

    hello everyone please help me i have macbook pro 2011 core i5 version
    i just installed 2.5 ssd as second hdd
    i cant boot from external dvd device to install any os  the external dvd keeps on spining and mac is just thinking it doesnt show press any key to install
    it shows the device when a boot into mac parition  
    i am trying to install windows on origianl 500 gb hdd and linux on ssd
    but not luck
    the external dvd drive works i pluged into my pc and it works
    please help thansk in advance
    200 gb mac
    300 gb windows
    120 ssd linux

    I do not know about Disk Warrior but if you have a compatible OSX on an external HDD you certainly can boot the MBP.  Use startup manager:
    https://support.apple.com/en-us/ht1310
    Ciao.

  • Boot from Media and static IP script

    I thought I would give back a bit to the community.  My current engagement has a client where 2/3 of the computers are not on DHCP, and probably won't be anytime soon.  There is a feature deficiency in the SCCM boot from media function, it lets
    you set the IP address in the initial WinPE startup, but that address isn't communicated to Windows.  Windows comes up expecting to find DHCP.  Hint, hint here anyone from the product group, this should be added to the Apply Network Settings task
    This script needs to be put in the task sequence right before the Apply Network Settings task sequence step.  The script will check to see if the variables were already set in Windows (which works correctly).  If not (only happens when you are
    doing a new install) it will read the entries from WinPE and write them to the TS variables needed by Apply Network Settings. 
    There is a limitation to the scipt that it can only put in as much as can be entered by WinPE.  So things like multiple DNS servers for example can't be entered into PE, so they can't be transfered to Windows.
    Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2")
    WQL = "Select * from Win32_NetworkAdapterConfiguration where IPEnabled = TRUE"
    Set colNetAdapters = objWMIService.ExecQuery (WQL)
    WScript.Echo "Number of adapters is " & colNetAdapters.Count
    set objSCCM = CreateObject("Microsoft.SMS.TSEnvironment")
    if objSCCM("OSDAdapter0IPAddressList") = "" then
     For Each objNetAdapter In colNetAdapters
      if objNetAdapter.DHCPEnabled then
       WScript.Echo "DHCP Enabled"
      else
       WScript.Echo "DHCP Disabled"
       objSCCM("OSDAdapter0EnableDHCP") = false
       if Not IsNull (objNetAdapter.IPAddress) then
        strIPAddress = objNetAdapter.IPAddress(0)
        WScript.Echo "IP Address:       " & strIPAddress
        objSCCM("OSDAdapter0IPAddressList") = strIPAddress
       end if
       if Not IsNull (objNetAdapter.IPSubnet) then
        strIPSubnet = objNetAdapter.IPSubnet(0)
        WScript.Echo "IP Subnet:        " & strIPSubnet
        objSCCM("OSDAdapter0SubnetMask") = strIPSubnet
       end if
       if Not IsNull (objNetAdapter.DefaultIPGateway) then
        strIPGateway = objNetAdapter.DefaultIPGateway(0)
        WScript.Echo "IP Gateway:       " & strIPGateway
        objSCCM("OSDAdapter0Gateways") = strIPGateway
       end if
       if Not IsNull (objNetAdapter.DNSServerSearchOrder) then
        strDNSServerSearchOrder = objNetAdapter.DNSServerSearchOrder(0)
        WScript.Echo "DNS Server:       " & strDNSServerSearchOrder
        objSCCM("OSDAdapter0DNSServerList") = strDNSServerSearchOrder
       end if
       if Not IsNull (objNetAdapter.MACAddress) then
        strMACAddress = objNetAdapter.MACAddress(0)
        WScript.Echo "MAC Address:      " & strMACAddress
       end if
       if Not IsNull (objNetAdapter.DNSDomainSuffixSearchOrder) then
        strDNSDomainSuffixSearchOrder = objNetAdapter.DNSDomainSuffixSearchOrder(0)
        WScript.Echo "DNS DOMAIN:       " & strDNSDomainSuffixSearchOrder
       end if
       if Not IsNull (objNetAdapter.WINSPrimaryServer) then
        strWins = objNetAdapter.WINSPrimaryServer
        objSCCM("OSDAdapter0EnableWINS") = true
        if Not IsNull (objNetAdapter.WINSSecondaryServer) then
         strWins = strWins & "," & objNetAdapter.WINSSecondaryServer
        end if
        WSCript.Echo "WINS Server:      " & strWins
        objSCCM("OSDAdapter0WINSServerList") = strWins
       else
        objSCCM("OSDAdapter0EnableWINS") = false
       end if
       objSCCM("OSDAdapterCount") = 1
      end if
     Next
    End If
    Bob

    Here is a new version of the script, I think it has a few tweaks in it, it's been a while.  But I don't think it will solve your problem, neither will setting the variable in the collection.  Try this, it might help, run the script as cscript StaticIPBoot
    and look at the output, it might give you some clue as to what's going on, or better yet change the script in the task sequence to:
    cscript StaticIPBoot.vbs > c:\ip.txt
    The script is fairly verbose, it might give you an idea of why it's not working.  The only reason I can see for that variable to be zero is that the script isn't finding any network adapters, or DHCP is enabled.
    Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2")
    WQL = "Select * from Win32_NetworkAdapterConfiguration where IPEnabled = TRUE"
    Set colNetAdapters = objWMIService.ExecQuery (WQL)
    WScript.Echo "Number of adapters is " & colNetAdapters.Count
    set objSCCM = CreateObject("Microsoft.SMS.TSEnvironment")
    if objSCCM("OSDAdapter0IPAddressList") = "" then
     For Each objNetAdapter In colNetAdapters
      if objNetAdapter.DHCPEnabled then
       WScript.Echo "DHCP Enabled"
      else
       WScript.Echo "DHCP Disabled"
       objSCCM("OSDAdapter0EnableDHCP") = "false"
       if Not IsNull (objNetAdapter.IPAddress) then
        strIPAddress = objNetAdapter.IPAddress(0)
        WScript.Echo "IP Address:       " & strIPAddress
        objSCCM("OSDAdapter0IPAddressList") = strIPAddress
       end if
       if Not IsNull (objNetAdapter.IPSubnet) then
        strIPSubnet = objNetAdapter.IPSubnet(0)
        WScript.Echo "IP Subnet:        " & strIPSubnet
        objSCCM("OSDAdapter0SubnetMask") = strIPSubnet
       end if
       if Not IsNull (objNetAdapter.DefaultIPGateway) then
        strIPGateway = objNetAdapter.DefaultIPGateway(0)
        WScript.Echo "IP Gateway:       " & strIPGateway
        objSCCM("OSDAdapter0Gateways") = strIPGateway
       end if
       if Not IsNull (objNetAdapter.DNSServerSearchOrder) then
        strDNSServerSearchOrder = objNetAdapter.DNSServerSearchOrder(0)
        WScript.Echo "DNS Server:       " & strDNSServerSearchOrder
        objSCCM("OSDAdapter0DNSServerList") = strDNSServerSearchOrder
       end if
       if Not IsNull (objNetAdapter.MACAddress) then
        strMACAddress = objNetAdapter.MACAddress(0)
        WScript.Echo "MAC Address:      " & strMACAddress
       end if
       if Not IsNull (objNetAdapter.DNSDomainSuffixSearchOrder) then
        strDNSDomainSuffixSearchOrder = objNetAdapter.DNSDomainSuffixSearchOrder(0)
        WScript.Echo "DNS DOMAIN:       " & strDNSDomainSuffixSearchOrder
       end if
       if Not IsNull (objNetAdapter.WINSPrimaryServer) then
        strWins = objNetAdapter.WINSPrimaryServer
        objSCCM("OSDAdapter0EnableWINS") = "true"
        if Not IsNull (objNetAdapter.WINSSecondaryServer) then
         strWins = strWins & "," & objNetAdapter.WINSSecondaryServer
        end if
        WSCript.Echo "WINS Server:      " & strWins
        objSCCM("OSDAdapter0WINSServerList") = strWins
       else
        objSCCM("OSDAdapter0EnableWINS") = "false"
       end if
       objSCCM("OSDAdapterCount") = "1"
      end if
     Next
    End If
    Bob

Maybe you are looking for

  • A big problem: camera roll doesn't work

    I cannot use the default "camera" to take photo. When I press the "taking photo" button or "volume + " button, the "camera" app would turn off and as a result return to the background. I cannot really delete the photos in the camera roll as well. Whe

  • Freight cost within Stock transport order

    Hi MM experts, We have created a stock transport order to shift material from one plant to other plant and want to book the freight cost while receiving the same material at receiving plant during MIGO. The problem we are facing is, that no accountin

  • How can i get customer material??

    if i just have a material number and the plant which the material is belong to and material group 4(mvgr4),how can i get this material's customer-material(knmt-kdmat). if the knmt-kdmat is null,how can i do?? ths.

  • Hello Adobe! Is there an upgrade from Lightroom Six to Lightroom Five? (Not a Typo!)

    Hope that gets someone's attention. I have used Lightroom since the original software belonged to someone other than Adobe. My first Copy of LR was version one which I received free because I had purchased a lifetime subscription to the software that

  • JTable Cell Editor For Decimal Input

    Hi friends in my program i am using jtable, in that table two columns are decimal value. I am using defaultcelleditor for to check the user input but it does not work. so how can i check the user input, ie number or string using the cell editor. My a