No desktop activity

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey guys, how come when I build my image and deply it, and I want to drop
something on the desktop it doesn't show on the desktop but it shows up in
\docsettings\user\desktop\?

also, are there any api calls that can use RAM based EWF usage ?


thanks!
 
Mark,
Hey guys, how come when I build my image and deply it, and I want to drop
something on the desktop it doesn't show on the desktop but it shows up in
\docsettings\user\desktop\?

And "Show Desktop icons" setting option of the "User Interface Core" component is set in your configuration?
also, are there any api calls that can use RAM based EWF usage ?

I am not sure I understand this question. Do you want to check RAM based EWF memory usage with API call?

In any case, see this API: http://msdn.microsoft.com/library/en-us/xpehelp/html/xetbsEwfMgrGetProtectedVolumeConfig.asp

And check out DisplayEwfOverlayConfig code on the http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconCodeExample.asp page.

Also, you can always register a EWF low space notification: EwfMgrRegisterLowSpaceNotification.
 
Thanks KM -

With regards to the EWF, I noticed when my machine has been idle for a while
under EWF RAM, I get alot of random errors, and I can't even log in/out after
a while and I beleive it is because the ram is overloading. All I would like
to do is make a simple MFC application that will warn the user the EWF is
almost full and you'll start getting errors soon.



Also, what do you suggest with the pagefile on embedded systems? If I set
it to 0 and EWF is active that can be kind of dangerous....since the VM
requests will go to EWF correct? And if I set it to a high number like
512...then it still goes to the EWF layer correct? I'm just a little
confused about how EWF handles things like that? Are there optomization
guides for EWF, like a checklist... ie disable disk write cache....disable
pagefiling etc?


THANKS AGAIN KM
 
Mark,
With regards to the EWF, I noticed when my machine has been idle for a while
under EWF RAM, I get alot of random errors, and I can't even log in/out after
a while and I beleive it is because the ram is overloading. All I would like
to do is make a simple MFC application that will warn the user the EWF is
almost full and you'll start getting errors soon.

Well.. First of all, you did not seem to "minimize" EWF RAM usage as mush as possible.
Since you mentioned the system gets cranky in idle I'd suspect you have some growing logs on the protected partition (e.g., Event
Viewer log).
Please read this tip to optimize the EWF RAM usage on your image:
http://msdn.microsoft.com/embedded/community/community/tips/xp/ramewf/default.aspx

Slobodan may shed more light on how you can minimize the EWF RAM usage :-)
Also, what do you suggest with the pagefile on embedded systems? If I set
it to 0 and EWF is active that can be kind of dangerous....since the VM
requests will go to EWF correct? And if I set it to a high number like
512...then it still goes to the EWF layer correct? I'm just a little
confused about how EWF handles things like that?

This is a tough topic because it is still unclear how pagefile and EWF live together.
After some testing we have done (please see some reports in this NG) it seemed that somehow pagfile write requests were bypassing
EWF so the EWF RAM usage was not growing even if we had many page faults.
Unfortunately, I could not get a clear Microsoft response on the subject.

However, I'd still recommend you to turn off the pagefile support on protected partition (or move it to unprotected partitions) to
be safe.
Are there optomization guides for EWF, like a checklist... ie disable disk write cache....disable pagefiling etc?

Please see the link mentioned above.
 
Slobodan may shed more light on how you can minimize the EWF RAM usage :-)

Hardly that I can say something more than I already did in this NG. Although I would like to know:
- what filesystem do you use?
- how much memory do you have?
- size of your protected partition?
- size of your OS on protected partition?
This is a tough topic because it is still unclear how pagefile and EWF live together.
I thought that we determined that something fishy is going on, enough that we know that pagefile on protected volume is very, very
bad thing.

Mark,
Move pagefile on unprotected partition this is the only way if you need pagefile.

Regards,
Slobodan
 
Back
Top