• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 887
  • Last Modified:

Shortcut to Remote Desktops

I have multiple users connecting to the same server via Remote Desktop.  I want to setup shortcuts or RDP files so I can allow each user to simply click on the shortcut or open the RDP file and logon without having to reenter UN and PW each time.  

Each time I save the RDP file it works. After repeating this for each user I have 5 RDP files each named User1.rdp, user2.rdp, etc.

However, now when I open user1.rdp it has the details from user5.rdp which is the last one I setup.  Every time, it changes all the rdp file to the last one I saved.

Please help.
0
deming
Asked:
deming
  • 5
  • 5
  • 2
  • +1
1 Solution
 
compaqusCommented:
Just do a shortcut to mstsc.exe with the following:
%windir%\system32\MSTSC.exe -v server_name_or_IP
0
 
SeanMNCommented:
http://www.mremoteng.org/

Wins the award for remote connection management. I can't reproduce your issue at all with .rdp files. Got 5 to work fine. I doubt your hitting save instead of save as or something easy?
0
 
compaqusCommented:
Oh, you said no username and pass... :)
my mistake
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
ShareefHuddleCommented:
Save as :)
0
 
demingAuthor Commented:
These are the steps that I am doing which do not work:
1. Close all RDP sessions.
2. Run Remote Desktop
3. Enter the IP address in Computer field
4. Click Edit, and "Use another account"
5. Uncheck "Always ask for credentials"
5. Enter the UN and Password, click OK
6. Click "Save As"  filename "Admin1.rdp"
7. Click "connect" and it works.
8. Close RDP session.
9. Double click on the Admin1.rdp file  to open and it connects correctly.
10. Repeat steps 1 thru 8 for "user2.rdp"
11. Now double click on the "user2.rdp" file to open and it connects correctly.
* * * PROBLEM HERE
12. Now close all sessions and double click on "Admin1.rdp" and it opens the "user2" session.
0
 
SeanMNCommented:
But your connected to the same host right? Are the file details actually changed or is it just using incorrect credentials?
0
 
demingAuthor Commented:
I am doing this all from a single computer and all users are same IP to the server.  Here is a rdp file that works but I don't see any UN or PW

screen mode id:i:1
desktopwidth:i:1024
desktopheight:i:768
session bpp:i:32
winposstr:s:0,1,683,216,1723,1022
compression:i:1
keyboardhook:i:2
displayconnectionbar:i:1
disable wallpaper:i:1
disable full window drag:i:1
allow desktop composition:i:0
allow font smoothing:i:0
disable menu anims:i:1
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
full address:s:removed by me
audiomode:i:0
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
redirectclipboard:i:1
redirectposdevices:i:0
autoreconnection enabled:i:1
authentication level:i:2
prompt for credentials:i:0
negotiate security layer:i:1
remoteapplicationmode:i:0
alternate shell:s:
shell working directory:s:
gatewayhostname:s:
gatewayusagemethod:i:4
gatewaycredentialssource:i:4
gatewayprofileusagemethod:i:0
promptcredentialonce:i:1
drivestoredirect:s:*
use multimon:i:0
audiocapturemode:i:0
videoplaybackmode:i:1
connection type:i:2
redirectdirectx:i:1
use redirection server name:i:0

Open in new window

0
 
SeanMNCommented:
You do have prompt credentials once and save enabled. This mean it is more than likley saving your last known credentials to default.rdp and then using those automatically.

Do you have RDP 6 installed?

If so, I'm betting you need to check allow me to save credentials.
0
 
demingAuthor Commented:
I just tried what you suggested and no luck. It is doing the same problem of overwriting the previous profile. I can only get one to work and not two or more.
0
 
demingAuthor Commented:
I'm thinking you can only save a single set of credentials per Computer (IP address). I need five different logon credentials for the same IP address from the same local computer.
0
 
SeanMNCommented:
Well there isn't any user data in there, so it isn't getting saved, for example my working ones look like attached.

Honestly If you can install software for these people i would just use my originally linked http://www.mremoteng.org/

You can use pre-configured conf files then. I use it for the 50+ boxes i connect to with multiple accounts and settings, its far easier and more reliable then creating custom files.

I've never got rdp save credentials to work 100% of the time. Still randomly prompts password or doesn't fill right, mremote hasn't failed me yet.

Your steps you took to configure settings makes me think you are using an older rdp client. Does it look like this?


screen mode id:i:2
desktopwidth:i:1920
desktopheight:i:1200
session bpp:i:16
winposstr:s:0,1,219,0,1345,1016
compression:i:1
keyboardhook:i:2
displayconnectionbar:i:1
disable wallpaper:i:1
disable full window drag:i:0
allow desktop composition:i:1
allow font smoothing:i:0
disable menu anims:i:0
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
full address:s:hqfakeserver03
audiomode:i:1
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
redirectclipboard:i:1
redirectposdevices:i:0
drivestoredirect:s:F:;
autoreconnection enabled:i:1
authentication level:i:0
prompt for credentials:i:0
negotiate security layer:i:1
remoteapplicationmode:i:0
alternate shell:s:
shell working directory:s:
gatewayhostname:s:
gatewayusagemethod:i:0
gatewaycredentialssource:i:4
gatewayprofileusagemethod:i:0
promptcredentialonce:i:1
username:s:notmyrealdomain\fakeusername

Open in new window

rdp.bmp
0
 
SeanMNCommented:
Given what you need to do, mremote meets your needs far better then shortcuts.... and free is nice.
0
 
demingAuthor Commented:
The mRemoteNG program works great!
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 5
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now