my service start interactive client process similar this: https://msdn.microsoft.com/en-us/library/windows/desktop/aa379608(v=vs.85).aspx
it works when service log on local system, , work if it's running under administrator account with se_assignprimarytoken_name , se_increase_quota_name privileges.
my issue when using standard user account or local service, fails @ openwindowstation error code 5 (access denied).
// handle interactive window station. hwinsta = openwindowstation(_t("winsta0"), // interactive window station false, // handle not inheritable read_control | write_dac); // rights read/write dacl is possible call openwindowstation standard user account or service must run under administrator account? tried local policies without success
thanks!
unfortunately can't done, seems administrator can open interactive station.
Comments
Post a Comment