M
Madz
Hi,
How does runas with a /netonly option create a login session? As per my
understanding, a logon session is not created on the local machine when a
/netonly option is used. Hence, I understand that whenever the process
launched with /netonly option touches any network resource, a session is
made upon that resource with the credentials specified in the runas command.
What API/mechanism is used to create such a remote session? I know
CreateProcessAsLogonW with LOGON_NETCREDENTIALS_ONLY option manages this,
but my requirement is to do the similar thing without lauching another
process. I need this so that untrusted domain accounts can be used to run
tasks without requiring a logon and impersonation on my local machine.
Thanks in advance,
Madhu
How does runas with a /netonly option create a login session? As per my
understanding, a logon session is not created on the local machine when a
/netonly option is used. Hence, I understand that whenever the process
launched with /netonly option touches any network resource, a session is
made upon that resource with the credentials specified in the runas command.
What API/mechanism is used to create such a remote session? I know
CreateProcessAsLogonW with LOGON_NETCREDENTIALS_ONLY option manages this,
but my requirement is to do the similar thing without lauching another
process. I need this so that untrusted domain accounts can be used to run
tasks without requiring a logon and impersonation on my local machine.
Thanks in advance,
Madhu