View previous topic :: View next topic |
Author |
Message |
GregLand Valued Contributor
Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Thu Mar 12, 2015 4:33 pm Post subject: Read REG_DWORD in regedit |
|
|
Hello !
I can't read a registry key in the REG_DWORD format.
I tried :
Code: |
info @regread(HLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion,InstallDate)
|
But I obtain everytime 0
I would like it return the decimal of the value...
Someone can help me? |
|
Back to top |
|
|
GregLand Valued Contributor
Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Sun Mar 15, 2015 10:33 pm Post subject: |
|
|
Nobody? |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Mon Mar 16, 2015 5:09 pm Post subject: |
|
|
Sorry, no _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Mon Mar 16, 2015 8:14 pm Post subject: |
|
|
your code worked for me...
what version of windows? |
|
Back to top |
|
|
GregLand Valued Contributor
Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Mon Mar 16, 2015 8:17 pm Post subject: |
|
|
Thanks for your reply.
I use Windows 7 with UAC activated. Maybe, this is the problem... |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Mon Mar 16, 2015 8:18 pm Post subject: |
|
|
run as admin and try again. i'll test 64 bit win8 tonight. works on 8 32 bit |
|
Back to top |
|
|
GregLand Valued Contributor
Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Mon Mar 16, 2015 8:19 pm Post subject: |
|
|
Ok thanks. I will try. |
|
Back to top |
|
|
GregLand Valued Contributor
Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Mon Mar 16, 2015 10:53 pm Post subject: |
|
|
It's ok it work with admin privileges, but I don't understand I don't have the same value than the registry... (Windows 7 x64)
|
|
Back to top |
|
|
GregLand Valued Contributor
Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
|
Back to top |
|
|
|