Switching from System context to User Context
- From: "kedar" <kedarnag@xxxxxxxxxxx>
- Date: Tue, 27 Mar 2007 18:48:36 +0530
Hi,
We have a service which runs in system context( it starts before the user is
logged on), and this service needs to read and validate some files. This
does not work if the user removes permissions for system under security tab
of properties.
So we want to know how to change the service context to logged on user
context so that we will not have above mentioned issue.
will the setthreadtoken() work.
Any kind of information will be appreciated.
thanks,
Kedar.
.
- Follow-Ups:
- Re: Switching from System context to User Context
- From: Dave Patrick
- Re: Switching from System context to User Context
- Prev by Date: Re: Phony threshold warnings (event id 2013)
- Next by Date: Re: Switching from System context to User Context
- Previous by thread: OK, Now I'm Livid - Windows 2000 SP4 Trashed Another Large Drive
- Next by thread: Re: Switching from System context to User Context
- Index(es):
Relevant Pages
|