Questions tagged [session-0-isolation]

31 questions
1
vote
1 answer

Why can't I start a batch file from a service using system() in Windows Server 2008?

I have a C++ program that runs as a service on a 64-bit Windows Server 2008 machine. This program attempts to start a batch file using the following command: system(C:\pathtofile\file.bat) In 32-bit Windows Server 2003 this worked fine (the batch…
mattee
  • 41
  • 6
1
vote
0 answers

Windows media player cannot play rtsp and mms stream urls in Session 0 of Win7 and Win Server 2008

In Windows Server 2003, we developed a program. The architecture is: (1)There is a Service (called ServA), (2)There is a process (called ProcB), it is an override Windows Media Player by implementing some necessary WMP interfaces. (3)ServA will…
0
votes
0 answers

how to acquire the primary display IDXGIOutput in a session 0 service running under LocalSystem

I have a remote access app that uses IDXGIOutputDuplication to capture the primary display. To do that, I need to acquire the display IDXGIOutput: // intermediate variables for casting IDXGIOutput* pDisplay_old; IDXGIFactory1* pFactory; …
0
votes
0 answers

How I can switch to different users desktops from windows service

I am trying to record a video of a user desktop when he logged in via RDP, the monitoring is based on the windows service onSessionChange event, due the nature of it then I am facing what is so called Session 0 isolation, so what I am looking for is…
H Aßdøµ
  • 2,925
  • 4
  • 26
  • 37
0
votes
0 answers

Session 0 and Session 1, memory usage issues in legacy application (32bit)

I have a legacy windows form application (32 bits) where I initialize it in several instances to multi process thousands of data "in parallel". When I run this manual application (Session 1) using, for example, 8 instances, each instance runs with…
Diogo Rodrigues
  • 1,312
  • 15
  • 15
0
votes
2 answers

Interactive application running in SYSTEM session via SCCM

Is it me or GUI windows don't show up in the SYSTEM account session? I don't want to interact with them, but they need to pop up since I have a script that interacts with the windows in an automated way. I built a script that needs to interact with…
Rakha
  • 1,874
  • 3
  • 26
  • 60
0
votes
3 answers

Session 0 Isolation

Vista puts out a new security preventing Session 0 from accessing hardware like the video card, and the user no longer logs into session 0. I know this means that I cannot show the user a GUI, however, does that also mean I can't show one at all?…
Malfist
  • 31,179
  • 61
  • 182
  • 269
0
votes
1 answer

How to run Windows service outside Session 0

I have a Selenium Grid configured with its hub and nodes(VMs) started automatically as Windows services. Sometimes I would like to visually inspect how a test runs within a browser on a specific node but nothing actually appears on the screen. After…
Eugene S
  • 6,709
  • 8
  • 57
  • 91
0
votes
0 answers

How can I impersonate an admin user from windows service?

I've been stuck on this question for a long time. Here is my scenario: I create a windows service and I want the service to start an executable installer with interactive GUI. Since the service run under Session0 on my Windows 10 system, I have to…
0
votes
0 answers

Windows 7 session 0 file access

I am trying to start an application as a Windows service and that application is designed to modify files and uses network connection too. I have an Administrator account, called 'admin', which can not see local driver, nor network ones. I have…
ToMmY_hun
  • 77
  • 11
0
votes
0 answers

Service runs in session != 0 but fails in session 0

I have a service that executes a .bat file that calls a python program. The python program includes the win32com module. If the service is run as session 0 it fails somewhere deep in win32com. However, if the service is run as session != 0, it…
0
votes
1 answer

unable to connect to session id 0 on windows 2012 r2

I want to connect to session ID=0 on a windows 2012 r2. I have a service which is blocked by a popup (i guess, uac/trust or something). So i need to connect to an interactive session 0 (if possible) to see what is blocking me of course, mstsc /admin…
0
votes
1 answer

Can processes in session 0 share an out of process COM server, please?

In Windows 7, I have an out of process COM server, say "MyComServer.exe". I register it as CLSCTX_LOCAL_SERVER and REGCLS_MULTIPLEUSE | REGCLS_SUSPENDED. In interactive sessions, session number > 0, only one instance of my MyComServer.exe runs, no…
McPolu
  • 43
  • 1
  • 11
0
votes
1 answer

UI Automation on session 0

I'm trying to use UIA to automate an application. During the testing phase I run the application on remote server using psexec and starting it in session 0 since this is the only guaranteed available session. When doing so, I'm unable to automate…
0
votes
1 answer

ssh with putty from session 0 gives 'servers host key does not match ...' alert

I have some test code running from TeamCity. Part of my test code requires ssh with putty. This code works fine in in a command prompt (session 1) but when I run it from TeamCity (which is a process and therefore runs in session 0) I get the…
AlexF
  • 83
  • 8