Live Scores
Shareware
Movie Stars
in
Windows
OS
(Entire Site)
Questions and answers to issues related to Microsoft: Windows, Applications, Development, Hardware, Server, Internet Protocols, Database, Exchange .
»
OS
»
Windows
»
How do I use PSKill on a Terminal Server and only kill the instance for a logged on user?
How do I use PSKill on a Terminal Server and only kill the instance for a logged on user?
App is MS Access, Word, Office 2003 using automation and the new environment is running this on Windows Server 2008 via Terminal Services and there are many users using this and the problem is intermittent and not all users are affected.
There are intermittent times the Word Object (via automation) is not terminating as it should and the temporary band aid-fix is to use PSKill.
P:\MS_Tools\pskill.exe \\TermServer -u Username -p password winword
This works except it terminates all instances of WinWord on the terminal server.
Many users are logged on and the app needs to terminate the WinWord ONLY for the affected user using VBA
What else do I need to do as I specify the username along with the computer name (which happens to be the terminal server) but all instances are terminated HELP.
Solution: How do I use PSKill on a Terminal Server and only kill the instance for a logged on user?
Sorry I am not a VB developer, but a quick google search resulted in
http://en.allexperts.com/q
/Visual-Ba
sic-1048/K
ill-Proces
s-VB-
its-1
.htm