Process access across logon session.

From: Guogang (nospam_at_no_such_domain.com)
Date: 05/17/03

  • Next message: Ivan Brugiolo [MSFT]: "Re: Process access across logon session."
    Date: Fri, 16 May 2003 19:10:08 -0700
    
    

    Hi,

    I login as User1, and there is a Windows Service running as User2 in
    background (not system). I send an program's processID to the Windows
    Service, and use the following command to open it:

    ::OpenProcess(SYNCHRONIZE, FALSE, processID);

    I have "Access Denied error" here.

    I also tried to use: ::EnumProcesses as User2, but I can't see processes of
    User1 in the output. This means basically User2 can't see any processes of
    User1. BUT, "Windows Task Manager" running in User2's account can list all
    the processes running as User1.

    My question:
    1. What permission should User2 has in order to access User1's process?
    2. Why "Windows Task Manager" can see some processes, that my C++ program
    can't see?

    Thanks,
    Guogang


  • Next message: Ivan Brugiolo [MSFT]: "Re: Process access across logon session."

    Relevant Pages

    • Process access across logon session.
      ... and there is a Windows Service running as User2 in ... I send an program's processID to the Windows ... I also tried to use:::EnumProcesses as User2, but I can't see processes of ... User1 in the output. ...
      (microsoft.public.security)
    • Network connections invisible to some users
      ... Windows XP SP3 ... Users, say user1 and user2. ... and change settings, ...
      (microsoft.public.windowsxp.network_web)
    • ACL Issue
      ... Windows Xp Pro workstation joined in domain ... User1 and User2 ... Administrators - full control - This folder, ...
      (microsoft.public.windows.server.sbs)
    • Re: Remote desktop client 6.0 multiple users to same address
      ... But I think the underlying problem is how Windows saves passwords. ... 127.0.0.1:3389 with user "user1" ... 127.0.0.1:3389 with user "user2" ...
      (microsoft.public.windows.terminal_services)
    • RE: dirty reada to committed read
      ... page then user1 is locking the whole page therefore user2 get a lock error ... I have tried setting Isolation Level to Dirty Read, ... The only isolation level that has an impact on updates and deletes is ...
      (comp.databases.informix)