
Required privilege using SFImpersonator.dll
Thanks for the tip! In my case I granted the local admin
group rights to "act as part of the operating system" and
the script performs flawlessly. Now is there a way to
script granting the above group rights to "Act as part of
the operating system" by changing the local User Rights
Assignment? Once again thanks for your assistance.
Quote:
>-----Original Message-----
>http://groups.google.com search for: SFImpersonator
>will quickly tell you
>"...you have to grant the permission "Act as part of the
operating system" to the user..."
Quote:
>--
>Michael Harris
>Microsoft.MVP.Scripting
>--
Quote:
>> Would appreciate some assistance from anybody with
>> experience in using SFImpersonator.dll in a Windows
2000
>> environment. The method I'm having a problem using is
at
>> the very heart of its usability, impersonating another
>> user's account. When the code listed below is
executed :
>> 'Start Impersonation of Administrator
>> impo.Impersonate "Administrator", "password", ".",
>> LOGON_INTERACTIVE
>> the following error occurs:
>> "A required privilige is not held by the client"
>> The very same code works flawlessly on a Windows XP Pro
PC
>> but not on any WinNt4 or Win2K PC I've tried at work.
>> What privilige is necessary that is available on XP but
>> not Win2K? Thanks for any assistance in resolving this
>> issue. Then again, TqcRunas.dll from Quimeras works
>> fine...
>.