The option may be greyed out because the feature is disabled. You can enable it from Hyper-V settings >> Enhance Session Mode Policy >> Allow enhanced session mode. If the option is still greyed out, it may be because the guest operating system does not support it. Windows Home edition and many Linux distros do not support it.