ewfOpen returned invalid file handle

H

Helmuth

Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have 2
partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and E:
(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the EWF
partition is missing. I pasted the relevant section of the
FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings: [800,
600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes), Levels
= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type= RAM.

12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type= RAM.

12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0, type=69

12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread] C:\WINDOWS\system32
\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected Volumes:
1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
 
T

Tony Camilli

I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony
-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have 2
partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and E:
(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the EWF
partition is missing. I pasted the relevant section of the
FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings: [800,
600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes), Levels
= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type= RAM.

12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type= RAM.

12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0, type=69

12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread] C:\WINDOWS\system32
\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected Volumes:
1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
S

Slobodan Brcin \(eMVP\)

Hi Tony,

You are right that he need 3 partitions, but according to his log EWF was
able to create config partition, but then it fails for some unknown reason.

Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Tony Camilli said:
I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony
-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have 2
partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and E:
(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the EWF
partition is missing. I pasted the relevant section of the
FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings: [800,
600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes), Levels
= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type= RAM.

12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type= RAM.

12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0, type=69

12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread] C:\WINDOWS\system32
\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected Volumes:
1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
G

Greg Martin

Sounds to me like another case of the "removable vs non-removable" bit
in the compact flash card. I have the same problem with my current
system. I'm waiting for Sandisk tech support to send the application to
change the bit state before confirming, though.

Greg Martin.
Hi Tony,

You are right that he need 3 partitions, but according to his log EWF was
able to create config partition, but then it fails for some unknown reason.

Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony

-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have
2

partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and
E:

(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the
EWF

partition is missing. I pasted the relevant section of
the

FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:
[800,

600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),
Levels

= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=
RAM.

12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=
RAM.

12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,
type=69

12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]
C:\WINDOWS\system32

\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected
Volumes:

1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
K

Kesavan

Slobodan,

I faced this kinda strange errors before .I didnt plug myself into
finding out whether any updates done/notdone to the database would
have put up the same.
Changing the flash states solved the prob.I guess greg could provide
some info once he gets it checked.

Regards,
Kesavan

Greg Martin said:
Sounds to me like another case of the "removable vs non-removable" bit
in the compact flash card. I have the same problem with my current
system. I'm waiting for Sandisk tech support to send the application to
change the bit state before confirming, though.

Greg Martin.
Hi Tony,

You are right that he need 3 partitions, but according to his log EWF was
able to create config partition, but then it fails for some unknown reason.

Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony


-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have

2

partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and

E:

(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the

EWF

partition is missing. I pasted the relevant section of

the

FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:

[800,

600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),

Levels

= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=

RAM.

12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=

RAM.

12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,

type=69

12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32

\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected

Volumes:

1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
S

Slobodan Brcin \(eMVP\)

Hi Kesavan,

Original poster was Helmuth, and he said that he used diskpart to create two
partitions so unless someone know how to do this from Windows on removable
media then my best guess would be that he has CF that is marked as fixed.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Kesavan said:
Slobodan,

I faced this kinda strange errors before .I didnt plug myself into
finding out whether any updates done/notdone to the database would
have put up the same.
Changing the flash states solved the prob.I guess greg could provide
some info once he gets it checked.

Regards,
Kesavan

Greg Martin <[email protected]> wrote in message
Sounds to me like another case of the "removable vs non-removable" bit
in the compact flash card. I have the same problem with my current
system. I'm waiting for Sandisk tech support to send the application to
change the bit state before confirming, though.

Greg Martin.
Hi Tony,

You are right that he need 3 partitions, but according to his log EWF was
able to create config partition, but then it fails for some unknown reason.

Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony


-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have

2

partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and

E:

(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the

EWF

partition is missing. I pasted the relevant section of

the

FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:

[800,

600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),

Levels

= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=

RAM.

12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=

RAM.

12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,

type=69

12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32

\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected

Volumes:

1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
G

Greg Martin

Helmuth,

Do you have a small amount of raw, unpartitioned space available on the
disk (~8MB)? I do not get an error if I don't have it, but it still
doesn't work.

I missed the part about diskpart. I used DOS to fdisk the partitions.

Greg.
Hi Kesavan,

Original poster was Helmuth, and he said that he used diskpart to create two
partitions so unless someone know how to do this from Windows on removable
media then my best guess would be that he has CF that is marked as fixed.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Slobodan,

I faced this kinda strange errors before .I didnt plug myself into
finding out whether any updates done/notdone to the database would
have put up the same.
Changing the flash states solved the prob.I guess greg could provide
some info once he gets it checked.

Regards,
Kesavan

Sounds to me like another case of the "removable vs non-removable" bit
in the compact flash card. I have the same problem with my current
system. I'm waiting for Sandisk tech support to send the application to
change the bit state before confirming, though.

Greg Martin.

Slobodan Brcin (eMVP) wrote:

Hi Tony,

You are right that he need 3 partitions, but according to his log EWF
was
able to create config partition, but then it fails for some unknown
reason.
Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony



-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have

2


partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and

E:


(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the

EWF


partition is missing. I pasted the relevant section of

the


FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:

[800,


600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),

Levels


= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=

RAM.


12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=

RAM.


12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,

type=69


12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32


\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected

Volumes:


1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
S

Slobodan Brcin \(eMVP\)

Hi Greg,

I didn't completely understand problem you have.
Do you have removable or fixed disk?
Do you want one or two protected partitions?

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Greg Martin said:
Helmuth,

Do you have a small amount of raw, unpartitioned space available on the
disk (~8MB)? I do not get an error if I don't have it, but it still
doesn't work.

I missed the part about diskpart. I used DOS to fdisk the partitions.

Greg.
Hi Kesavan,

Original poster was Helmuth, and he said that he used diskpart to create two
partitions so unless someone know how to do this from Windows on removable
media then my best guess would be that he has CF that is marked as fixed.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Slobodan,

I faced this kinda strange errors before .I didnt plug myself into
finding out whether any updates done/notdone to the database would
have put up the same.
Changing the flash states solved the prob.I guess greg could provide
some info once he gets it checked.

Regards,
Kesavan

Greg Martin <[email protected]> wrote in message

Sounds to me like another case of the "removable vs non-removable" bit
in the compact flash card. I have the same problem with my current
system. I'm waiting for Sandisk tech support to send the application to
change the bit state before confirming, though.

Greg Martin.

Slobodan Brcin (eMVP) wrote:

Hi Tony,

You are right that he need 3 partitions, but according to his log EWF
was

able to create config partition, but then it fails for some unknown
reason.

Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell

Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony



-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have

2


partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and

E:


(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the

EWF


partition is missing. I pasted the relevant section of

the


FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:

[800,


600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),

Levels


= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=

RAM.


12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=

RAM.


12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,

type=69


12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32


\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected

Volumes:


1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
G

Greg Martin

Hi Slobodan.

I have it all sorted here.

But to answer your questions:
I have used the Sandisk utility to set the CF card to non-removable
under XPE.
I am using a single flash card with 1 OS partition, and one data partition.

My clients are writing a lot of data to a flash card, and the OS was
getting corrupted when running on a single partition. I have therefore
partitioned the disk into three parts (OS, data and EWF) as they have
requested.

I am also setting up an alternate that will use a RAM EWF for them (I
believe that is the better way for them to go, here).

Regards,

Greg Martin.
Hi Greg,

I didn't completely understand problem you have.
Do you have removable or fixed disk?
Do you want one or two protected partitions?

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Helmuth,

Do you have a small amount of raw, unpartitioned space available on the
disk (~8MB)? I do not get an error if I don't have it, but it still
doesn't work.

I missed the part about diskpart. I used DOS to fdisk the partitions.

Greg.
Hi Kesavan,

Original poster was Helmuth, and he said that he used diskpart to create
two
partitions so unless someone know how to do this from Windows on
removable
media then my best guess would be that he has CF that is marked as
fixed.
Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Slobodan,

I faced this kinda strange errors before .I didnt plug myself into
finding out whether any updates done/notdone to the database would
have put up the same.
Changing the flash states solved the prob.I guess greg could provide
some info once he gets it checked.

Regards,
Kesavan




Sounds to me like another case of the "removable vs non-removable" bit
in the compact flash card. I have the same problem with my current
system. I'm waiting for Sandisk tech support to send the application to
change the bit state before confirming, though.

Greg Martin.

Slobodan Brcin (eMVP) wrote:


Hi Tony,

You are right that he need 3 partitions, but according to his log EWF

was


able to create config partition, but then it fails for some unknown

reason.


Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?

Tell


Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony




-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have

2



partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and

E:



(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the

EWF



partition is missing. I pasted the relevant section of

the



FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:

[800,



600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),

Levels



= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=

RAM.



12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=

RAM.



12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,

type=69



12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32



\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected

Volumes:



1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
S

Slobodan Brcin \(eMVP\)

Hi Greg,

Then you should read this:
http://www.xpefiles.com/a_file.cfm?custid=Components&fileid=ramewf.zip&group
Name=Other

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Greg Martin said:
Hi Slobodan.

I have it all sorted here.

But to answer your questions:
I have used the Sandisk utility to set the CF card to non-removable
under XPE.
I am using a single flash card with 1 OS partition, and one data partition.

My clients are writing a lot of data to a flash card, and the OS was
getting corrupted when running on a single partition. I have therefore
partitioned the disk into three parts (OS, data and EWF) as they have
requested.

I am also setting up an alternate that will use a RAM EWF for them (I
believe that is the better way for them to go, here).

Regards,

Greg Martin.
Hi Greg,

I didn't completely understand problem you have.
Do you have removable or fixed disk?
Do you want one or two protected partitions?

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Helmuth,

Do you have a small amount of raw, unpartitioned space available on the
disk (~8MB)? I do not get an error if I don't have it, but it still
doesn't work.

I missed the part about diskpart. I used DOS to fdisk the partitions.

Greg.

Slobodan Brcin (eMVP) wrote:

Hi Kesavan,

Original poster was Helmuth, and he said that he used diskpart to
create

two
partitions so unless someone know how to do this from Windows on
removable

media then my best guess would be that he has CF that is marked as
fixed.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell

Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Slobodan,

I faced this kinda strange errors before .I didnt plug myself into
finding out whether any updates done/notdone to the database would
have put up the same.
Changing the flash states solved the prob.I guess greg could provide
some info once he gets it checked.

Regards,
Kesavan




Sounds to me like another case of the "removable vs non-removable"
bit

in the compact flash card. I have the same problem with my current
system. I'm waiting for Sandisk tech support to send the application to
change the bit state before confirming, though.

Greg Martin.

Slobodan Brcin (eMVP) wrote:


Hi Tony,

You are right that he need 3 partitions, but according to his log EWF

was


able to create config partition, but then it fails for some unknown

reason.


Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?

Tell


Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony




-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have

2



partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and

E:



(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the

EWF



partition is missing. I pasted the relevant section of

the



FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:

[800,



600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),

Levels



= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=

RAM.



12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=

RAM.



12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,

type=69



12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32



\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected

Volumes:



1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
G

Greg Martin

Cheers, Slobodan.

I had seen this mentioned in some previous messages, but failed to
download it at the time.

Regards,

Greg Martin.
Hi Greg,

Then you should read this:
http://www.xpefiles.com/a_file.cfm?custid=Components&fileid=ramewf.zip&group
Name=Other

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hi Slobodan.

I have it all sorted here.

But to answer your questions:
I have used the Sandisk utility to set the CF card to non-removable
under XPE.
I am using a single flash card with 1 OS partition, and one data
partition.

My clients are writing a lot of data to a flash card, and the OS was
getting corrupted when running on a single partition. I have therefore
partitioned the disk into three parts (OS, data and EWF) as they have
requested.

I am also setting up an alternate that will use a RAM EWF for them (I
believe that is the better way for them to go, here).

Regards,

Greg Martin.
Hi Greg,

I didn't completely understand problem you have.
Do you have removable or fixed disk?
Do you want one or two protected partitions?

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Helmuth,

Do you have a small amount of raw, unpartitioned space available on the
disk (~8MB)? I do not get an error if I don't have it, but it still
doesn't work.

I missed the part about diskpart. I used DOS to fdisk the partitions.

Greg.

Slobodan Brcin (eMVP) wrote:


Hi Kesavan,

Original poster was Helmuth, and he said that he used diskpart to
create
two


partitions so unless someone know how to do this from Windows on

removable


media then my best guess would be that he has CF that is marked as

fixed.


Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups?

Tell


Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Slobodan,

I faced this kinda strange errors before .I didnt plug myself into
finding out whether any updates done/notdone to the database would
have put up the same.
Changing the flash states solved the prob.I guess greg could provide
some info once he gets it checked.

Regards,
Kesavan





Sounds to me like another case of the "removable vs non-removable"
bit
in the compact flash card. I have the same problem with my current
system. I'm waiting for Sandisk tech support to send the application
to
change the bit state before confirming, though.

Greg Martin.

Slobodan Brcin (eMVP) wrote:



Hi Tony,

You are right that he need 3 partitions, but according to his log
EWF
was



able to create config partition, but then it fails for some unknown

reason.



Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded
newsgroups?
Tell



Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Tony Camilli" <[email protected]> wrote in
message
I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony





-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have

2




partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and

E:




(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the

EWF




partition is missing. I pasted the relevant section of

the




FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:

[800,




600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),

Levels




= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=

RAM.




12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=

RAM.




12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,

type=69




12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32




\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected

Volumes:




1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.
 
H

Helmuth

Hallo everyone!

We have tried to install the same configuration on a
normal hard disk (2 partitions, both protected with 1 ewf
partition, in total 3 partitions). This is working
properly. So the problem seems to be the flash disk.

However, if we make a system with only 1 protected
partition and ewf partition, with the exact same flash
disk as above, the whole procedure does work.

It therefore seems, that the moveable or non moveable bit
does not play a role.

When we copy an SDI file from a different configuration
with 2 partitions and one ewf partition, to the CF, then
the system also seems to work (although disk specific data
might be incorrect, but there are 2 partitions and 1 ewf
partition.

So we still do not understand exactly what is happening.

Helmuth





-----Originalnachricht-----
Cheers, Slobodan.

I had seen this mentioned in some previous messages, but failed to
download it at the time.

Regards,

Greg Martin.
Hi Greg,

Then you should read this:
http://www.xpefiles.com/a_file.cfm? custid=Components&fileid=ramewf.zip&group
Name=Other

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

one data

partition.
Embedded newsgroups?

Tell
used diskpart to

create
vs non-removable"

bit
send the application

to
according to his log

EWF
Embedded

newsgroups?
message





I may be wrong, but I'm fairly certian that RAM or RAM-
Reg based EWF overlays will only support 1 protected
volume. If you need to support more than one volume, you
need to create a Disk based overaly. This will require
you to create an additional (3rd) partition to store the
overlay data.

HTH,
Tony





-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would like to have

2




partitions (C: and D:) which are both protected by the
EWF. In the target designer I entered the following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced settings. I
created 2 partitions with diskpart. I named them C: and

E:




(because I am booting from the CD, which is using D:).
When booting with the image, after final booting, the

EWF




partition is missing. I pasted the relevant section of

the




FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch] C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32 \swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32 \eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL, FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings] Settings:

[800,




600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings] Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk] FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024 (KBytes),

Levels




= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType= IDE,Type=

RAM.




12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType= IDE,Type=

RAM.




12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY partition,
start=0x000000003b6e8000, len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk = 0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file handle.

12:00:27 PM - Deleting EWF Partition #3, disk#=0,

type=69




12:00:27 PM - ConfigureEwf() End, status = 0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32




\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and the EWF
partition is deleted again. How do I solve this problem?

The same happens when I use the above configuration, but
with only one physical partition (C:, E: was deleted).

When I perform the same procedure as above with only one
partition in the EWF (Maximum Number of Protected

Volumes:




1) and created physically on the disk (only C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.

.
 
G

Greg Martin

Hi Helmuth,

Did you check to ensure that there was a small amount of unpartitioned
space on the CF?

Try creating the first partition for your OS, then install and run FBA.
Once FBA has finished, check to see if EWF is working. If so, create the
second partition in the remaining space on the CF.

Regards,

Greg Martin.
Hallo everyone!

We have tried to install the same configuration on a
normal hard disk (2 partitions, both protected with 1 ewf
partition, in total 3 partitions). This is working
properly. So the problem seems to be the flash disk.

However, if we make a system with only 1 protected
partition and ewf partition, with the exact same flash
disk as above, the whole procedure does work.

It therefore seems, that the moveable or non moveable bit
does not play a role.

When we copy an SDI file from a different configuration
with 2 partitions and one ewf partition, to the CF, then
the system also seems to work (although disk specific data
might be incorrect, but there are 2 partitions and 1 ewf
partition.

So we still do not understand exactly what is happening.

Helmuth






-----Originalnachricht-----
Cheers, Slobodan.

I had seen this mentioned in some previous messages, but

failed to
download it at the time.

Regards,

Greg Martin.

custid=Components&fileid=ramewf.zip&group

Embedded newsgroups? Tell
non-removable

one data

and the OS was

have therefore

EWF) as they have

EWF for them (I

Embedded newsgroups?

space available on the

it, but it still

the partitions.

used diskpart to

from Windows on

that is marked as

Embedded newsgroups?
ups

message


..

plug myself into

the database would

greg could provide

vs non-removable"

with my current

send the application

according to his log

fails for some unknown
Embedded


groups

or RAM-
protected

volume, you

store the

like to have

by the

following for

settings. I

them C: and

using D:).

booting, the

section of
the





FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch]
C:\WINDOWS\FBA\FBAOC.EXE
(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32
\swprv.dll
(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32
\eventcls.dll
(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL,
FBAMigrateRegistryKeys
11:59:13 AM - [FBAChangeDisplaySettings]
Settings:
[800,





600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings]

Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL,
FBAChangeDisplaySettings
11:59:13 AM - [FBASetProgressText] Resetting
Setup
Flag...
11:59:14 AM - [FBARemoveRestart] Updated
BootExecute!
11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing
System
Hives...
11:59:14 AM - [FBASetProgressText] Resetting
Setup
Flag...
11:59:21 AM - [FBAFlushFilesToDisk]
FlushFileBuffers
(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters
from
registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024
(KBytes),
Levels





= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType=
IDE,Type=
RAM.





12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType=
IDE,Type=
RAM.





12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE
partition,start=0x000000003b6e8000,
len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY
partition,

len=0x000000000000fc00.
12:00:26 PM - Created EWF partition on Disk =
0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file
handle.
12:00:27 PM - Deleting EWF Partition #3,
disk#=0,
type=69





12:00:27 PM - ConfigureEwf() End, status =
0x57.
12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32





\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting
Setup
Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and

the EWF

configuration, but
deleted).

only one
Protected

C:). The EWF
 
G

Guest

Hi Greg!

We do have enough unpartitioned disk space left for the
creation etc. of the ewf partition.

When I use one partition with ewf, this works. Bust when I
run the system and then create a second partition, will
this also be protected by the ewf? Or will it be necessary
to specify the number of partions to be protected in the
target designer and to go through the fba again for two
protected partitions?

After several experiments the flash is working now with
two protected partitions, but we are not sure why this is
now working...

We will be configuring another one in the same way in the
next few days, perhapwe will find out something more.

Helmuth






-----Originalnachricht-----
Hi Helmuth,

Did you check to ensure that there was a small amount of unpartitioned
space on the CF?

Try creating the first partition for your OS, then install and run FBA.
Once FBA has finished, check to see if EWF is working. If so, create the
second partition in the remaining space on the CF.

Regards,

Greg Martin.
Hallo everyone!

We have tried to install the same configuration on a
normal hard disk (2 partitions, both protected with 1 ewf
partition, in total 3 partitions). This is working
properly. So the problem seems to be the flash disk.

However, if we make a system with only 1 protected
partition and ewf partition, with the exact same flash
disk as above, the whole procedure does work.

It therefore seems, that the moveable or non moveable bit
does not play a role.

When we copy an SDI file from a different configuration
with 2 partitions and one ewf partition, to the CF, then
the system also seems to work (although disk specific data
might be incorrect, but there are 2 partitions and 1 ewf
partition.

So we still do not understand exactly what is happening.

Helmuth






-----Originalnachricht-----
Cheers, Slobodan.

I had seen this mentioned in some previous messages,
but

failed to
download it at the time.

Regards,

Greg Martin.

Slobodan Brcin (eMVP) wrote:

Hi Greg,

Then you should read this:
http://www.xpefiles.com/a_file.cfm?
custid=Components&fileid=ramewf.zip&group

Name=Other

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft

Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroup s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Hi Slobodan.

I have it all sorted here.

But to answer your questions:
I have used the Sandisk utility to set the CF card to
non-removable

under XPE.
I am using a single flash card with 1 OS partition,
and

one data
partition.


My clients are writing a lot of data to a flash card,

and the OS was
getting corrupted when running on a single partition.
I

have therefore
partitioned the disk into three parts (OS, data and

EWF) as they have
requested.

I am also setting up an alternate that will use a RAM

EWF for them (I
believe that is the better way for them to go, here).

Regards,

Greg Martin.

Slobodan Brcin (eMVP) wrote:


Hi Greg,

I didn't completely understand problem you have.
Do you have removable or fixed disk?
Do you want one or two protected partitions?

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft

Embedded newsgroups?
up

s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Helmuth,

Do you have a small amount of raw, unpartitioned

space available on the
disk (~8MB)? I do not get an error if I don't have

it, but it still
doesn't work.

I missed the part about diskpart. I used DOS to
fdisk

the partitions.
Greg.

Slobodan Brcin (eMVP) wrote:



Hi Kesavan,

Original poster was Helmuth, and he said that he

used diskpart to
create


two



partitions so unless someone know how to do this

from Windows on
removable



media then my best guess would be that he has CF

that is marked as
fixed.



Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft

Embedded newsgroups?
ro

ups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

message

news:[email protected]
m.

..
Slobodan,

I faced this kinda strange errors before .I didnt

plug myself into
finding out whether any updates done/notdone to

the database would
have put up the same.
Changing the flash states solved the prob.I guess

greg could provide
some info once he gets it checked.

Regards,
Kesavan

message





Sounds to me like another case of the "removable

vs non-removable"
bit


in the compact flash card. I have the same
problem

with my current
system. I'm waiting for Sandisk tech support to

send the application
to


change the bit state before confirming, though.

Greg Martin.

Slobodan Brcin (eMVP) wrote:




Hi Tony,

You are right that he need 3 partitions, but

according to his log
EWF


was




able to create config partition, but then it

fails for some unknown
reason.




Maybe he need to use new QFE.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of
Microsoft

Embedded
ws

groups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Tony Camilli"

message







I may be wrong, but I'm fairly certian that
RAM

or RAM-
Reg based EWF overlays will only support 1
protected

volume. If you need to support more than one

volume, you
need to create a Disk based overaly. This
will

require
you to create an additional (3rd) partition to

store the
overlay data.

HTH,
Tony






-----Original Message-----
Hi everybody!

I have a 1GB flash disk. Ultimately I would

like to have
2





partitions (C: and D:) which are both
protected

by the
EWF. In the target designer I entered the

following for
the EWF:

EWF Volume Configuration:
Maximum Number of Protected Volumes: 2
Maximum Number of Overlay levels: 1
EWF partition size in KBytes: 1024
Protected Volume # 1 (Volume # 2)
Start EWF enabled: not checked (not checked)
Enable Lazy write: not checked (not checked)
Disk Number: 0 (0)
Partition Number: 1 (2)
Disk Type: IDE (IDE)
Overlay Type: RAM (RAM)
Optimisation option: Optimal Performance checked
(Performance checked)

I did not change anything in the advanced

settings. I
created 2 partitions with diskpart. I named

them C: and
E:





(because I am booting from the CD, which is

using D:).
When booting with the image, after final

booting, the
EWF





partition is missing. I pasted the relevant

section of
the





FBALOG.TXT below:

11:58:29 AM - [ScanQueue: File Exists]
C:\WINDOWS\System32\MsDtc\Trace\msdtcvtr.bat
11:59:09 AM - [OcTerminate] Finished
11:59:09 AM - [FBALaunch]
C:\WINDOWS\FBA\FBAOC.EXE

(ExitCode: 0x0)
11:59:09 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBALaunchOCM
11:59:09 AM - [FBASetProgressText] Installing
Components...
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32
\swprv.dll

(ExitCode: 0x0)
11:59:13 AM - [FBALaunch] C:\WINDOWS\system32
\regsvr32.exe /s /i C:\WINDOWS\system32
\eventcls.dll

(ExitCode: 0x0)
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBAREG.DLL,
FBAMigrateRegistryKeys

11:59:13 AM - [FBAChangeDisplaySettings]
Settings:

[800,





600, 32, 60]
11:59:13 AM - [FBAChangeDisplaySettings]

Settings not
found!
11:59:13 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL,
FBAChangeDisplaySettings

11:59:13 AM - [FBASetProgressText] Resetting
Setup

Flag...
11:59:14 AM - [FBARemoveRestart] Updated
BootExecute!

11:59:14 AM - [CallEntryPointThread]
C:\WINDOWS\FBA\FBALIB.DLL, FBAResetSetup
11:59:14 AM - [FBASetProgressText] Replacing
System

Hives...
11:59:14 AM - [FBASetProgressText] Resetting
Setup

Flag...
11:59:21 AM - [FBAFlushFilesToDisk]
FlushFileBuffers

(C:\) succeeded!
11:59:21 AM - [FBADoReboot] Sleeping...
11:59:31 AM - [FBADoReboot] Exiting process...
12:00:25 PM - ConfigureEwf() Start.

12:00:25 PM - Getting EWF config parameters
from

registry.

12:00:25 PM - Non El Torito disk configuration.

12:00:25 PM - EWF Partition Size = 1024
(KBytes),

Levels





= 1, Volumes = 2.

12:00:25 PM - Protected Volume Config #0 :

12:00:25 PM - Disk= 0,Part= 1,DiskType=
IDE,Type=

RAM.





12:00:25 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Protected Volume Config #1 :

12:00:26 PM - Disk= 0,Part= 2,DiskType=
IDE,Type=

RAM.





12:00:26 PM - Enable= Disabled, Optimize= 0,
LazyWrite= N.

12:00:26 PM - Found 1 Hard Disks.

12:00:26 PM - Disk #0 layout info:

12:00:26 PM - PRIMARY
partition,start=0x0000000000007e00,
len=0x000000001f408200, type= 7

12:00:26 PM - PRIMARY
partition,start=0x000000001f410000,
len=0x000000001c2d8000, type= 7

12:00:26 PM - FREE
partition,start=0x000000003b6e8000,

len=0x0000000001a94000, type= 0

12:00:26 PM - Allocating EWF in PRIMARY
partition,
start=0x000000003b6e8000,

len=0x000000000000fc00.

12:00:26 PM - Created EWF partition on Disk
=

0,
partition = 3,size = 0x000000000000fc00 .

12:00:26 PM - ewfOpen.

12:00:27 PM - ewfOpen returned invalid file
handle.

12:00:27 PM - Deleting EWF Partition #3,
disk#=0,

type=69





12:00:27 PM - ConfigureEwf() End, status =
0x57.

12:00:27 PM - [CallEntryPointThread]

C:\WINDOWS\system32





\ewfdll.dll, ConfigureEwf (Error: 0x57)
12:00:27 PM - [FBASetProgressText] Resetting
Setup

Flag...
12:01:40 PM - [FBADoReboot] Sleeping...
12:01:50 PM - [FBADoReboot] Rebooting system...

There seems to be an invalid file handle and

the EWF
partition is deleted again. How do I solve
this

problem?
The same happens when I use the above

configuration, but
with only one physical partition (C:, E: was
deleted).

When I perform the same procedure as above
with

only one
partition in the EWF (Maximum Number of
Protected

Volumes:





1) and created physically on the disk (only

C:). The EWF
partition is created.

Your help is much appreciated!
Helmuth
.





.

.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top