[Ŭ¶ó¿ìµå] Xenapp Uninstall½Ã ¿ø°Ýµ¥½ºÅ©Å¾ Á¢¼Ó ºÒ°¡

goodsense   
   Á¶È¸ 5073   Ãßõ 0    

사용환경

- Azure Windows 2012r2 VM

- Citrix Xenapp 7.6


문제발생 

Xenapp 7.6 삭제 후 원격데스크탑 접속 안됨


에러메세지

원격데스크탑 로그인 시, access deny 메세지 출력


부가문제

온프레미스 환경에서는 모니터를 확인할 수 있지만, Azure에서는 제공하지 않음.


문제원인 확인

The installation of XenApp 6.x or 7x RDS VDA modifies the RDP connection in the registry.

In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Winstations\RDP-Tcp, the value of LoadableProtocol_Object is modified to RPM.CtxRdpProtocolManager. The original value of '{18b726bb-6fe6-4fb9-9276-ed57ce7c7cb2}' is stored in CitrixBackupRdpTcpLoadableProtocolObject for W2K8R2 and ‘{5828227c-20cf-4408-b73f-73ab70b8849f}’ for W2K12R2. When uninstalling XenApp 6.x or 7x VDA, this original value must be copied back to LoadableProtocol_Object, but sometimes the original settings are not restored.


문제해결

1. Azure 직렬콘솔 서비스 접속

2. cmd 명령으로 채널 생성 후, 로그인

3. 아래 명령을 입력함(메모장에 입력 후, 직렬콘솔에서 Shift+Insert 키로 붙여넣기 가능)

  3-1. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Winstations\RDP-Tcp" /v LoadableProtocol_Object /t REG_SZ /d {5828227c-20cf-4408-b73f-73ab70b8849f}

  3-2. net stop termservice

  3-3. net start Termservice

4. 원격데스크탑 연결 확인


참고문서

1. Citrix Support Knowledge Center 

https://support.citrix.com/article/CTX136390

2. Azure Serial console commands

https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/serial-console-cmd-ps-commands

3. Windows Reg command

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg