Page 1 of 1 1
Topic Options
#206600 - 2013-01-28 03:22 PM readvalue() returns error 2 on UAS key read
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22333
Loc: OK
tried this with reg.exe without admin rights just to make sure it's not that.
worked just fine. kixtart returns nothing with error 2.
I even added my own value and that works just fine with reg.exe but again kixtart returns nothing. tried with 4.53 and 4.62, same result.

what I'm missing?

 Code:
? readvalue('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\UAS','UpdateCount')
? @error ?
? readvalue('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\UAS','test')
? @error ?
_________________________
!

download KiXnet

Top
#206601 - 2013-01-28 03:29 PM Re: readvalue() returns error 2 on UAS key read [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22333
Loc: OK
nevermind...
 Code:
$=setoption('WOW64AlternateRegView','ON')
_________________________
!

download KiXnet

Top
#206617 - 2013-02-02 03:45 AM Re: readvalue() returns error 2 on UAS key read [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11567
Loc: CA
No, good you did run into it and post so now that new users can see it as well.
Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 36 anonymous users online.
Newest Members
thequeen, ameliaryan, shalomsalami, dkdssdk, Vroon
17639 Registered Users

Generated in 0.036 seconds in which 0.016 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org