Solved

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

Posted on 2016-08-05
3
87 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

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 82

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 26

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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

622 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