Re: Deleting a registry key in Win CE 6.0 (.net)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks Bruce,
In my Platform Builder I can see Hive-based Registry and RAM based
registry - I choose the Hive based. Now, I am not sure if hives can
still be in RAM and need some flushing mechanism - from what I read,
they are supposed to use the file system, so right now I am trying to
find out what is wrong with my setup.

Ivan

On Jan 18, 5:30 am, "Bruce Eitman [eMVP]"
<beitman.nos...@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Do you really have a persistent registry in your 6.0 build?  The default is
to put the hives in RAM.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
 www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

<batva...@xxxxxxxxx> wrote in message

news:02b6f4cd-5daa-4c9d-a4d0-dd87eda3651d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Also, I am not able to flush the registry key in the persistent
storage. I am using the RegistryKey.Flush and also unmanaged
RegFlushKey but data is not flushed. Also, in this case I did not get
any exception - just after rebooting, data that was supposed to be
flushed is not in the registry.

Any input is highly appreciated.

Ivan

On Jan 17, 2:53 pm, batva...@xxxxxxxxx wrote:



Hi

I am trying to delete programatically a particular third-party
registry key using the DeleteSubKey method. I was able to do this in
Win CE 5.0 and .net 2.0, but now I am switching to win CE 6.0 and I
get UnauthorizedAccessException. Is there a way to change the user
access settings for this key? There is a SetAccessControl method but
it is not supported in CE. Any other method that I can use?

I am also not able to delete the key and its parent key using a
registry editor tool, however I am able to delete the grand-parent
key...

Thanks
Ivan- Hide quoted text -

- Show quoted text -

.



Relevant Pages

  • RE: Registry Defragers do they do anything ???
    ... XP saves only two of the five registry hives -- I think "current ... XP then works with the hives in RAM. ... more RAM will help you much more than defragging your registry. ...
    (microsoft.public.windowsxp.general)
  • Re: Deleting a registry key in Win CE 6.0 (.net)
    ... RAM means stored in RAM, of course your little demonstration points ... As I pointed out four days ago, but you ignored, the HIVE registry defaults ... beitman AT applieddata DOT net ... I am not able to flush the registry key in the persistent ...
    (microsoft.public.windowsce.embedded)
  • Re: Deleting a registry key in Win CE 6.0 (.net)
    ... RAM means stored in RAM, of course your little demonstration points ... As I pointed out four days ago, but you ignored, the HIVE registry defaults ... beitman AT applieddata DOT net ... I am not able to flush the registry key in the persistent ...
    (microsoft.public.windowsce.embedded)
  • RE: Registry Defragers do they do anything ???
    ... moderately fast RAM and a fairly fast HD. ... Defrag the HD ... Whenever a key is deleted in the Registry - it isn't actually deleted, ... > the other three hives, which XP creates from these two hives and then loads ...
    (microsoft.public.windowsxp.general)
  • Re: Simple PB question...
    ... indicates that the kernel thinks this is a soft boot where RAM contents have ... especially if you've done a power cycle. ... > are registry settings in an attempt to get DHCP and AutoIP to work (still ... >> reset if you load a new image that has new base registry settings. ...
    (microsoft.public.windowsce.embedded)