dkreifus
Content Type
Profiles
Forums
Events
Posts posted by dkreifus
-
-
Yea, I know its normally supposed to do that. I'll check our GPOs out, see if there is something I can have set for it. Worst case, I can have a run once user policy that deletes those reg keys.
0 -
i do and it fills in the company name. But I'll try again to find it.
0 -
We have a corporate install of Office 2003. Everythings works perfectly, (exchange connection, etc).
The only thing I can't figure out is how to have Office prompt for the user's name and initials the first time it is launched. I checked the default users directly, and it is not stored there (so I could delete it).
What setting do I need to set up in the Custom Installation Wizard?
0 -
It turns out that the problem was the HAL. If I set my image into APCI mode, the system won't boot. It seems that intel removed support for that HAL from the montevino chipset.
So my solution is to have the boot disc I use determine if this is a T400 (it checks the processor type), and then manually injects the HAL onto the hard drive.
0 -
not entirely sure. I'll look into it more tomorrow. I tried using the BartPE plugin, which didn't work.
0 -
I know its an old post..but BUMP...anyone had any luck with this?
0 -
I swapped out the HAL and it worked perfectly.
0 -
im trying to do it on WinPE, not windows setup. and I thought I read that I could in the unattended setup reference
0 -
DOes anyone know of a good easy way to create an unattend.xml? Or maybe a guide with all the options, as well as syntax. I tried following the Microsoft guide, but it reads worse than a foreign instruction manual.
I simply need to disable IPv6. I am going to try to script a regedit on the WinPE image but I would like to use the offical way of using the unattend.xml. Maybe even make more changes with that.
I've tried loading WAIK, but the thing gives me errors every time I tried to load a WIM file. And without that, I can't do anything.
0 -
You can use VB script and WMI. I don't know either of those, so I just used batch line.
I did a check for %PROCESSOR_IDENTIFIER%. Its a XP variable.
if /I "%PROCESSOR_IDENTIFIER%"=="x86 Family 6 Model 23 Stepping 6, GenuineIntel" copy /y X:\Windows\HAL\*.* c:\Windows\System32\
I checked it on the T400, another T400 with different build, and a T500. They all had the same result - x86 Family 6 Model 23 Stepping 6, GenuineIntel - So I will take that a Centrino 2. I've looked for a white paper to outline this, with little success.
I checked other machines, with no luck. So any new hardware that comes in, I'll just do a similar check, if it has HAL issues like this.
0 -
Actually, I am just going to use my boot disk to detect the processor, and then drop the hal files into the windows\system32 directory.
It seems to work, my final testing starts tomorrow.
0 -
Hey all,
I hate to revive an old dead topic, but this is exactly what I am working.
My current setup is that I have a single image that works on all our machines. Lenovo, HP, Dell, desktops or laptops, and for all our different locations.
I use Vista PE 2.0 as a Boot CD for all locations. With 1 menu choice, (location), the Boot CD wipes the machine, connects to a network share, drops the image, and adjusts the HAL before rebooting.
I use a HAL script developed here: http://www.myitforum.com/articles/47/view.asp?id=8997 by Johan Arwidmark.
His newest script is designed for MDT.
Anyway...I recently got a Lenovo T400 that doesnt seem to play nice with any HALs. If I use that machine as my image master, and switch the HAL to ACPI PC from ACPI Multiprocessor PC. When I reboot, it just goes to a black screen, and can't load safe mode.
Here is the code I use to change the HAL in VistaPE.
'//////////////////////////////////////////////////
'//
'// Script File:
'//
'// ZTIHalDetect.vbs
'//
'// This script updates sysprep.inf with correct HAL Type
'// The Reference (master) computer should be built from
'// an Advanced ACPI computer
'//
'// Use this script for WIM images (Imagex, OSD, WDS)
'//
'//////////////////////////////////////////////////
Set oWshShell = CreateObject("WScript.Shell")
Set oFSO = CreateObject("Scripting.FileSystemObject")
' Customize the local sysprep.inf file based on the HAL type
Call UpdateSysprepinf ()
' Done, quit.
WScript.Quit
Sub UpdateSysprepinf ()
' Find out the HAL type
sHalType = oWshShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Enum\Root\ACPI_HAL\0000\HardwareID")
If sHalType(0) = "acpiapic" Then
if oWshShell.Environment.item("NUMBER_OF_PROCESSORS") = 1 then
WriteIni "c:\sysprep\sysprep.inf", "Unattended", "UpdateUPHAL", "ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf"
else
writeini "c:\sysprep\sysprep.inf", "Unattended", "UpdateHAL", "ACPIAPIC_MP,%WINDIR%\Inf\Hal.inf"
end if
ElseIf sHalType(0) = "acpiapic_up" Then
WriteIni "c:\sysprep\sysprep.inf", "Unattended", "UpdateUPHAL", "ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf"
ElseIf sHalType(0) = "acpiapic_mp" Then
writeini "c:\sysprep\sysprep.inf", "Unattended", "UpdateHAL", "ACPIAPIC_MP,%WINDIR%\Inf\Hal.inf"
End if
'If sHalType(0) = "acpipic" Then
End Sub
Function ReadIni(file, section, item)
ReadIni = ""
file = Trim(file)
item = Trim(item)
Set ini = oFSO.OpenTextFile( file, 1, True)
Do While ini.AtEndOfStream = False
line = ini.ReadLine
line = Trim(line)
If LCase(line) = "[" & LCase(section) & "]" Then
line = ini.ReadLine
line = Trim(line)
Do While Left( line, 1) <> "["
'If InStr( 1, line, item & "=", 1) = 1 Then
equalpos = InStr(1, line, "=", 1 )
If equalpos > 0 Then
leftstring = Left(line, equalpos - 1 )
leftstring = Trim(leftstring)
If LCase(leftstring) = LCase(item) Then
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 )
in_section = False
section_exists = False
item_exists = ( ReadIni( file, section, item ) <> "" )
wrote = False
file = Trim(file)
itemtrimmed = Trim(item)
myvalue = Trim(myvalue)
temp_ini = oFSO.GetParentFolderName(file) & "\" & oFSO.GetTempName
Set read_ini = oFSO.OpenTextFile( file, 1, True, TristateFalse )
Set write_ini = oFSO.CreateTextFile( temp_ini, False)
While read_ini.AtEndOfStream = False
line = read_ini.ReadLine
linetrimmed = Trim(line)
If wrote = False Then
If LCase(line) = "[" & LCase(section) & "]" Then
section_exists = True
in_section = True
ElseIf InStr( line, "[" ) = 1 Then
in_section = False
End If
End If
If in_section Then
If item_exists = False Then
write_ini.WriteLine line
write_ini.WriteLine item & "=" & myvalue
wrote = True
in_section = False
Else
equalpos = InStr(1, line, "=", 1 )
If equalpos > 0 Then
leftstring = Left(line, equalpos - 1 )
leftstring = Trim(leftstring)
If LCase(leftstring) = LCase(item) Then
write_ini.WriteLine itemtrimmed & "=" & myvalue
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 Then ' section doesn't exist
write_ini.WriteLine
write_ini.WriteLine "[" & section & "]"
write_ini.WriteLine itemtrimmed & "=" & myvalue
End If
read_ini.Close
write_ini.Close
If oFSO.FileExists(file) then
oFSO.DeleteFile file, True
End if
oFSO.CopyFile temp_ini, file, true
oFSO.DeleteFile temp_ini, True
End SubAnyone have any ideas to help? I'm stumped!
0 -
I used nLite to add in new SATA drivers into my unattended installation. When I do an unattended install, it works on both a Lenovo T400 and HP DC5700. When I sysrep the HP DC5700, I load the image on a T400 and get a black screen. If I reboot, I get the Safe Mode menu options. If I choose Start Windows Normally, it just reboots and goes abck to that screen. If I choose Safe Mode, it hangs at agpCPQ.sys
I am using the ZTIHalDetect script to update the HAL. (the system was set to Advanced Configuration and Power Interface (ACPI) before I sysprepped it).
If I sysprep it from the T400, I have no problems with it loading up with the mini-setup screen. I don't want to build it from the laptop, but if I have to, I will.
Any thoughts?
0 -
I want to echo that I am having this issue as well. I'm going to try commenting out the InstallFilesPath, since I don't have anything in there anyway. See what that does.
0 -
I've conceded to using Nlite, but only for driver integration. Other than a hiccup in my sysprep that I have to fix, it seems to be working fine so far.
0 -
I got the drivers from Intel and from Lenovo.
I decided to forgo the direct installation on this machine, and just want to drop a sysprepped image on this machine.
I updated my sysprep file to include the new info under
[sysprepMassStorage]
so it reads:
PCI\VEN_8086&DEV_2652&CC_0106=C:\Drv\00_chipset\t61sata\iaahci.inf
PCI\VEN_8086&DEV_2653&CC_0106=C:\Drv\00_chipset\sata\iaahci.inf
PCI\VEN_8086&DEV_2681&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_27C1&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_27C5&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_2821&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_2829&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_2922&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_2929&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_3A02&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_3A22&CC_0106=C:\Drv\00_chipset\sata.new\iaahci.inf
PCI\VEN_8086&DEV_5029&CC_0106=C:\Drv\00_chipset\sata\iaahci.inf
PCI\VEN_8086&DEV_2652&CC_0104=C:\Drv\00_chipset\t61sata\iastor.inf
PCI\VEN_8086&DEV_2682&CC_0104=C:\Drv\00_chipset\sata.new\iastor.inf
PCI\VEN_8086&DEV_27C3&CC_0104=C:\Drv\00_chipset\sata.new\iastor.inf
PCI\VEN_8086&DEV_27C6&CC_0104=C:\Drv\00_chipset\sata.new\iastor.inf
PCI\VEN_8086&DEV_2822&CC_0104=C:\Drv\00_chipset\sata.new\iastor.inf
PCI\VEN_8086&DEV_282A&CC_0104=C:\Drv\00_chipset\sata.new\iastor.infBut now when I boot, I have a black screen, no XP logo. I feel like I'm missing something very basic.
0 -
I used the Intel Installation of the drivers, no luck. I'm stumped.
0 -
0x0000007B (0xF78B2524, 0xC0000034, 0x00000000,0x00000000)
0 -
I got some progress. I have the text setup process recognizing the drive, copying and installing the files.
I get the windows XP installation screen. (collecting information, Dynamic update, preparing installation), and then it gets to Installing Windows.
It runs for a while, (installing devices, etc)
It finds a plug and play monitor, asks for drivers, then moves to Installing Network, Completing Installation, Installing Start Menu items, Registering components, runs cmdlines.txt, etc. The system reboots, starts XP, then blue screens and starts the Blue screen/Reboot loop cycle.
Plan B is to add the Intel driver installation to the cmdlines.txt. (i have it running a script then), and let it install the drivers as needed. I just don't know why they don't work.
0 -
I just tried the method in the link provided by Nois3. We'll see how it works.
0 -
I was reading the Intel readme, http://downloadmirror.intel.com/16750/eng/readme.txt
and it says to
// Insert the lines below into the UNATTEND.TXT file
[MassStorageDrivers]
"Intel® 82801IR/IO SATA AHCI Controller" = OEM
[OEMBootFiles]
iaAhci.inf
iaStor.sys
iaAhci.cat
Txtsetup.oem
Should I do this for Winnt.sif?
Also, how do I deal with different chipsets and their versions of iaStor.sys? or is it only the inf files that change?
0 -
I tried using the Lenovo drivers, with no luck.
I have it read from the XP install, and no luck. I have it read from a floppy disk, no luck.
Hence, I'm stumped.
I'll try again from scratch with the instructions. Do I need different versions of the SATA drivers from Intel, or are they all encompassing?
0 -
I appreciate the response. I'm familiar with nLite, but I have to do it manually, as it is for business and I need to have a full documentation, etc for the process. But I will read through the post to see if it sheds some light on this.
0 -
bump...any help with this?
0
Track laptop docking and undocking
in Windows XP
Posted
I'm curious if anyone has stumbled upon a method to record or log the last time a laptop was docked or undocked?
Or is there a way to track when the last time a specific registry value was changed?
I found this key, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\IDConfigDB\CurrentDockInfo\DockingState, but I can't check when it was last changed.
Any ideas?