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

Similar Messages

  • EMac 700MHz display turned purple/pink. Can't boot from HD and CD

    hi,
    I have several issues here:
    1) My eMac display turned purple/pink from the start
    2) It won't start from either HD or CD. It gets to the grey Apple and the spinning wheel.. After a while of spinning, it freezes and nothing else I can do. This happens on booting from HD and CD.
    Please help.

    try unplugging the cord for an hour or so. unplug it completely, from where it goes into the machine as well as the outlet. if that doesn't work, you could also try a pmu reset. instructions are found in part 6 of this article. http://docs.info.apple.com/article.html?artnum=34885 let me know if that makes any difference.

  • Can't boot from OSX and may have a virus

    I'm having a similar problem as Davo21 in "computer won't boot up in os x". After running Norton System Works to try to resolve an issue that I was having with my computer, I'm getting a message, "/etc/master.passwd:not a directory" on a black screen when I try to start up.
    It started in early December after I downloaded some stuff off the internet and it seemed like I might have picked up a virus. I know, that's not supposed to happen with OSX, but my computer started doing wierd things like switching out icons for whole types of files - i.e., .wav files would show up with a totally different icon. Restarting solved that problem, but I noticed that on both my wife's and my computer (both Macs - hers a Single core Intel Mini running OSX 10.4 and mine a G3 700MHz running 10.3.9) the internet was running exceptionally slow, while on my work computer (a Dell PC running Windows XP) it was running just fine. All three computers are networked, so I surmised that something was affecting the Unix system but not the Windows, but when I ran Norton Anti-virus, it came up clean. More wierd things kept happening, so last week I decided to run Norton Disk Doctor and it changed thousands of directory settings and now my computer won't boot up from my main boot drive with OSX 10.3.9. I've run the Disk Utilities on the 10.3 Install Disk and I've run Disk Warrior and they both say that the boot drive is repaired, but I still get the same message when I try to start up normally.
    I have several partitions on my original drive and several more on the additional 240GB hard drive that I installed a couple of years ago, so I can boot up from an old copy of OSX 10.2 on another partition. The latest wierd thing is that now one of my other partitions on the original hard drive won't mount.
    My questions are:
    1) How do I get back to being able to boot from OSX 10.3?
    2) Where can I get help to figure out what's going on with my computer and how to remedy it?
    I've been looking at some of the information on the Leap-A malware and it seems like there are some similarities, however I'm running OSX 10.3.9 and not 10.4.
    Any suggestions would be appreciated.
    Thanks,
    G4 700MHz   Mac OS X (10.3.9)  
    G4 700MHz   Mac OS X (10.3.9)  

    DMcSantaFe,
    as was said before Norton Utilities and Disk Doctor were discontinued almost 3 years ago (for some very good reasons!). It caused much more trouble than it solved.
    Here are the articles:
    Symantec discontinues Mac Norton Utilities, SystemWorks
    Norton Utilities, SystemWorks development halted
    TMO Scoop - Symantec Confirms Norton Utilities & SystemWorks' Demise [Updated]
    Tech Tool Pro and DiskWarrior are presently the most reliable utilities. For more information on regular housekeeping read this: MacOS X 10.3/10.4: System maintenance
    Unfortunately Norton usually damages the file system beyond repair. The only cure is a reinstall.
    If this answered your question please consider granting some stars: Why reward points?

  • Boot from floppy and install arch from flash stick - NO CDR - USB 1.1

    MY PREVIOUS POST BELOW BECAME A HARD DRIVE INSTALL POST WHICH HAS HELPED THOUGH ISN'T ON SUBJECT CURRENTLY AND I STILL NEED SOLUTION  - Now at day 3 :-) - sorry!
    I have old laptop with a very broken CDR... so just a floppy and a hard drive and 2 USB 1.1 ports.
    [Need commands and which floppy is best]
    The USB install WIKI
    http://wiki.archlinux.org/index.php/Ins … _USB_stick
    says to write the .img file to flash stick...
    --- that I can do!
    Though trying a similar process:
    I've had no luck with a hard drive install (also on wiki) as I believe that once I write the .img file to the hard drive it WILL boot though can't create mount points as the drive's in use!
    Anyways...
    IF I have the flash stick with the .img file on it as per the wiki instructions
    what commands would I use and what boot floppy would work for:
    - booting from floppy
    - mounting? the flash stick with arch core on it
    - then installing from there to single hard drive partition.
    thing is I'm just barely ok with using
    dd   fdisk and mke2fs
    So: I need to know what command to mount USB stick... then HOW do I get arch installer on the img file to boot up??
    Any guru tips really needed ....thank you!
    Last edited by yvonney (2009-01-28 08:44:59)

    nice Kirurgs
    doesn't boot from usb... and CDR very broken... good though as I've learned a lot....
    dell inspiron 2500 1 ghz pentium III
    method 1) used puppy after booting off wakepup2 floppy ....very handy that wakepup flopppy though be advised there's several versions of wakpup2 and try the second boot option on the aug or sept 2008 version it WILL find your USB device even if like me I had an old 128 meg one.  also, Crash, a guy at the puppy forums has a 3 floppy set that's specific to whatever puppy version you're running... try that as a last resort
    UN-NECESSARY BLATHER COMMENT: The way those puppys are created weird me out., the more I looked around, Yes, I've read a wee bit about Aufs, and what goes into the whole persistent thing.... seems like lotsa almost impossible  to ever 'really' know stuff is going on it there.... Consider the source of that comment of course... I have huge blank spots in my knowledge and skill and am actually only a relentless year one linux'r... [not counting 6 years of hum and haw] though I'd wanna build my own live arch usb with tips from here before I ever tried to REALLY figure out what goes into creating puppy. I'm saying that at one or two points I thought.. hmnmm... perhaps puppy on this old laptop.... though concluded that ARCH for ALL things is really the only option. puppy's a great boot and hunt around thing though (for me, and in my current opinion).
    method 2) eldamar and eldamar's guide which started me towards success .. which I basically now just do the dd command to an empty partition after booting from puppy .... THEN thrown in a supergrub floppy .... have it 'bring alive' the partition I've just dd'd the arch .img to.... and reboot.... oh, and from puppy I can create partitions as well.. gparted I think.
    method 3) untested also can use plop floppy  it's a boot loader... you may be able to get slitaz distro to create one for you through the 'bootfloppybox' terminal command... not sure if it uses the old floppy linux version of PloP or the win version or what.... dunnno dunno!!! gotta go! :--)
    crazy busy so writing to say... pretty much all fine! :--)
    for me this move was 3-4 days of lots of WONDERFUL bad luck... with everything from puppy hell, my partial-dumbness and back..
    thing is.... I'm real good at it now.... hehehehe
    gotta love problems!
    Last edited by yvonney (2009-02-03 17:27:56)

  • EMac wont fully boot from HD and wont allow boot from CD/DVD

    I got a eMac the other day knowing something was wrong with it but figured it was probably a Open Firmware issue. I cant get the thing to boot all the way from the HD, it will give the loading screen with the blue bar going accorss then go to a solid blue screen and sit. If I try to boot with option it will ask for a password and has a lock on the boot screen. I tried to reset the PRAM with Option Command P & R and it still just boots to the main HD but stalls like without pressing anything. Im just trying to start from scratch with this computer(No passwords and a fresh install of OSX).

    OK, I got the Open Firmware off of it, so it boots from the CD now. Problem is that now it wont install OSX. I have TIger and Panther and have tried both. With Tiger it will boot fine and lets me start the install process and then about 15% into the intall it quits with errors and cant install. With Panther it just wont boot from the CD at all it gives me a circle with line diaganal line through it. Maybe the battery is bad ill check that tonight. Other than that I cant think of what else it could be other than bad ram maybe. Ill change that too and rule that out as well.

  • Hp mini will not boot from usb and USB not listed as a choice

    I have an HP mini 110-1116NR and it crashed. During a system restore it stopped working so now there is no operating system on it.
    In BIOS there is no choice to boot from USB (when my disks come in mail from HP)
    Also when it kinda starts im at the DOS screen....system32.exe???????
    I dont know what this means

    Hi cathy69:
     Thank you for your inquiry.   I am pleased to assist you!
    I hope you had a great weekend!
    I see you are looking to change the boot order on your computer. Here is a link to 'Configuring the Boot Order in the System Bios" click here. Please let me know if you require further assistance.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Bootcamp woes, unable to boot from USB and DVD drive reads all DVDs blank

    My partner and I are completely unable to install Windows using Bootcamp.  We have tried dozens of solutions on the internet.
    2011 iMac (purchased in by me and my partner 2012) reads all DVDs as blank.  We have (hilariously) another Mac, an MBP, that has the same exact problem.  You'd almost think "Superdrives" eventually just stop working or something.  So obviously we can't install Bootcamp on the iMac using a DVD.
    But what about a USB stick?  Well after modifying the plist file and writing a bootable Windows USB and trying to boot from that, we were greeted with the mysterious and apparently yet-unsolved "no bootable device" error. 
    So our iMac can't boot from USB drives or read DVDs.  We've only owned it for two years.  And this is the second Mac we've owned where the Superdrive has died.  And we don't even use DVDs more than like once a year.
    But anyway, can someone tell me what we're supposed to do if we want to install Windows aside from throwing money away to buy another Superdrive that is probably going to die again in a year?  Maybe a way to make our mac boot from our USB stick?  Something?
    Thanks.

     Should you have another drive with a MBR, use it to rule that issue out. Alternatively create a GPT on the flash drive and try to boot from it.
     What options are there for the usb controller/boot priorities/order/options? Does the laptop recognize the usb flash when already in bios setup? Should there be any form of choosing the device to boot, use that with the flash drive in the socket, then switch it with the external drive.

  • G4 (10.4.11) won't boot from disk and won't safe boot

    I lost the items from the bottom half of my finder sidebar list on my G4 running under 10.4.11. The instructions to correct this problem that I found include safe booting (holding down shift after startup tone). However, this just doesn't happen (left with spinning gear for minutes). I tried to boot from two different disks (DiskWarrior and Apple's Hardware Test - holding down C at startup), but with the same result... a spinning gear.
    I can still boot the computer as normal and it still works, but there is obviously something not right.
    Anyone recognise these peculiarities?
    Thanks,
    Lee

    Lee:
    I always shut down my Mac when not in use and some times I will restart when an application slows down. When you load applications they most always require restart. When the monitor freezes on some glitch the first maintenance recommended is to restart or shut down for a couple of minutes. Your Mac will respond much better. sometimes to many application may be open at once. I sometimes forget that I've opened an application and forget to close it. Keep it lean and plenty of free disk space on your OS Volume (hard drive) for Virtual Memory your Mac uses it often for temp storage. I have two backup Firewire hard drives that I keep most important data. I try to keep all applications on my OS Volume and only data that I use every day and I always backup when I complete my up date.
    Dick. D
    Message was edited by: Dick Deaton

  • Imac 27 will only boot from internal and from factory install DVD?

    I was trying to create a bootable external source for my iMac 27 and came across a pretty odd scenario. One that Apple iteslef says they have never seen before. Love any feedback on how to create a external bootable source. Below are my notes from the 45 minute conversation I just had with Applecare.
    My iMac 27 purchased in December, 2010 Will not boot from:
    Apple Factory Install DVD (white printed with Snow Leopard)
    TechTool Pro 5.06 DVD
    SD Card with Bootlable installation
    EXT HDD with previous bootable (Leopard 10.5.9) system on it
    eDrive on an EXT HDD
    I had a 45 conversation with Applecare and the tech has never heard or seen a situation like this one.
    Every source shows up if I hold the "option" key down upon power up.
    Every source shows up in the System Prefs Startup window (though there was one oddity that he had not seen before. I have to authenticate each and every time I try to change my startup disk in the Startup Disk Prefs)
    Every source other than the internal has the same result if I try to boot into it, gray screen with dark gray Apple logo, no gears running, no optical accessing, just the gray screen forever.
    We reset my PRAM and tried again. No change
    Then the Applecare tech had to get off the phone in order to do some further research.
    He came back and we tried to startup from the DVD that shipped with my iMac, not the white factory Snow Leopard I got from Amazon, but the gray install DVD from Apple.
    This one booted.
    We repaired permissions and checked the internal disk from the Apple Gray Install DVD.
    That is as far as the tech could go. He is sending me out a new copy of Snow Leopard, but is unable to support me in my quest to boot from an external source.
    I am going to try and create a bootable external source using the gray install dvd instead of the commercial Now Leopard one and see what happens.
    Thanks,
    Henry

    The point is that V.K. is correct.
    You cannot create a bootable disk for your iMac from the factory Snow Leopard DVD because your machine was released after Snow Leopard was and as such relies on operating system changes and drivers that exist solely on the disc that came with your machine.
    I'm really surprised if an AppleCare agent didn't know that.
    To create a bootable external drive either use your Software Restore disc or create a bootable clone of your internal drive using an app like Carbon Copy Cloner.

  • Nothings working safe mode boot from cd and start up

    Safe mode won't work
    Boot from cd won't work
    Os is gone because I have a extra partition for some weirdreason and only boots in hd recovery

    Boot from the recovery partition (Command +R on boot) and use disk utility to repair your OS 10.7 partition.

  • Blue screen when boot from cd and cannot open diskutil

    HEllo
    i have problem my macbook pro 2011 i7 when i boot up after apple logo display white screen , when i boot from cd display blue screen , i'm format my ssd but same problem
    when i'm try open diskutil with CMD +R open Recovery network
    Any body can help me ?

    when i'm try open diskutil with CMD +R open Recovery network
    I don't understand what you are talking about.
    Startup - Blue Screen
    Startup - Gray, Blue or White screen at boot, w/spinner/progress bar
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

  • Probook 6560b refuses to boot from media created in HPQFlash

    Hello.  
    Since my old SSD-drive died Corsair gave me a new USB 3.0 SSD, wich my current F04-BIOS dosen't support.
    So'm trying to upgrade to F40 to get the 3.0-support but no suck luck.
    After I created the bootable usb-stick my proobook just says "remove media and reboot".
    I even tried to download the F22-version wich was the first one with the 3.0-support, but the installer wouldn't even run on my other pc.
    Suggestions?
    Ps.
    The flashdrive is a Kingston Datatraveler 112 16GB.

    Hello BaltusX1,
    You are using a business/ commercial computer, and have posted on the consumer forum. To get the best and most accurate response to your issue please post on the business/commercial forum, see the link below that will direct you to the proper location. You also may have to create a new profile.
    HP Probook Forum
    Thanks
    Clicking the White Kudos star on the left is a way to say Thanks!
    Clicking the 'Accept as Solution' button is a way to let others know which steps helped solve the problem!

  • 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

  • Read header text from vf01 and print in script main window

    Hi Gurus,
               I need to read text from vf01 header note 1, there user type max 10 lines i want to read that 10 lines and print in sap script main window after line item printed. i used read text but  one line only  fetched. i declare variable like  data : NEXRSP LIKE TLINE-TDLINE and read_text function module. pls provide solution for this.
    Regards
    G.Vendhan

    HI GURUS,
    Thank u for reply i declare like
        ID = '0002'.
        PERFORM READTEXT USING EN NAME OBJECT ID TEXT_OUTPUT.
        NEXRSP = TEXT_OUTPUT . CLEAR TEXT_OUTPUT.
    FORM READTEXT  USING    P_EN
                            P_NAME
                            P_OBJECT
                            P_ID
                            P_TEXT_OUTPUT.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          CLIENT                  = SY-MANDT
          ID                      = P_ID
          LANGUAGE                = P_EN
          NAME                    = P_NAME
          OBJECT                  = P_OBJECT
        TABLES
          LINES                   = LINES
        EXCEPTIONS
          ID                      = 1
          LANGUAGE                = 2
          NAME                    = 3
          NOT_FOUND               = 4
          OBJECT                  = 5
          REFERENCE_CHECK         = 6
          WRONG_ACCESS_TO_ARCHIVE = 7
          OTHERS                  = 8.
       LOOP AT LINES.
        P_TEXT_OUTPUT =  LINES-TDLINE.
        EXIT.
       ENDLOOP.
      FREE LINES. CLEAR LINES.
      ENDFORM.                    " READTEXT

  • 2012 Macbook Pro won't boot from CD and freezes in single user mode

    I'm rebuilding a macbook pro. Everyting was fine until I tried to install Snow Leopard from the disk. It goes to the Apple symbol no spinning wheel and you can hear the drive working for a few seconds but then stops. I've also tried booting to sinlge user mode but it just freezes after Loading System\Library\Caches\com.apple.kext.cahces\Startup\Extensions.
    I've tried resetting the PRAM as well.

    If you have a 2012 MacBook Pro, you can't install Snow Leopard because it's not compatible, so it's normal that you can't start OS X.
    Now, you have to install OS X Lion or Mountain Lion again. Hold Command, Option (Alt) and R keys while your Mac is starting to start into OS X Recovery, and reinstall OS X. After reinstalling OS X, you will be able to use your computer.
    You can't run an older OS X version than the one that came with your computer, because of some reasons:
    1. The hardware isn't compatible.
    2. The firmware restricts the installation of older versions on the computer.
    3. It's illegal: Apple doesn't allow you to install an older OS X version than the one that came with your computer, and it doesn't mind the method you use (a "normal" installation or a virtual machine)

Maybe you are looking for

  • Can't Create a NEW LIBRARY

    I'm trying to create a new library to do some maintenance on certain files (I'll spare you the details as to WHY). I can't figure out how to create a new library. I've tried holding the SHIFT key when starting iTunes per the instructions here: http:/

  • How to disable updates and hide set as default browser option in firefox 31.0 for many users,like changing the setttings in any file

    Hi, I am trying to disable updates, set as default browser option and import settings from other browers permanently for many users for firefox 31.0. can you please help me with that. I know settings are going to prefs.js file in user profile. How ca

  • Interface as a Web Service

    Hi experts,   I have generated wsdl for the outbound interface in PI 7.1. Now I am testing that web service through XML spy but I am getting the error saying file could not be posted. what will be the possible cause of the error. Do I need to publish

  • Ant target to call a servlet

    I am trying to create an Ant target that will call my servlets doPost method. I have been looking at the <exec> tag, but not sure if this will work the way I want. Any suggestions? TIA

  • ITunes is crashing multiple times per day

    For the past few months iTunes has been crashing multiple times per day. Most of the time I'm not even using it. I'll get up in the morning or come home from work and have the problem report message on the screen. Sometimes it does happen while I am