memnon Posted November 24, 2014 Posted November 24, 2014 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?
Geir1983 Posted November 24, 2014 Posted November 24, 2014 Local $sVar = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install", "LastSuccessTime") MsgBox(0,0, "last updated:" & $sVar)
jguinch Posted November 24, 2014 Posted November 24, 2014 (edited) 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 November 24, 2014 by jguinch Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF
Solution memnon Posted November 24, 2014 Author Solution Posted November 24, 2014 (edited) 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 November 24, 2014 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now