Impersonating a Different Logon

Discussion in 'Python' started by Kevin Holleran, Apr 6, 2010.

  1. Hello,

    I am sweeping some of our networks to find devices. When I find a
    device I try to connect to the registry using _winreg and then query a
    specific key that I am interested in. This works great for machines
    that are on our domain, but there are left over machines that are
    stand alone and the credentials fail. I understand you cannot pass in
    credentials with _winreg but is there a way to simulate a logon of
    another user (the machine's local admin) to query the registry?

    Thanks for your help.

    Kevin
     
    Kevin Holleran, Apr 6, 2010
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jason

    impersonating and LogonUser

    Jason, Dec 30, 2003, in forum: ASP .Net
    Replies:
    7
    Views:
    665
    Jim Cheshire [MSFT]
    Jan 5, 2004
  2. Replies:
    4
    Views:
    674
  3. John Dalberg
    Replies:
    1
    Views:
    661
    John Dalberg
    Feb 10, 2005
  4. =?Utf-8?B?SW5kZXB0aA==?=
    Replies:
    1
    Views:
    643
    Bruce Barker
    Apr 1, 2005
  5. tamer kavlak
    Replies:
    0
    Views:
    537
    tamer kavlak
    Jan 13, 2005
  6. =?Utf-8?B?Z292ZXI=?=

    Logon as different user

    =?Utf-8?B?Z292ZXI=?=, May 22, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    524
    Alexey Smirnov
    May 22, 2007
  7. Mike Kingscott
    Replies:
    0
    Views:
    184
    Mike Kingscott
    Jul 24, 2003
  8. Kjell Kristiansson
    Replies:
    0
    Views:
    453
    Kjell Kristiansson
    Nov 30, 2005
Loading...