Solved

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

Posted on 2016-08-05
3
71 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 79

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Let’s list some of the technologies that enable smooth teleworking. 
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

809 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