Forum Discussion
Grimknight
Nov 23, 2022Copper Contributor
Multi vs Single Session Registry Key
Is anyone aware of a reliable specific registry key that can be used to determine whether an AVD is single session or multi session? I know you can get it via script but looking to setup a dependency...
askaresh
Nov 23, 2022Iron Contributor
Grimknight You can use the following command
reg query "hklm\software\microsoft\windows nt\currentversion" /v ProductName
- GrimknightNov 29, 2022Copper Contributor
askaresh Thank you for your response. I do not get the same results as you do though. I think I found another key and will be using it.
HKLM\Microsoft\Windows NT\CurrentVersion:EditionID. SingleSession is coming back with "Enterprise" and Multisession is coming back with "ServerRdsh".
Thanks again!
Jeff
- askareshDec 01, 2022Iron ContributorThanks for the additional insights! Strange it works for me on my golden image.. My image is from the Microsoft marketplace.