Mar-28-2017, 06:19 AM
Hello All,
I'm trying without success to read the key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\IEXPLORE.EXE\DefaultIcon
here is the code I'm using :
Thanks for your help
I'm trying without success to read the key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\IEXPLORE.EXE\DefaultIcon
here is the code I'm using :
from winreg import * from time import sleep n = OpenKey(HKEY_LOCAL_MACHINE, r'SOFTWARE\Clients\StartMenuInternet\DefaultIcon', 0, KEY_READ | KEY_WOW64_64KEY) t = (EnumValue(n,0)) print(t)It fails with error:
Output:FileNotFoundError": [WinError 2] The system cannot find the file specified
What am I doing wrong ?Thanks for your help