I'm trying to trigger the shutdown dialog in my Windows XP VM using prlctl.
If I use the command prompt in XP, the following works:
Code:
>taskkill /IM explorer.exe
But if I use this command with prlctl in Terminal on my macOS host, I get an error:
Code:
$prlctl exec "Windows XP" taskkill /IM explorer.exe
ERROR: The process "explorer.exe" with PID 1728 could not be terminated.
Reason: This process can only be terminated forcefully (with /F option).
Running
Code:
$prlctl exec "Windows XP" taskkill /F /IM explorer.exe
results in the taskbar and every item on the Windows desktop to disappear, only leaving the desktop background.
So when ran via prlctl, explorer.exe does not seem to refer to the same task as when ran on the command prompt in XP. Is there any solution to this?