Windows Embedded Blog

Archive for November 2008

Driverinstallation in XP Embedded fails with message “problem installing error occurred. A service installation section in this INF is invalid”

with 2 comments

If you install a driver in XP Embedded you get the following error and the device driver installation fails.

“A problem installing <devicename> error occurred.  A service installation section in this INF is invalid”

This will happen when the driver inf file contains a file which is not available in the driver folder and not available on the Windows system. Some drivers assume that the files already exist because they are there on a full XP Pro installation.

To solve this and be able to install the driver open the inf file in notepad and have a look into the the CopyFiles section.
Check if all files are either in the windows folders (system32, system32drivers,..) or in the driver folder.
If a file is missing copy it over from a XP Professional system and retry the installation –> if all files are there the installation should succeed.

Written by Wolfgang Unger

November 4, 2008 at 18:04

Driverinstallation cannot find files

leave a comment »

When you install drivers under XP Embedded you get the error message that the system cannot find a specific needed file.

This is a normal behavior in XP Embedded and can happen even if the files are already located in the correct folders.

Just click browse and search for the following filetypes in the following folders.

.sys Windowssystem32drivers
.dll Windowssystem32
.drv Windowssystem32

If a file is not there just copy it over from an XP Professional system or extract it from the Repository folder.

You should also setup a filter in Target Designer to search for the missing file and include the component for the next build.

Written by Wolfgang Unger

November 4, 2008 at 17:50

EWF error: failed getting protected volume configuration with error 1.

leave a comment »

When you created an image with EWF and run ewfmgr you get the following error message: “Failed getting protected volume configuration with error 1.  incorrect function.”

One reason for this can be that you specified the ARC path for the volume wrong.

You can change the ARC path in the running image in the following registry key:

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesewfParametersProtectedVolume0]
ArcName=multi(0)disk(0)rdisk(0)partition(1)

You can find the naming convention for the ARC Path here: http://support.microsoft.com/kb/102873

 

If it is still not working check the following registry entry:

The UpperFilters key must contain the value Ewf
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass{71A27CDD-812A-11D0-BEC7-08002BE2092F}]
UpperFilters=”Ewf”

After each change make a reboot and try running ewfmgr c: again.

Written by Wolfgang Unger

November 4, 2008 at 17:41