Jerry_Durden

RDP Problems

2 posts in this topic

I'm hoping that someone can help me with my problem. I know it's probably a simple fix--for someone who knows how to write scripts.

 

I have a batch file that runs upon startup (windows 8.1). It launched an RDP session. The problem is that once the RDP session has ended, the user gets a popup window stating "Your Remote Desktop Services session has ended. My batch file gets stuck because it's waiting for the patron to hit the enter key. Is there a simple way to launch rdp and when the rdp session terminates to reboot the PC after waiting 25 seconds? Any help would be appreciated.

This is my current batch file:

Start /wait "C:\ " Default.rdp

Shutdown -r -f -t 25

 

Thank you!

Jerry Durden

Share this post


Link to post
Share on other sites




False Positive Reporter - Mass email all anti virus vendors with an attachment of your program for fast and easy whitelisting.

PortableApps.com App Creation Wizard  - A simple GUI-based Wizard for creating PortableApps.

SoundBoard - Play any song or sound you want at the press of a hotkey.

My GitHub Page: https://github.com/BetaLeaf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now