简体   繁体   中英

Resolution of Application running in SYSTEM user

We had a requirement where we need to run a C# windows form application in background and take the screen capture( off-screen rendering and capturing ). Our application will be running in SYSTEM user. We were able to capture the screen. But when the application is ran under SYSTEM user, the resolution is not coming correctly. The resolution is coming as 1024*786.

Is this an expected behavior? I mean to say, if an application is ran under SYSTEM user, will the resolution change ?

I could conclude that the resolution of SYSTEM user cannot be changed at any cost. SYSTEM user has its own desktop, which is not visible to the user since it does not supports any user interaction. You should run your application with UI in a SYSTEM user, if and only if there is no other workaround.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM