Forum Discussion
How to disable login for one server
WillSomerville Yes of course, when the host is deallocated, no one is redirected to that host. But i want to be able to have the machine running, but still disabled for logon.. Like you can do in a "regular" Remote Desktop deployment.
Yeah i see your issue i suspect is it because the PAAS portion of the WVD can still communicate with the VM and its so its not looking for a variable of sorts to remove it as an active member of the pool.
Are you also running the WVD scaling powershell scripts? The variables on this could be causing it to route as you might be exceeding the CPU per session count on the VMs which are available in the pool
I have done some testing with my pools and have been able to take hosts out of my pools and it still allow me to log in without issue. Below is the agent version in use on my pools.
- Mtollex70Dec 23, 2019Brass Contributor
WillSomerville No scaling scrips yet. As a "workaround" i too have taken machines out of the pool if i dont want anyone connecting, but its a hazzle to join them back in. Just wondered if there was a simple command or something to quickly disable / enable logons to a server in a WVD hostpool.
- WillSomervilleDec 23, 2019Brass Contributor
Hmm its odd for sure so just to clarify if you have the below set to no you still get the error right?
The only thing that could possibly be a factor which i would deem as unlikely is the Remote desktop App version. Im on version 1.2.535.19507 (x64) which is what my users are on.
I have not tried this via the web if its something on the client side then it might be a case of having to update the client.
Another note is my RD gateways are in Europe west. do you know what gateway you are connecting too? I cant imagine this being a factor however i know that it appears to be working form this gateway. I had the issues when i was connected to the gateway services in the US.
Cheers
Will
- Mtollex70Dec 23, 2019Brass Contributor
WillSomerville THERE it is! A quick way of disabling logon that i have missed 🙂 But where in the portal is this? Is this the preview management console for WVD? I dont have that published, i tried an early version that did not work, but will try again just to get this feature 🙂