VMWare SATA and NIC Drivers for WinPE

By | January 8, 2014
Share

If your having issues seeing a VMWare Workstation machine during a test deployment, give these drivers a shot.  Worked for me with VMware Workstation v9.0.3.

VMWare-Drivers.zip: https://panaconsulting.egnyte.com/h-s/20140108/8f9ce84ee0754d52

“Test for CloneTag in registry” error during a capture of Windows XP

By | January 8, 2014
Share

Issue: Occurs when Sysprep.exe does not write the CloneTag registry key on a successful generalize.

Workaround: Import the CloneTag registry entries while the system is performing Sysprep.

Here is a .REG file: https://panaconsulting.egnyte.com/h-s/20140108/d758d4092d454a22

Windows Update Error number 0x8024D001 in Windows XP

By | January 7, 2014
Share

Workaround: Build a Windows XP .ISO with the latest Updates already Included.

Here are the steps:

  1. Download and Install NLite (http://www.nliteos.com/download.html).
    1. At the time, the latest was named “XPSP3_QFE_UpdatePack_20131008.7z” (https://panaconsulting.egnyte.com/h-s/20140107/5e301181ec0c4414)
  2. Mount your current XP ISO using Daemon Tools or similar.
    1. I grabbed mine from MSDN a while back (“en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso”).
  3. Use NLite to build a new .ISO with the updates pre-injected.
    1. Mine only grew 20mb with all of the updates.

If you need more directions on using NLite, let me know and I’ll expand on the tutorial. It’s pretty straightforward.

Installing Drivers using the DPInst.exe utility.

By | December 27, 2013
Share

In my recent struggles with using the Windows 7/8 PNPUtil.exe built-in utility,  I went on a search for another means to handle installing my Plug and Play drivers.  I’ve dabbled with the Devcon.exe utility in the past, but it is mostly meant for use with Windows XP and previous OSes.  I then came across a utility that I’ve seen many times before.  The DPInst.exe utility is one used by manufacturers for importing their drivers during installation.  It is by far the most flexible and powerful utility of them all.  Here is how I’ve come to use the utility and am very happy with the results.

Script I use to call the proper DPInst.exe utility (x86 or x64):

@echo off
If "%PROCESSOR_ARCHITECTURE%" EQU "x86" (
    If exist "%SystemRoot%\SysWOW64" (
        "%SystemRoot%\sysnative\cmd.exe" /C "%~dpnx0" %1 %2 %3 %4 %5 %6 %7 %8 %9
        exit
    )
)
echo Changing Directory to "%~dp0" > log.txt
cd /d "%~dp0"
If exist "%SystemDrive%\Program Files (x86)" (
	echo Begining to execute DPInst64 >> log.txt
	"%~dp0dpinst64.exe" /c >> log.txt
) else (
	echo Begining to execute DPInst32 >> log.txt
	"%~dp0dpinst32.exe" /c >> log.txt
)
echo Processing is complete. >> log.txt
echo Review the "%systemroot%\DPINST.LOG" for more information. >> log.txt

Both the x86 and x64 versions can use the same DPInst.XML, which MUST be placed in the same directory as the .EXE files:

* Settings for XML can be found here: http://msdn.microsoft.com/en-us/library/windows/hardware/ff553383(v=vs.85).aspx

<?xml version="1.0" ?> 
<dpinst>

<search> 
<subDirectory>*</subDirectory> 
</search> 
<enableNotListedLanguages/> 
<suppressEulaPage/> 
<suppressWizard/>
<quietInstall/>
<suppressAddRemovePrograms/>

<!-- Only install drivers for online hardware -->
<scanHardware/>

<!-- No driver signature required -->
<legacyMode/>

<!-- Force driver install even if current is better -->
<forceIfDriverIsNotBetter/>

</dpinst>

Lastly, I toss all of my drivers in sub-folders.  DPInstall is smart enough to re-curse through the directory tree and also install ONLY the drivers it needs (Matches a PNPID installed on the system).

It has exhibited issues installing Bluetooth and USB 3.0 drivers, but I believe that is because those devices have multiple sub-devices that appear after the initial driver is installed.

DPInstDirectory

 

Download of DPInst.zip.

/Brian G

Two Scripts to Disabled Adaptive Display Brightness / Ambient Light Sensor in Windows 7/8

By | December 18, 2013
Share

Using a laptop/tablet’s ambient can be a godsend on the battery, but on occasion, to the user it’s a nightmare. In some cases, disabling it is the only acceptable terms to get the unit out the field working as prescribed.

Here are 2 scripts I’ve seen used, which work just fine on both Windows 7 and Windows 8.

Method 1: Disable the “Adaptive Brightness” service in Windows. This can be accomplished via a GPO, LPGO, or script. Here is the script:

sc config SensrSvc start= disabled

And here is how you verified it worked:

Method 2: Use POWERCFG to disable the sensor:

(Note: This script also disables the USB Selective Suspend Setting, which wreaks havoc on machines using internal WWAN cards).

Echo Disable USB Selective Suspend Setting and Adaptive Display Setting

for /f "tokens=2 delims=:" %%G in ('powercfg -getactivescheme') do set guid=%%G

for /f %%G in ("%guid%") do set guid=%%G

powercfg -setacvalueindex %guid% 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 000

powercfg -setdcvalueindex %guid% 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 000

powercfg -setacvalueindex %guid% 7516b95f-f776-4464-8c53-06167f40cc99 fbd9aa66-9553-4097-ba44-ed6e9d65eab8 000

powercfg -setdcvalueindex %guid% 7516b95f-f776-4464-8c53-06167f40cc99 fbd9aa66-9553-4097-ba44-ed6e9d65eab8 000

This can be verified by opening the Power Settings and verifying the settings were modified.