Re: Regwrite problem

"Steve Waggoner" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
If I had to guess, I would say that Windows doesn't like the key you 
are using.  Try HKLM\Software\'your application name' and put 
whatever values there.  
Steve.

--- In [email protected], "Gert Scheepers" <Gerts@...> wrote:
>
> Hi All
>  
> I am busy with a program to do a hardware and software audit of the 
company
> assets.
>  
> Part of this means that a company asset number must be recorded as 
well for
> each PC and printer.
>  
> I can get monitor and pc serial number, models, etc. Of course the 
asset
> number will be have to be entered manually
>  
> I created a Gui to easily record these asset numbers. I then want 
to write
> it to the registry, if I in future have to re-audit, I can query the
> registry.
>  
> For the PC base this will work fine but for the monitor, I would 
compare the
> previously recorded serial number to the value read, which should 
tell me if
> the monitor was changed since the previous audit.
>  
> Sounds easy? I write to the registry, this can then be verified, 
all ok. On
> rebooting the PC, the entries are all wiped out!
>  
> I am writing to "HKLM\Hardware\AUDIT", any ideas why this happens 
and how I
> can overcome this problem?
>  
> Regards
> Gert
> 
> 
> [Non-text portions of this message have been removed]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.