Solved

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

Posted on 2016-08-05
3
55 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 78

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:
Tony1044 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
Resolve DNS query failed errors for Exchange
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now