> createremotethread api by design don’t work in multisession
Never tried that, but what if you create a process in that particular
session
beforehand and use it to create a remote thread in the target?
Like: when someone logs on, an interactive (not in Service-0x0-3e7$ WinSta
but in a WinSta you need) service is started that does nothing until told
otherwise.
As usual, “one more level of indirection”.
Looks like (yet again - I never tried that) you can just set WinSta in
STARTUPINFO when calling CreateProcess.
----- Original Message -----
From: Gian-luca Tenti
To: Windows File Systems Devs Interest List
Sent: Sunday, January 29, 2006 2:46 AM
Subject: RE: [ntfsd] Create a User Thread running in a User Process context
Thank’s Don and Jamey,
yes Jamey, I’ve to create a thread from a driver that run in user mode (and
in a specific process).
You know what I’ve to do or you can tell me where I can search ?
Using a service to create a thread should be the right way
(createremotethread) but the environment of our project is the terminal
server (2000 & 2003) and the createremotethread api by design don’t work in
multisession.
Thank’s
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: domenica 29 gennaio 2006 6.56
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Create a User Thread running in a User Process context
It depends on what you are trying to do. If you want a driver thread that
runs in a specific user context, yes, it is possible. If you are creating a
thread in user mode from a kernel driver, you have some work ahead of you.
Jamey
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gian-luca Tenti
Sent: Saturday, January 28, 2006 8:20 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Create a User Thread running in a User Process context
Hi,
can a driver create a user’s thread that run in a user process?
I’ve tried some api (ZwCreateThread, RtlCreateUserThread) but the System
goes on BSOD or the thread return to address 0x00000000 when exit.
There are other ways from kernel to create the thread in user’s space?
Thank’s
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
__________ NOD32 1.1385 (20060128) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com