Форум: "WinAPI";
Текущий архив: 2002.03.18;
Скачать: [xml.tar.bz2];
ВнизLogonUser,.......CreateProcessAsUser ??? Est problems... Найти похожие ветки
← →
Anonymous (2002-01-17 09:36) [5]1314 is ERROR_PRIVILEGE_NOT_HELD, meaning that the
caller does not have sufficient privileges to call
this function.
CreateProcessAsUser requires SE_ASSIGNPRIMARYTOKEN_NAME
and SE_INCREASE_QUOTA_NAME privileges. The former is
normally granted to the LocalSystem account only, the
latter is granted to the Administrators group as well.
LocalService and NetworkService accounts, new for XP,
also have these privileges.
As result, the CreateProcessAsUser function can only
be used from a service, but not from a regular
application.
The CreateProcessWithLogonW function does not require
any privileges, so it should work from any user account.
Страницы: 1 вся ветка
Форум: "WinAPI";
Текущий архив: 2002.03.18;
Скачать: [xml.tar.bz2];
Память: 0.43 MB
Время: 0.005 c