Questions tagged [session-0-isolation]

31 questions
10
votes
3 answers

Windows 2008 RenderFarm Service: CreateProcessAsUser "Session 0 Isolation" and OpenGL

I have a legacy Windows server service and (spawned) application that works fine in XP-64 and W2K3, but fails on W2K8. I believe it is because of the new "Session 0 isolation" feature. Consequently, I'm looking for code samples/security settings…
9
votes
1 answer

launch process from Session 0 Isolation

On Windows 8.1 I have a service that starts PowerShell scripts. The service runs as “nt authority\system” in Session 0 Isolation. Any process that I spawn from PowerShell runs as “nt authority\system” in Session 0 Isolation. I need to run a script…
Thanos
  • 387
  • 1
  • 2
  • 14
6
votes
3 answers

Starting a new user session from a service

I have the following problem: From a service I need to start an application in a user session. No human user log on that machine, since it is a server. Launched application must have a session != 0. Current "solution" I used a scheduled task at…
Felice Pollano
  • 32,832
  • 9
  • 75
  • 115
5
votes
1 answer

Printing PDFs in WinServer 2008 from a non-interactive process (Windows service, scheduled task, etc.)

I am trying to write a non-interactive process that prints PDFs, and I need advice on how to build this on Windows Server 2008 (and Vista/7). Previously, we have had a scheduled task (set to run whether the user account was logged on or not) that…
5
votes
1 answer

How to uniquely identify an internet explorer window running in session 0?

I am creating WCF web services that automatea internet explorer. There are multiple web service calls that need to access the same instance of Internet Explorer. However, since the WCF services are hosted on IIS all the calls to the web service are…
Neville
  • 63
  • 5
3
votes
1 answer

Bypassing Session 0 Isolation in Windows Server 2008 -- successful, but still not visible

I am using the code located here basically as-is to start a process. This code works flawlessly in Vista/7 -- If I start a process using System.Diagnostics.Process.Start() I see that it starts, but is not visible because it is located in Session 0.…
Sean Anderson
  • 27,963
  • 30
  • 126
  • 237
3
votes
1 answer

Windows Store apps cannot be run from a service or non interactive process

When I try to run my Windows Phone 10 Test on a machine using vstest.console.exe, the emulator starts as expected and the test completes successfully. Now, when I set-up a build machine and kick off a TFS vNext build from a remote machine, the test…
Darth.Vader
  • 5,079
  • 7
  • 50
  • 90
2
votes
2 answers

Windows service couldnt get screenshot in windows 7

I have a windows service which gets the screenshots. But its creating only black screens. I know this happens because of session 0 isolation. I searched on internet and couldnt find any approved solution for this problem any working ideas will be…
varstas
  • 335
  • 10
  • 19
2
votes
0 answers

Fonts not loading in Mathematica running in IIS

I am using The .NET/Link for mathematica in my Asp.Net application (running under IIS 7.5) but am having issues where some of the custom fonts that Mathematica uses do not show up. For example the character Pi doesn't show up. It should look like: …
2
votes
1 answer

Creating a process in a non-zero session from a service in windows-2008-server?

I was wondering if there is a simple way for a service to create a process in user session? My service is running as a user(administrator) account and not as a LocalSystem acount, therefore i can't use the WTSQueryUserToken function. i have tried…
2
votes
1 answer

Taking screenshots with Windows Service in Windows 7

I know it's an old question about screenshots in Win 7 with winService on c#. I have read all articles about this on Stack Overflow and a lot on CodeProject...I know about 0 session for services , starting from Win Vista & about Allow service to…
Overrided
  • 157
  • 2
  • 15
1
vote
2 answers

Windows Server 2008 Special Fonts during rendering

So we have a service running on Server 2008 which kicks off a process (C# app) which does some rendering. The process is running successfully but it is using the system fonts (Arial I believe) instead of fonts which are supposed to be loaded. If I…
John Kalberer
  • 5,690
  • 1
  • 23
  • 27
1
vote
1 answer

Interactive Services Detection showing when opening an application on remote server (JSch)

I have a SSH Server running and need to close and open a JavaFX application. Using freeSSHd and JSch, i was able to close the application using: sendCommand("wmic Path win32_process Where \"CommandLine Like '%Test.jar%'\" Call Terminate"); The…
Bruno A
  • 117
  • 1
  • 13
1
vote
0 answers

Interacting with Session 0 Out-Of-Process Excel Object in VBScript

I have a very simple VBA script that I am running on Windows Server 2012. It creates an Excel Object, writes to two cells, saves the sheet as a CSV, and closes the Workbook and the Application, and then quits the Excel Object. This works on Server…
RJohnson
  • 166
  • 2
  • 10
1
vote
1 answer

IIS worker process is able to start the process but it is invisible

I want to run a VLC with a video file. I had written the following code in VS and run it under IIS Express. Under IIS Express everything is fine and I am able to see the video as well as audio. But when I am publishing it to local IIS, I am able to…
1
2 3