Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by anaconda_wly (Scribe)
on Dec 07, 2012 at 11:13 UTC ( #1007713=note: print w/ replies, xml ) Need Help??


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

Bulk88: I still got a problem if you can see it. the regedt32.exe seems must run using run as administrator in Win7. So it comes a problem when I want to run it quietly without any manual interference. What I can think is using runas before it. but runas didn't support password...I don't know how to do then...could u help me? or I had to create a new thread


Comment on Re^4: access 64bit registry from 32 bit Perl
Re^5: access 64bit registry from 32 bit Perl
by bulk88 (Priest) on Dec 08, 2012 at 04:22 UTC
Re^5: access 64bit registry from 32 bit Perl
by Anonymous Monk on Dec 08, 2012 at 09:11 UTC

    You could always use

    psexec -? -accepteula /accepteula 1>NUL 2>NUL

    psexec.exe -d -l -u username -p password myfoo.bat

    -d Don't wait for process to terminate (non-interactive). -l Run process as limited user (strips the Administrators grou +p and allows only privileges assigned to the Users group). On Windows Vista the process runs with Low Integrity.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007713]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2015-07-02 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls