<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[DriverPacks.net Forum - Hardware Universal Ghost Image]]></title>
	<link rel="self" href="http://forum.driverpacks.net/extern.php?action=feed&amp;tid=1519&amp;type=atom"/>
	<updated>2007-07-02T04:12:18Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.driverpacks.net/viewtopic.php?id=1519</id>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=12296#p12296"/>
			<content type="html"><![CDATA[<p>i face the same problem around 3 month ago. unlike you, i use Acronis. Acronis has release Acronis Universal System Restore. From the name should make you smile. Yes, my problem solved. image an image from intel chipset mobo and deploy to other type chipset mobo. but, it seem have a problem when make an image from SiS Chipset mobo. cannot log in windows. one more thing, u have to ready with SATA driver if u deploy to SATA HDD. Acronis will ask for drivers at the end of the deployment proses. hope i can help.</p>]]></content>
			<author>
				<name><![CDATA[paisyam]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=2287</uri>
			</author>
			<updated>2007-07-02T04:12:18Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=12296#p12296</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=11969#p11969"/>
			<content type="html"><![CDATA[<p>That is what I did, but on some really new machines the conversion to the ACPI HAL during sysprep would cause the machine to hang. So whilst it is the best method, it is not fool-proof.</p>]]></content>
			<author>
				<name><![CDATA[lightsout]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=85</uri>
			</author>
			<updated>2007-06-26T12:09:43Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=11969#p11969</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=11951#p11951"/>
			<content type="html"><![CDATA[<p>I solved my own problem with C610, manually replaced %windir%\system32\hall.dll on c610 with one from another pc that was &#039;Advanced Configuration and Power Interface&#039;, then it rebooted and didnt stick. Moral of story is change the HAL to &#039;Advanced Configuration and Power Interface&#039; in vmware image first.</p>]]></content>
			<author>
				<name><![CDATA[chud]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1869</uri>
			</author>
			<updated>2007-06-25T16:41:44Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=11951#p11951</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=11942#p11942"/>
			<content type="html"><![CDATA[<p>C610 on PE has acpipic_up as the HAL which is normal ACPI so don&#039;t understand why it hangs after mini-setup is done?</p>]]></content>
			<author>
				<name><![CDATA[chud]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1869</uri>
			</author>
			<updated>2007-06-25T12:27:08Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=11942#p11942</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=11940#p11940"/>
			<content type="html"><![CDATA[<p>EvilBetty , I have a universal image built in vmware that works on all Dell PC/laptops I have tried, single or dual core with correct HAL (detected with and corrected in PE)<br />However it does not work on Dell C610&#039;s, after the mini setup reboot it hangs almost immediately, in Safe mode on AGPCPQ.SYS - video related, I believe this is the last file before the ACPI stuff starts implying the HAL is wrong. Any ideas? What HAL did your C610 end up being set to when it worked?<br />chud</p>]]></content>
			<author>
				<name><![CDATA[chud]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1869</uri>
			</author>
			<updated>2007-06-25T10:57:06Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=11940#p11940</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10752#p10752"/>
			<content type="html"><![CDATA[<p>If the HAL is wrong, the system won&#039;t boot so you simply can&#039;t do anything. It needs to be changed in advanced. It can be done manually if required, I&#039;ve seen scripts to do it, but I have not gone down that path as I don&#039;t need to.</p><p>If you set oempnpdriverspath=c:\windows\driverpacks - it won&#039;t work, you need to point it to every directory that has a .inf file. sysprep doesn&#039;t search all the subdirectories. <img src="http://forum.driverpacks.net/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[lightsout]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=85</uri>
			</author>
			<updated>2007-05-15T13:31:24Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10752#p10752</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10745#p10745"/>
			<content type="html"><![CDATA[<p>i still never realy understould,&nbsp; why al the complicated scipts...&nbsp; <br />because if i just run a lowlevel sysprep (and remove all the driver-stuff... ) </p><p>there shouldn&#039;t be any thing wrong with setting pnp driverpath to&nbsp; &nbsp;%windir%\driverpacks&nbsp; -&nbsp; the only things i DO have to worry about is that ALL userdata&nbsp; stored in a profile&nbsp; like&nbsp; &nbsp;documents and settings\THIS USER\aplication data\&nbsp; &nbsp;should be moved to the&nbsp; %alluserprofiles%,&nbsp; &nbsp;to prevent users from having to&nbsp; &#039;register&#039; and stuff like that.. </p><p>setting the hall is supposed to be done but the native windows installer - <br />after any sysprep action...</p>]]></content>
			<author>
				<name><![CDATA[-I-]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=543</uri>
			</author>
			<updated>2007-05-14T20:58:36Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10745#p10745</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10647#p10647"/>
			<content type="html"><![CDATA[<p>I haven&#039;t read the entire thread, but I saw:<br />- Ghost<br />- sysprep<br />- HAL</p><p>When trying to create a universal Ghost image with the DriverPacks, you should indeed use sysprep. But it&#039;s true that the DriverPacks do not take care of setting the correct HAL, that&#039;s something your imaging software or some script or something else will have to take care of.</p>]]></content>
			<author>
				<name><![CDATA[Wim Leers]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=2</uri>
			</author>
			<updated>2007-05-09T21:27:06Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10647#p10647</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10630#p10630"/>
			<content type="html"><![CDATA[<p>Why not eh? <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /> The script is based on something I found online anyway.</p><p>Also, I modified it to do a search for a mac address in a file. This was done due to some machines being so old that they didn&#039;t report their motherboard model using WMI at all. For any new machines, it is redundant.</p><p>SMS OSD is just a method of deploying a sysprep&#039;d image - pretty similar to ghost really.</p><div class="codebox"><pre><code>Option Explicit

&#039; Declare the variables
Dim objWMI, objResults, objInstance, strModel, objFS
Dim strUP, strMP
Dim env             &#039; OSD environment object
Dim syspreppath
Dim intCompare

&#039; Initialize objects

Set objWMI = GetObject(&quot;winmgmts:&quot;)
set objFS = CreateObject(&quot;Scripting.FileSystemObject&quot;)
set env     = CreateObject(&quot;OSD.Environment&quot;)

&#039; Detect hardware using WMI

Set objResults = objWMI.InstancesOf(&quot;Win32_ComputerSystemProduct&quot;)

For each objInstance in objResults
If not IsNull(objInstance.Name) then
strModel = lcase(Trim(objInstance.Name))
End if
Next

intCompare=strcomp(strModel, &quot;&quot;)

if intCompare=0 then
  strModel=&quot;Unknown&quot;
end if 

&#039; Find out sysprep values and update sysprep.inf

strUP = &quot;ACPIAPIC_UP,%windir%\inf\hal.inf&quot;
strMP = &quot;ACPIAPIC_MP,%windir%\inf\hal.inf&quot;

syspreppath = env(&quot;OSDTARGETDRIVE&quot;) &amp; &quot;sysprep\sysprep.inf&quot;
&#039;syspreppath = &quot;c:\sysprep\sysprep.inf&quot;

Select Case strModel

Case &quot;optiplex gx1 450s+&quot;
wscript.echo &quot;No Update needed&quot;

Case &quot;Unknown&quot;
if mac_check &lt;&gt; 1 then
  wscript.echo &quot;Update needed&quot;
  WriteIni syspreppath,&quot;Unattended&quot;,&quot;UpdateUPHAL&quot;,strUP
else
  wscript.echo &quot;No Update needed&quot;
end if  

Case Else
WriteIni syspreppath,&quot;Unattended&quot;,&quot;UpdateUPHAL&quot;,strUP

End Select

Function mac_check()

  Dim unk_acpi, f, text, FSO, objWMI
  Dim objNetworkAdapters, ObjAdapter, re, colMatches, strSFN

  set FSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)
  Set objWMI = GetObject(&quot;winmgmts://&quot;)

  strSFN = WScript.ScriptFullName
  strSFN = Left(strSFN,InStrRev(strSFN,&quot;\&quot;))
  
  unk_acpi = &quot;unk_acpi.txt&quot;

  set f = FSO.OpenTextFile(strSFN &amp; unk_acpi, 1, false)
  text = f.ReadAll()
  f.Close

  Set objNetworkAdapters = objWMI.ExecQuery(&quot;select * from Win32_NetworkAdapterConfiguration where IPEnabled = 1&quot;)

  mac_check=0

  For Each objAdapter In objNetworkAdapters
&#039;    wscript.echo &quot;Network adapter: &quot; &amp; objAdapter.Caption &amp; &quot; has MAC address &quot; &amp; objAdapter.MacAddress
    set re = new RegExp
    re.Pattern = objAdapter.MacAddress
    re.Global = true
    re.Multiline = true
    re.IgnoreCase = true
    set colMatches=re.Execute(text)
    if colMatches.Count &lt;&gt; 0 then
      wscript.echo &quot;Non-zero quit.&quot;
      mac_check=1
    end if  
  Next
End Function


Function ReadIni(file, section, item)

Dim line, equalpos, leftstring, ini

ReadIni = &quot;&quot;
file = Trim(file)
item = Trim(item)
Set ini = objFS.OpenTextFile( file, 1, False)

Do While ini.AtEndOfStream = False
line = ini.ReadLine
line = Trim(line)
If LCase(line) = &quot;[&quot; &amp; LCase(section) &amp; &quot;]&quot; Then
line = ini.ReadLine
line = Trim(line)
Do While Left( line, 1) &lt;&gt; &quot;[&quot;
&#039;If InStr( 1, line, item &amp; &quot;=&quot;, 1) = 1 Then
equalpos = InStr(1, line, &quot;=&quot;, 1 )
If equalpos &gt; 0 Then
leftstring = Left(line, equalpos - 1 )
leftstring = Trim(leftstring)
If LCase(leftstring) = LCase(item) Then
set env     = CreateObject(&quot;OSD.Environment&quot;)
ReadIni = Mid( line, equalpos + 1 )
ReadIni = Trim(ReadIni)
Exit Do
End If
End If

If ini.AtEndOfStream Then Exit Do
line = ini.ReadLine
line = Trim(line)
Loop
Exit Do
End If
Loop
ini.Close

End Function

Sub WriteIni( file, section, item, myvalue )

Dim in_section, section_exists, item_exists, wrote
Dim itemtrimmed, read_ini, write_ini, temp_ini
Dim linetrimmed, line, equalpos, leftstring

in_section = False
section_exists = False
item_exists = ( ReadIni( file, section, item ) &lt;&gt; &quot;&quot; )
wrote = False
file = Trim(file)
itemtrimmed = Trim(item)
myvalue = Trim(myvalue)

temp_ini = objFS.GetParentFolderName(file) &amp; &quot;\&quot; &amp; objFS.GetTempName

Set read_ini = objFS.OpenTextFile( file, 1, True, False )
Set write_ini = objFS.CreateTextFile( temp_ini, False)

While read_ini.AtEndOfStream = False
line = read_ini.ReadLine
linetrimmed = Trim(line)
If wrote = False Then
If LCase(line) = &quot;[&quot; &amp; LCase(section) &amp; &quot;]&quot; Then
section_exists = True
in_section = True
ElseIf InStr( line, &quot;[&quot; ) = 1 Then
in_section = False
End If
End If

If in_section Then
If itemtrimmed = &quot;&quot; then
&#039; Do nothing: we want to wipe the section
ElseIf item_exists = False Then
write_ini.WriteLine line
If myvalue &lt;&gt; &quot;&quot; then
write_ini.WriteLine item &amp; &quot;=&quot; &amp; myvalue
End if
wrote = True
in_section = False
Else
equalpos = InStr(1, line, &quot;=&quot;, 1 )
If equalpos &gt; 0 Then
leftstring = Left(line, equalpos - 1 )
leftstring = Trim(leftstring)
If LCase(leftstring) = LCase(item) Then
If myvalue &lt;&gt; &quot;&quot; then
write_ini.WriteLine itemtrimmed &amp; &quot;=&quot; &amp; myvalue
End if
wrote = True
in_section = False
End If
End If
If Not wrote Then
write_ini.WriteLine line
End If
End If
Else
write_ini.WriteLine line
End If
Wend

If section_exists = False and itemtrimmed &lt;&gt; &quot;&quot; Then
&#039; section doesn&#039;t exist
write_ini.WriteLine
write_ini.WriteLine &quot;[&quot; &amp; section &amp; &quot;]&quot;
If myvalue &lt;&gt; &quot;&quot; then
write_ini.WriteLine itemtrimmed &amp; &quot;=&quot; &amp; myvalue
End if
End If

read_ini.Close
write_ini.Close
If objFS.FileExists(file) then
objFS.DeleteFile file, True
End if
objFS.CopyFile temp_ini, file, true
objFS.DeleteFile temp_ini, True

End Sub</code></pre></div>]]></content>
			<author>
				<name><![CDATA[lightsout]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=85</uri>
			</author>
			<updated>2007-05-09T13:48:16Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10630#p10630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10619#p10619"/>
			<content type="html"><![CDATA[<p>I know of Windows PE... I have it... But I have never used it.&nbsp; I have my techs using BartPE.</p><p>We do not use SMS.&nbsp; And I&#039;m not sure what OSD is.</p><p>I&#039;ll really like to do something similar.&nbsp; Do you have a sample script you can share?</p>]]></content>
			<author>
				<name><![CDATA[EvilBetty]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1265</uri>
			</author>
			<updated>2007-05-08T19:35:34Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10619#p10619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10613#p10613"/>
			<content type="html"><![CDATA[<p>I do it during the post-install phase in the SMS OSD - so in a WinPE environment basically. GHOST can run in WinPE, so this should be possible there also.</p>]]></content>
			<author>
				<name><![CDATA[lightsout]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=85</uri>
			</author>
			<updated>2007-05-08T12:28:05Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10613#p10613</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10597#p10597"/>
			<content type="html"><![CDATA[<p>Yes, what process are you using for the WMI query / script?</p>]]></content>
			<author>
				<name><![CDATA[EvilBetty]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1265</uri>
			</author>
			<updated>2007-05-07T13:25:31Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10597#p10597</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10593#p10593"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>EvilBetty wrote:</cite><blockquote><p>What was your process for building it?</p></blockquote></div><p>Build a reference image using the older ACPI HAL (Advanced Configuration and Power Interface (ACPI) PC HAL) even though the host system uses the newer ACPI HAL. During the set-up I use the UpdateUPHAL command in sysprep to update it to the latest UP HAL (which will automatically swap to MP HAL if Windows detects multiple CPUs) - but I have a WMI detect for the motherboard so if it is a certain model then I do not add the UpdateUPHAL command so it remains on the older ACPI HAL. </p><p>That make sense? <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[lightsout]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=85</uri>
			</author>
			<updated>2007-05-07T12:28:50Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10593#p10593</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10558#p10558"/>
			<content type="html"><![CDATA[<p>what i do to image machine without any problems is install windows in VMWare. when windows ask you to hit f6 for textmode drivers hit f5 to choose your HAL. Choose :Advanced Computer and Power Interface. after windows is installed and you visited windows update i go to device manager and update my ide controller. Choose pick your own drivers and&nbsp; install standard ide controller. then you can sysprep your machine and make sure you build mass storage drivers. then image using your fav image tool (i like imagex or ghost) and your done. you can use your update hal script and it should work fine. Since VMWare doesn&#039;t use any 3rd party driver you shouldn&#039;t have any driver problem. i&#039;ve been doing this for a while now and never had any problems. Hope this helps you out.</p>]]></content>
			<author>
				<name><![CDATA[geo411m]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=77</uri>
			</author>
			<updated>2007-05-05T16:27:24Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10558#p10558</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardware Universal Ghost Image]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=10546#p10546"/>
			<content type="html"><![CDATA[<p>I very well may not have this problem solved by then! haha.</p><p>Ok well I did actually get it to work from a GX745 to a C610 this afternoon... but that presents a problem of it&#039;s own.</p><br /><p>I have been building on the latest model and, and modifying the PC to work on all older models.&nbsp; When we began buying dual core machines this introduced machines that would not longer work on the ACPI HAL.</p><p>My process has been to build on the GX745 with a Core 2 Duo, when complete change the HAL driver to &quot;Advanced Computer and Power Interface (ACPI)&quot; prior to syspreping.</p><p>In my Sysprep.inf I included the line &quot; UpdateUPHAL = &quot;ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf&quot; &quot;, in order to change the HAL back to a Multiprocessor HAL when it was detected by SYSPREP.&nbsp; This was working on all of my Desktop PC&#039;s, but not on my laptops.</p><p>Deleting the &quot; UpdateUPHAL = &quot;ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf&quot; &quot;, line in Sysprep corrected the issue on my single core laptops, but has now broke the image for my multi-core machines.</p><p>So I need to find a better way to reliably correct the HALs.</p><p>I am about to try another method from here, called &quot;My Sysprep&quot;.<br /><a href="http://jimtsay.googlepages.com/mysysprep">http://jimtsay.googlepages.com/mysysprep</a></p><p>It has two methods for changing the HAL.&nbsp; The first I am going to try uses CPUID to detect the processor type, and change the HAL accordingly.&nbsp; I tried this process a couple of days ago, but I had mistakenly left the &quot; UpdateUPHAL = &quot;ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf&quot; &quot;, line in SYSPREP when I ran it, and it failed.</p><p>The other method is scripting specific HAL&#039;s for each PC model, which will take more work, but if it works correctly it will be worth it.</p><p>Anyone have any other suggestions?</p>]]></content>
			<author>
				<name><![CDATA[EvilBetty]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1265</uri>
			</author>
			<updated>2007-05-04T20:12:07Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=10546#p10546</id>
		</entry>
</feed>
