Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1503
  • Last Modified:

HELP- - > Screen capture in a disconnected remote desktop?

I wrote a .net (2) app that captures  screens ans and saves the images locally.

running the the session interactively (I.E. with open terminal session) I get good screen captures.
But, When I disconnect from the server without ending the session I keep getting emails but the images are black / blank or partial black and white captures.

I attempted this on virtual (VMware) Win' server 2008 (64bit) & Windows7 (32bit) where it doesn't work - I.E. I get black captures.
I also attempted this on Win 2003 and it works perfectly fine - I.E., even when my terminal session is disconnected I still get good captures.

Is there a way to config Windows 2008 or Windows7 it will not turn off display when I disconnect the RDP session?
0
Elad-It
Asked:
Elad-It
5 Solutions
 
achardCommented:
The black screen might be the secure desktop.
Try disabling UAC completely and see if that helps.
0
 
Elad-ItAuthor Commented:
Did that, totally disabled all security features, including uninstall of anti virus.
:)
0
 
ComputerTechieCommented:
i would have the .net program move the mouse then take the screen shot.

CT
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Elad-ItAuthor Commented:
is tat possible in a disconnected RDP session?
I'd like to actually find what the difference between WIN 2008,7 & 2003. The same script works on 2003 but not on 2008 and 7.
thanks!
0
 
Ben Personick (Previously QCubed)Lead Network EngineerCommented:
In Vista, 2008, and 2007, further limitations were placed on the Terminal Server sessions to keep people from exploiting them for security flaws.

  Generally a disconnected session in 2K and prior acts as a screen-saver is in place, which is to say the regular desktop is replaced with the fully limited desktop the screen saver runs as.

  In 2k8 I believe they have changed the method of session presentation to a Virtual Monitor Interface.  That is to say, they are using Hypervisor's Virtualization technology to present you the remote desktop session, which will show nothing at all if there is no session actively connected.

  I don't recall where and when I learned this information or know if there is a way to get the virtualized session to change their behavior or if you could programatically fake a session remaining open to accomplish your goal., and i suggest you do some Googling on it.

  My guess is you need to change yoru .net app somehow to jimmy the session into believing you are still connected so it will not quit transmitting data to the virtual monitor interface.

 Again AFAIAW there is no way to change this behavior, if there is it woudl be best handled by a Virtualization expert due to the chsange in MSTS 2K8.
0
 
Elad-ItAuthor Commented:
I appreciate your answer, Its the most educated one I had received to my question, so really thanks!
I have tried the goggle thing- but hadn't found anyone that succeeded to resolve the issue and thats actually why I had asked this here at  Experts Exchange...

I had spent too much time creating that .net app -no way to change it now... right now im just holding that session open.... :)
0
 
Elad-ItAuthor Commented:
none
0
 
Elad-ItAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now