• Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About dkreifus

  • Rank
  • Birthday 06/25/1981

Contact Methods

  • Website URL
  1. 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?
  2. 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.
  3. i do and it fills in the company name. But I'll try again to find it.
  4. 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?
  5. 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.
  6. not entirely sure. I'll look into it more tomorrow. I tried using the BartPE plugin, which didn't work.
  7. I know its an old post..but BUMP...anyone had any luck with this?
  8. I swapped out the HAL and it worked perfectly.
  9. im trying to do it on WinPE, not windows setup. and I thought I read that I could in the unattended setup reference
  10. 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.
  11. 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.
  12. 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.
  13. 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: 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 Sub Anyone have any ideas to help? I'm stumped!
  14. 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?
  15. 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.