question

KumarCharyNaveen-5027 avatar image
0 Votes"
KumarCharyNaveen-5027 asked AmitaMenon-3691 edited

Unassign the WVD machine from hostpool?

Hi,

We have option to "Assign this machine", how about "UnAssign" the machine from a User?
The only option I see is to remove the machine, which unregister the machine from the hostpool and need to register back with a process of registration key and RD agent configuration, manually.

Any alternate, that can easily "UnAssign" the machine from user in hostpool?

Personal Hostpool.

Regards,
Naveen. S

azure-virtual-desktop
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KumarCharyNaveen-5027

Apologies in delayed response.

I am checking with internal team on this and will confirm back here.

0 Votes 0 ·
vipullag-MSFT avatar image
0 Votes"
vipullag-MSFT answered

@KumarCharyNaveen-5027

I checked with the internal team on this and got confirmation that currently this is the only way possible.

If personal desktop - then only way is to unregister the machine from the hostpool and add in again - this can be done by powershell but is the only way at present.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KumarCharyNaveen-5027 avatar image
0 Votes"
KumarCharyNaveen-5027 answered vipullag-MSFT commented

No problem for delay, thanks for acknowledgment
Yes, it's a personal Desktop our major use case, and we do assign/unassign desktops on regular basis :)

By any chance, can you direct me to the standard powershell script if already in place?

Regards,
Naveen. S

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KumarCharyNaveen-5027

As mentioned, you would have to unregister/remove the session host from the host pool using the Remove-AzWvdSessionHost PowerShell cmdlet, or the Remove option in the Portal, and then re-register it to the host pool using the information found here. I see this is the available details in the public documentation.

Hope that information is helpful.


0 Votes 0 ·