RE: Regwrite problem
"Gert Scheepers" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Organization | Galileo |
| Message-ID | <[email protected]> |
Thanks everyone, I moved it to software and it is now fine there. Someone from the other forum suggested I put it in the CMOS. We are using only IBM machines and I think I found a utility to do just that. Regards Gert _____ From: [email protected] [mailto:[email protected]] On Behalf Of Stefan Lubitz Sent: 10 November 2006 16:39 PM To: [email protected] Subject: Re: [AutoIt] Regwrite problem As far as I know, you are not able to create new keys under HKLM/Hardware. In fact you can create, but they will be deleted. Use another location like: HKLM\Software\Audit. Regards, Stefan Gert Scheepers schrieb: > > 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] > > [Non-text portions of this message have been removed]