Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^5: access 64bit registry from 32 bit Perl

by bulk88 (Priest)
on Dec 08, 2012 at 04:22 UTC ( #1007853=note: print w/replies, xml ) Need Help??

in reply to Re^4: access 64bit registry from 32 bit Perl
in thread access 64bit registry from 32 bit Perl

I don't use NT6, so UAC/etc I have no experience. There is Win32::AdminMisc, also see Windows runas command Runas using open Creating a process as a normal user without password (Linux 'su' for Windows 7?). runas.exe uses the C CreateProcessAsUser and/or CreateProcessWithLogonW internally, so try find a Perl module, that contains those 2 names in its XS code or its POD docs. Worst case use Win32::API, CreateProcessWithLogonW seems easiest to use since it doesn't have very many complicated structs/data types, see and Win32::API and CreateProcessWithLogonW.

And start a new thread, this one has gone too deep in replys.
  • Comment on Re^5: access 64bit registry from 32 bit Perl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007853]
Discipulus i really need my private version of log2ban..

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2017-06-26 10:46 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (577 votes). Check out past polls.