Re: is there any way to impersonate another account at the command line when logged into a windows 2000 server account via remote desktop?

From: Daniel (softwareengineer98037_at_yahoo.com)
Date: 12/22/04

  • Next message: Valery Pryamikov: "Re: rijndael high encryption pack"
    Date: Tue, 21 Dec 2004 17:42:25 -0800
    
    

    my login code is like this:
    bool returnValue = LogonUser(userName, domainName, password,
    LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, ref tokenHandle);

    "Daniel" <softwareengineer98037@yahoo.com> wrote in message
    news:urJ0Sm75EHA.1404@TK2MSFTNGP11.phx.gbl...
    > is there any way to impersonate another account at the command line when
    > logged into a windows 2000 server account via remote desktop?
    >
    >


  • Next message: Valery Pryamikov: "Re: rijndael high encryption pack"

    Relevant Pages

    • Re: Sql Reporting Serviced - > ASP.NET ACCESS DENIED!
      ... The account you are logging in to when on the server doesn't have the ... do you have <Impersonate> set to True? ... > Exception Details: System.UnauthorizedAccessException: Access to the path ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: How to use WindowsPrincipal properly??
      ... > If you want to check if the user is in the local computers security group ... > used by the general public you have to use Basic Authentication of course. ... You can logon a set account ... > WindowsIndentity which is then used to Impersonate. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • RE: Impersonate
      ... saving a Excel document in ASP.NET webapplication, ... Regarding on the problem you mentioned, I think the account is the first ... You should either impersonate through the web.config setting or use code. ... Microsoft MSDN Online Support Lead ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: SetPassword access denied
      ... Developer's Guide to Directory Services Programming". ... administrator who is delegated admin rights on that OU. ... the same account logged in interactively on the same box can execute the ... I also wonder why you impersonate in code rather than having the service ...
      (microsoft.public.windows.server.active_directory)
    • Re: Impersonating Users
      ... i'm not sure about the cert store impl in NT, ... > running the service as Local System Account, ... > CERT_SYSTEM_STORE_CURRENT_USER fails to find the cert. ... > //Logon to user acount and Impersonate. ...
      (microsoft.public.platformsdk.security)