Create A Windows 8 Bootable Jumpdrive

I tried using the Windows 7 USB/DVD Download Tool to install Windows 8 RTM from a jumpdrive. For some reason, I couldn’t get it to work properly/boot with an error code saying that an operating system was not detected.

Anyway, I manually created a USB stick with great success as 7/Vista before it:

1 – Open an Elevated Command Prompt and run the following commands in order:

diskpart
list disk
select disk # (where "#" is your jumpdrive)
clean
create partition primary
select partition 1
format fs=ntfs quick
assign
exit

2 – Mount an .ISO (now built into Windows 8 with a simple double-click!) or insert a DVD of Windows 8 into your computer.

3 – From the Elevated Command Prompt, change to your optical drive/mounted ISO. (cd X) (where “x” is your drive’s assigned letter)

4 – Change directory again to boot (cd boot)

5 – Run the following command: bootsect.exe /nt60 X: (where X: is your jumpdrive’s assigned letter, viewable from Computer)

6 – Copy the contents of the DVD/mounted ISO onto the USB stick.

7 – Make sure USB keys are supported by your system’s BIOS, and install Windows.

Advertisements

MDT – Deployment Query Date (VBS)

Useful script to determine when you pushed out an image from MDT…

Save the following as a *.VBS file:

Option Explicit
Const strComputer = "."
Const strNamespace = "\root\cimv2"
Const strClassName = "Microsoft_BDD_Info"

Const wbemCimTypeDatetime = 101
'Const wbemCimTypeString = 8
'Const wbemCimtypeBoolean = 11

Dim objSWbemServices: Set objSWbemServices = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & strNamespace)
Dim colInstances: Set colInstances = objSWbemServices.ExecQuery("SELECT * FROM " & strClassName)
Dim iCount, objInstance, objProperty, colProperties
Dim dateTime : Set dateTime = CreateObject("WbemScripting.SWbemDateTime")
On Error Resume Next
Dim o: o = colInstances.count
On Error Goto 0
If Not IsEmpty(o) Then
    iCount = 0
    For Each objInstance in colInstances
        iCount = iCount + 1
        Set colProperties = objInstance.Properties_
        For Each objProperty in colProperties
            If objProperty.cimType = wbemCimTypeDatetime Then
                datetime.Value = objProperty.Value
                If objProperty.Value <> "" Then WScript.Echo objProperty.Name & ": " & datetime.GetVarDate
            Else
                If objProperty.Value <> "" Then WScript.Echo objProperty.Name & ": " & objProperty.Value
            End If
        Next

    Next
Else
    WScript.Echo strClassName & " not found."
End if

Original author – Michael Klinteberg:
http://social.technet.microsoft.com/Forums/en-US/mdt/thread/e783c5ec-da83-4111-80f2-ea4539d603e2