Showing posts with label RDP. Show all posts
Showing posts with label RDP. Show all posts

Wednesday, January 2, 2013

Repairing Unable To RDP To A Parallels Virtuozzo Container

Virtuozzo containers uses it's masternode's operating system files in part to run. Because of this, Windows Updates or other changes can cause it to not function properly.

One common issue is RDP suddenly not working. Luckily it's rather trivial to repair.

First step is to RDP to your Virtuozzo master node.

Second step is to open a cmd window and then enter each of these commands one line at a time (substitute the actual container ID in place of CT_ID):
vzfsctl lnkctl CT_ID --link c:\vz\private\CT_ID\root\windows\system32\drivers\rdpwd.sys --dst \windows\system32\drivers\rdpwd.sys --system

vzfsctl lnkctl CT_ID --link c:\vz\private\CT_ID\root\windows\system32\drivers\RdpDD.sys --dst \windows\system32\drivers\RdpDD.sys --system

vzfsctl lnkctl CT_ID --link c:\vz\private\CT_ID\root\windows\system32\drivers\termdd.sys --dst \windows\system32\drivers\termdd.sys --system

vzfsctl lnkctl CT_ID --link c:\vz\private\CT_ID\root\windows\system32\termsrv.dll --dst \windows\system32\termsrv.dll --system
If the file linking was your problem you should immediately be able to RDP to the container once again.

Wednesday, September 5, 2012

Enable Audio Over RDP For Server 2008

1) Modify required services:
-Click Start -> Run -> Services.msc
-Change the startup type of "Windows Audio Endpoint Service" to automatic
-Change the startup type of "Windows Audio Service" to automatic
-Start both services if they are not started
-Close services

2) Modify the Terminal Services configuration:
-Click Start -> Run -> tsconfig.msc
-Right-click on the RDP-TCP connection in the right-hand pane
-Click the "Client Settings" tab and make sure that no items related to audio are disabled
-Close tsconfig

3) At this time, log out of the server and then log back in

4) Modify the registry
-Log back into your server as Administraor
-Click Start -> Run -> regedit
-Browse to: HKEY_CLASSES_ROOT\AudioEngine\AudioProcessingObjects
-On each subkey, right-click and click "Permissions" -> "Advanced" -> "Owner" tab and set the owenr to the "Administrators" group and click "OK"
-On the main "Permissions" window, click the "Administrators" group and give it "Full Control" and click "OK" to close the permissions window
-Click each subkey and in the right pane, modify the DWORD value of "MinOutputConnections" from 1 to 0, then click "OK"
-Close regedit

5) Restart audio services
-Click Start -> Run -> Services.msc
-Restart the "Windows Audio Service"
-Restart the "Windows Audio Endpoint Service"

6) At this time, log out of the server

7) Setup RDP
-Open the RDP connection dialogue
-Go to "Options" => "Local Resources" => "Configure Remote Audio Settings" and click "Play on this Computer"

8) At this time, log into the server

You should be all set!