Forums
CMD-file and Powershell-script below can be used to restart "VBoxTray.exe", that usually fixes issues with clipboard-copy from host to guest.
CMD-file "restart-vboxtray.cmd":
@echo off
powershell.exe -ExecutionPolicy Bypass -File restart-vboxtray.ps1
Powershell-file "restart-vboxtray.ps1"
Write-Output "Restarting VBoxTray to fix problem with Clipboard-copy from host.."
Stop-Process -Name VBoxTray
Sleep 5
Start-Process C:\Windows\system32\VBoxTray.exe
Read-Host “Press ENTER to continue...”
- Log in to post comments