Solved

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

Posted on 2010-08-18
14
1,378 Views
Last Modified: 2013-11-21
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
Comment
Question by:Elad-It
14 Comments
 
LVL 1

Accepted Solution

by:
achard earned 167 total points
ID: 33463490
The black screen might be the secure desktop.
Try disabling UAC completely and see if that helps.
0
 

Assisted Solution

by:Elad-It
Elad-It earned 0 total points
ID: 33463592
Did that, totally disabled all security features, including uninstall of anti virus.
:)
0
 
LVL 23

Assisted Solution

by:ComputerTechie
ComputerTechie earned 166 total points
ID: 33481396
i would have the .net program move the mouse then take the screen shot.

CT
0
 

Assisted Solution

by:Elad-It
Elad-It earned 0 total points
ID: 33494227
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 11

Assisted Solution

by:Ben Personick
Ben Personick earned 167 total points
ID: 33558942
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
 

Author Comment

by:Elad-It
ID: 33559433
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
 

Author Comment

by:Elad-It
ID: 34182282
none
0
 

Author Closing Comment

by:Elad-It
ID: 34211387
Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now