Mark Minasi's Tech Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 273
Reply with quote  #1 
Is there an alternative for "mstsc.exe /v:MyServer /control /shadow:nn" ?
Preferable a tool that can use a username instead of a shadow ID.
I want to shadow a session on a server, especially non RD servers.

__________________
Pieter Demeulemeester
0
dennis-360ict

New Friend (or an Old Friend who Built a New Account)
Registered:
Posts: 81
Reply with quote  #2 
Hmm.. rds is my speciality, but i really don’t know..

You could use taskmgr, but that won’t work remote. Lots of rdp managers out there, but not sure if you could do a remote shadow. Servermanger doesnt do shadow on non rds and ms rds manger might do it, but thats a ws08r2 tool (which you can copy to ws12r2), but again, not sure on the shadowing.

Does the win10 mstsc /? might have that option?

Remmina or xfreerdp on linux might be able to do it.

__________________
-----
Home is where is sleep
0
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 273
Reply with quote  #3 
Hi Dennis, thanks for replying.
Considering you are a RDS Guy, maybe an idea to do some development and create a tool.  [smile]
Always willing to help.
Anyway, many thanks.

__________________
Pieter Demeulemeester
0
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 273
Reply with quote  #4 
I made a little script.

@echo off

Set $SERVER=
Set $ID=

SET /P $SERVER=Which server [enter servernaam] ?:
for /F "tokens=2,3" %%a in ('query.exe SESSION /server:%$SERVER% ^| find /I "active"') Do @echo %%b %%a
SET /P $ID=Which user [enter nummer from list] ?:

start mstsc.exe /v:%$SERVER% /shadow:%$ID% /control


I does work for Win2016 server [smile], but it doesn't work for a Win10 PC [confused].
Any addition is welcome.


__________________
Pieter Demeulemeester
0
dennis-360ict

New Friend (or an Old Friend who Built a New Account)
Registered:
Posts: 81
Reply with quote  #5 
We actually tried that, creating an MS rds manager for 2008R2, basicly a Citrix console for RDS. The current one wasn't made for large RDS implementations, when having 100's of RDS servers in that tool, it just broke or gave incomplete results. We ended up creating lots of scripts to do the same. I guess we should publish the tools we created, although they are kind of outdated as they were created for WS08R2 which is EOL in jan 2020. After that date, we'll switch to Citrix. #donewithMSrds.

But after MS gave up on making RDS scalable on Win12R2 in Azure (Azure remote app) and told us to just use Citrix, I think MS sees it like a legacy tech to for Azure. Citrix is the best out there and that product was kind of finished in 2010 I think, not much groundbreaking features since then I think.

I thought RDS was the way to go when I first saw it in '97 with Citrix Winframe and decided that was the area I wanted to specialize in. But after Win12(R2) RDS I gave up. I decided to go linux-docker-kubernetes. Lot's of catching up to do, but I've found new joy in computing. It amazes me that all the automazation I've tried to do with Windows the last 20 years actually never really worked. Like auto deployment, monitoring/alerting, management, updating never _really_ worked. Wsus, SCCM, SCOM, WDS, SCVMM. I believed the mantra MS kept telling us: "In this new version, this works!".. It's so weird to actually see all that stuff really work on Linux/Ubuntu. I've decided Windows Server is not really an Server OS, their desktop gets in the way. Core would be a way to go I guess, but thats an entirely other discussion and the last figures I saw adoption was like 10% in europe. But it's weird, I kind of are done with whole MS and their products. As public cloud goes, I think AWS/GCE is much better and interesting, although I'm not really interested in public cloud tech because of privacy concerns. I actually think MS already lost the war, they are just living on momentum for those businesses who have done MS for the last 20 years or the small ones. It's gonna be interesting if all of those businesses will actually stay on Azure or in some time shift to the (much better and stable) AWS.

Hmm.. this is kind of a rant/post that better belongs in onther forum area.. I think I'm gonna move this to another forum area.

__________________
-----
Home is where is sleep
0
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 273
Reply with quote  #6 
Nice post, I feel your pain. But indeed a bit out of scope.
My concern is mainly to do a shadow of a RDP session on non RD Session Host servers (ex. DC, SQL server, RDS broker etc...).

And BTW, the scripts works for Win10 as well.

__________________
Pieter Demeulemeester
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.