Re: Problems with CreateProcessAsUser
Tech-Archive recommends: Fix windows errors by optimizing your registry
On Nov 9, 1:03 am, Stefan Kuhr <kustt...@xxxxxx> wrote:
So actually you want to run code in SYSTEM context in Terminal Session
but somehow onXP(withFUS), this fails if no one is actively using the
session and it is just waiting for someone to log in again? Maybe you
can defer what needs to be run in SYSTEM context until to the very point
someone logs in? If so, onXPyou could trigger what you want to
accomplish using a Winlogon Notification Package (note that this won't
work on Vista and beyond).
This is required if you have a mirror driver installed to monitor
_primary_ display resolution changes. You can't monitor display
resolution changes in a service - if you have an RDP session up and do
an OpenInputDesktop, you get the RDP session's desktop.
Just be aware that your approach of running code in SYSTEM on a user's
desktop, especially onXPwhere there is no UIPI as in Vista and beyond,
can open up the system for attacks known as "shatter attacks" if your
code runs long enough and uses a naive message pump.
It works just fine on Vista.
Orin.
.
Relevant Pages
- Re: Account Control: Running Windows Vista with Least Privilege
... With Windows Vista, Microsoft aimed to solve the problem in two ways: First, local users no longer log in to Session 0, thus separating the message loop of a logged-in user's session from high-privilege system services, which are only ever loaded into Session ... Attempts to send messages to (or interact with in any way via the Windows API ) a process with a higher privilege level will fail, even if both processes are owned by the same user. ... While you can assert that the blame lies with Microsoft the chief blame lies with the vendor of the software whose bad programming you are exploiting. ... (Focus-Microsoft) - Re: Windows Defender Keeps Killing My App
... but windows defender in vista labels it as "Alert Type: ... I've been using the VS command line and the installutil to install the ... own session for security reasons, called session 0, which is non ... (microsoft.public.dotnet.languages.vb) - Re: Signature Pad(HID) and RDP
... I am a little confused as to what you are saying works on XP but not on vista and later ... You can turn off session security checking by adding the ... >> I'm not sure I understood the filter driver suggestion. ... these read requests are from a RDP session. ... (microsoft.public.development.device.drivers) - Re: Copy and Paste does not work well...
... I have to spend a lot more time in RDP than I used to since the 2003 admin tools don't work properly on vista. ... When is the release 'date' for SP1? ... If the Viewer chain is messed up or rdpclip is gone south, is there some process that gets it on the clipboard after several attempts to copy the same items? ... When copy and pasting between my local PC and the Session, ... (microsoft.public.windows.terminal_services) - remote desktop sessions locking up
... The terminal server in question is a 2003 ... There's no fault in the session timeout settings on the server, ... SOMETIMES, not all the time, when the rdp connection was actually lost. ... session inside the application when the rdp session gets hosed. ... (microsoft.public.windowsxp.work_remotely) |
|