[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2120
  • Last Modified:

Registry read from lotus script for windows 7 64 bit

Hallo Experts,

I was using the following code to pickup Novell Login from the registry for Windows 7 32 bit. It was working fine. But as we are deploying Windows 7 64 bit now, the following lines do not work.

vLoginID = Evaluate("@RegQueryValue(""HKEY_LOCAL_MACHINE""; ""SOFTWARE\\Novell\\Login\\Profiles\\System\\Default""; ""UserName"")", doc)
sLoginID=vLoginID(0)
sLoginID=Cstr(Trim(Ucase(sLoginID)))

sLoginID is not returning any value from the registry for 64 bit.

Please help,

Soumen
0
Soumen-Roy
Asked:
Soumen-Roy
  • 2
  • 2
1 Solution
 
Sjef BosmanGroupware ConsultantCommented:
I'm totally blank on this, so don't shoot me. Here a few ideas:
1. can you fetch some other registry key?
2. could it be that your request is "redirected" (I haven't a clue what that really does), see
http://msdn.microsoft.com/en-us/library/windows/desktop/aa384182%28v=vs.85%29.aspx
0
 
Soumen-RoyAuthor Commented:
@sjef_bosman,

Thank you for your suggestion. But any suggestion for lotusscript / formulla language? Actually what is my finding in registry for 64 bit, HKLM may be prohibited for accessing. I am not sure. I found an alternative as I can access HKCU now. But the keys are different. Thats a major problem. Also, HKLM is not same as HKCU.

Thanx,
Soumen
0
 
Sjef BosmanGroupware ConsultantCommented:
For what it's worth:
http://noteslog.com/post/regqueryvalue/

The page itself is a mess, but the HTML underneath seems correctly formatted, so do a View/Source and see if that code can help you out.
0
 
Soumen-RoyAuthor Commented:
Thanx a lot. I got an idea how it can be done.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now