Jump to content

RDP Problems


Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...