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. Advertising

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:
    448
    Jim Cheshire [MSFT]
    Jan 5, 2004
  2. Replies:
    4
    Views:
    487
  3. =?Utf-8?B?SW5kZXB0aA==?=
    Replies:
    1
    Views:
    469
    Bruce Barker
    Apr 1, 2005
  4. =?Utf-8?B?QWxpc3RhaXIgTGFjeQ==?=

    Compilation error when impersonating

    =?Utf-8?B?QWxpc3RhaXIgTGFjeQ==?=, Jul 19, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    552
    Patrice
    Jul 19, 2005
  5. Kjell Kristiansson
    Replies:
    0
    Views:
    284
    Kjell Kristiansson
    Nov 30, 2005
Loading...

Share This Page