Forum Discussion
How to disable login for one server
Hi,
are you making use of the WVD azure app at all?
I find when i disable new sessions and de-allocate the machine users are not re directed to the drained resource.
- Mtollex70Dec 23, 2019Brass Contributor
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.
- WillSomervilleDec 23, 2019Brass Contributor
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.