Regarding Auto logon for windows service RRS feed

  • Question

  • Hi,

    For addition of trusted sites, we add server name or url in Internet explorer, security tab->Trusted Sites. On click of Custom level, under User authentication->Automatic logon with current user name and password is selected.

    From my test application(.Net Console app),When I invoke any asmx from trusted site, since "Automatic logon with current user name and password" is selected, service gets invoked and works properly.


    If I put code of Test application which invokes asmx service in Windows service(configured in some windows account "Test" which is different than logged in User) of my machine, it fails to invoke  asmx service of Trusted site.

    How do I go about it? How do I set Automatic logon for user of Windows service.

    Any suggestions will be helpful.




    Friday, February 12, 2016 12:10 PM