locked
How can you CLOSE a SPECIFIC Virtual application using a command line? RRS feed

  • Question

  • Hello, 

    Does a method exist to Close a specific virtual application via a command line, WMI object, .NET library any other scriptable way?

    This would be great to be able to close virtual applications before large deployments where SFTMIME would be use to UNPUBLISH the application. 

    Looking forward to your answers!

    NoseyF

    Wednesday, September 26, 2012 12:15 PM

Answers

  • Have you tried SFTTRAY /EXIT applied to that specific application? I am curious why you would want to shut this down. Is this to ensure updates are applied to a package?

    BTW: I would advise against using taskkill to kill virtual applications as that could leasd to corruption.


    Steve Thomas, Senior Consultant, Microsoft

    App-V/MED-V/SCVMM/Server App-V/MDOP/AppCompat

    http://blogs.technet.com/gladiatormsft/
    The App-V Team blog: http://blogs.technet.com/appv/
    The MED-V Team Blog: http://blogs.technet.com/medv
    The SCVMM Team blog: http://blogs.technet.com/scvmm/

    “This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”

    • Proposed as answer by znack Friday, November 16, 2012 9:36 AM
    • Marked as answer by Aaron.ParkerModerator Friday, November 16, 2012 11:01 PM
    Thursday, September 27, 2012 5:27 PM

All replies

  • Have you tried using TASKKILL.EXE? Built into Windows.


    Twitter: @stealthpuppy | Blog: stealthpuppy.com

    This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually answer your question). This can be beneficial to other community members reading the thread.

    Wednesday, September 26, 2012 1:13 PM
    Moderator
  • Have you tried SFTTRAY /EXIT applied to that specific application? I am curious why you would want to shut this down. Is this to ensure updates are applied to a package?

    BTW: I would advise against using taskkill to kill virtual applications as that could leasd to corruption.


    Steve Thomas, Senior Consultant, Microsoft

    App-V/MED-V/SCVMM/Server App-V/MDOP/AppCompat

    http://blogs.technet.com/gladiatormsft/
    The App-V Team blog: http://blogs.technet.com/appv/
    The MED-V Team Blog: http://blogs.technet.com/medv
    The SCVMM Team blog: http://blogs.technet.com/scvmm/

    “This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”

    • Proposed as answer by znack Friday, November 16, 2012 9:36 AM
    • Marked as answer by Aaron.ParkerModerator Friday, November 16, 2012 11:01 PM
    Thursday, September 27, 2012 5:27 PM