1

Is there a way to disable or bypass the "Welcome" screen I see when I'm using RDC to log in to a machine using saved credentials?

I have startup task which launches an RDP session automatically to localhost when the machine boots. This works, except that the remote desktop window stops and waits for an "OK" on the Welcome screen:

MACHINENAME-A.B.C.D(Server ID:Console 0)


Welcome


[OK]

This screen is preventing me from automating this login. Is there any way to get around it?

EDIT:

Here's the command line I'm currently using to launch it:

start /min C:\windows\system32\mstsc.exe c:\rdp\ServiceRunner.rdp

mikebridge
  • 195
  • 1
  • 2
  • 11
  • Is you password saved the old way (in the rdp file) or the 'new' way? – Greg Askew Nov 07 '12 at 21:31
  • @GregAskew To answer you question, the password isn't saved in the RDP file. Regardless, I set both those fields to an empty string as per your suggestion and it now works perfectly, thanks! – mikebridge Nov 07 '12 at 21:47

2 Answers2

3

Check if you have these policies specified:

Interactive logon: Message text for users attempting to logon
Interactive logon: Message title for users attempting to logon

In gpedit.msc:

Computer > Windows Settings > Security Settings > Local Policies > Security Options

Registry values:

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\LegalNoticeText  
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\LegalNoticeCaption  
Greg Askew
  • 35,880
  • 5
  • 54
  • 82
1

Run and type: gpedit.msc

Open these up:

+Windows Settings then +Security Settings then +Local Policies

Find Interactive Logon: Message text for users attempting to logon and leave it blank. Click Okay.

Find Interactive Logon: Message title for users attempting to logon and leave it blank.

Close policy editor log off, and log back on and that plague of a window will be gone! POOF!