Solved

Remote App / RDS / Remote Desktop service last login pc location

Posted on 2016-08-05
3
76 Views
Last Modified: 2016-08-20
Hi we have 1000 users and are going to implement the ability to connect back to your desktop PC's via remote app and RD Web.  the only issue with this is that is causes a lot of support tickets when people forget their machine names and need us to get them for them.  Is there a way that we can force the last logged onto pc into the MSTSC console window, or at least provide a powershell script or something so that they can check their last logged onto PC themselves.  I used to work at credit suisse and this worked seamlessly through Citrix but not sure what options are in this day and age.



Remote access, rds, terminal services
0
Comment
Question by:ncomper
3 Comments
 
LVL 8

Expert Comment

by:James Rankin
ID: 41743791
Can't you assign a "Personal Virtual Desktop" through Active Directory and do it that way?

Citrix works seamlessly because you assign the desktop to a particular user, can't you do this through some form of collection in RDSH, by assigning one machine and one user to it?
0
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 41744090
You can always use sysinternals bginfo and configure it to show the computername on the desktop
0
 
LVL 25

Accepted Solution

by:
Tony Johncock earned 500 total points
ID: 41749206
I am not sure this is the most graceful way but you could use these lines of PS code as a logout script on their desktops:

$file = "\\SERVER\SHARE\USERNAME\LastLogin.txt"
$Computername = $env:COMPUTERNAME | out-file $file

You could either then make that LastLogin.txt file accessible to them, or even publish another PS script in RDS Web that went something like:

$file = get-content "\\SERVER\SHARE\USERNAME\LastLogin.txt"
Mstsc /v $file
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

828 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