Jump to content

Dont get Result from Registry Key


memnon
 Share

Go to solution Solved by memnon,

Recommended Posts

Hello,

i want to read a String out of the Registry ...

Local $sVar = RegRead("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto UpdateResultsInstall", "LastSuccessTime")
MsgBox(0,0, "last updated:", $sVar)

it would show the last Windows Update Date - but i dont get anything displayed ... the Path and the Key is 100% correct - what i am doing wrong with it ?

das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?

Link to comment
Share on other sites

Try with HKEY_LOCAL_MACHINE64 if you are using a x64 OS :

Local $sVar = RegRead("HKEY_LOCAL_MACHINE64\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install", "LastSuccessTime")
MsgBox(0,0, "last updated:" & $sVar)
Edited by jguinch
Link to comment
Share on other sites

  • Solution

aehm, nope - still no result

$sVar stays without value, if i use any other key and keyname it works

 

edit after your edit^^ ... yes was the "64" thx alot

Edited by memnon

das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...