Arkady
Sun Aug 07 02:42:36 CDT 2005
CreateRestrictedToken() for user
Arkady
"Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
news:uDlqf8tmFHA.2444@tk2msftngp13.phx.gbl...
> "Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message
> news:e$XHhYqmFHA.764@TK2MSFTNGP14.phx.gbl...
>> Pavel , I'm almost sure that MSI use ( in the link you show ) methods
>> from link I mention :)
>> Arkady
>
> Almost, you say? Then please look on your XP machine for a service
> MSIServer.
> It's description is "Adds, modifies, and removes applications provided as
> a Windows Installer (*.msi) package"
> and it runs as LocalSystem. What you think it does?
> --PA
>
>
>> "Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
>> news:56A119E8-FE8B-4EC4-B3BF-9EF0A18B978C@microsoft.com...
>>> No, I actually meant this:
>>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/installing_a_package_with_elevated_privileges_for_a_non-admin.asp?frame=true
>>>
>>> Regards,
>>> --PA
>>>
>>> "Arkady Frenkel" wrote:
>>>> I didn't yet see Pavel's answer when I answered and absolutely agree
>>>> with
>>>> him.
>>>> You can view how to do that on
>>>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secbp/security/changing_privileges_in_a_token.asp
>>>> ( aware of wrap )
>>>> Arkady
>>>>
>>>> "Kenny Liew" <KennyLiew@discussions.microsoft.com> wrote in message
>>>> news:DD7333D5-64D1-4383-8169-12B977277FA6@microsoft.com...
>>>> > Thanks Arkady...
>>>> > What I'm after is of a more generic user approach, i.e. I wouldn't
>>>> > know if
>>>> > an administrator has added the priviledge to the user acc, so I have
>>>> > to
>>>> > assume that they don't have the load driver priviledge.
>>>> >
>>>> > On Pavel's reply, does that mean MSI will only work if the user
>>>> > already
>>>> > has
>>>> > the priviledge set prior to the install?
>>>> >
>>>> > cheers
>>>> >
>>>> > "Arkady Frenkel" wrote:
>>>> >
>>>> >> They add "SeLoadDriverPrivilege" to the user account
>>>> >>
>>>> >> Arkady
>>>> >>
>>>> >> "Kenny Liew" <KennyLiew@discussions.microsoft.com> wrote in message
>>>> >> news:D935FB1C-FC84-4E8C-879A-F463C92FB438@microsoft.com...
>>>> >> > Hi,
>>>> >> > I know that it's typically impossible to install driver with user
>>>> >> > priviledges, but I've heard that using MSI would enable this.
>>>> >> > Anybody care to clarify?
>>>> >> >
>>>> >> > cheers
>
>