Remove app-v package powershell

I'm trying to remove an app-v 4.6SP1 package using powershell. I've registered the snappin using the following article
http://posh4appv.codeplex.com/
however when I try to run any commands I get the following error
PS C:\WINDOWS\system32> Get-AppVPackages
Get-AppVPackages : Object reference not set to an instance of an object.
At line:1 char:1
+ Get-AppVPackages
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-AppVPackages], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,AppVSnapIn.GetAppVPackage

There's your issue then!
"The Microsoft App-V Server 4.6 SP1 PowerShell Snapin provides a set of Cmdlets to enable IT administrators
to manage App-V Server 4.6 SP1 using Microsoft Windows PowerShell."
If you want to manually add/remove apps from the client with a command line or script you will need to use sftmime.exe:
http://technet.microsoft.com/en-gb/library/cc817090.aspx
Dan Gough - UK App-V MVP
Blog: packageology.com
Twitter: @packageologist
LinkedIn

Similar Messages

  • Sharepoint opendocument class add-on removed within the app-v package

    Hi all,
    On my environment the computers have the office installed locally (Office professional plus), I'm sequencing a package with Office Pro Plus + Visio + Project. The objetive of this is to let the users use visio and project for a certain amount of
    time.
    When I remove the package from the client the IE opendocument class add-on is removed, then they aren't able to edit office documents in sharepoint. The solution to this issue was to repair office. But this won't work on our production environment.
    Do any of you have faced a problem like this or do you now any way to prevent that the add on will be removed ?
    My environment is:
    App-V 5 SP1 (Server and client)
    The package contains: Office 2010 Professional Plu, Visio Standard, Project Standard, the office deployment kit.
    The packages are administered with the app-v management console.
    Thanks in advance
    Regards

    Office installed locally and delivered as an App-V package isn't supported, I'd suggest that if Office Pro Plus is installed, then also install Visio and Project.
    Note that Office applications licensed through Volume License, are device-based licensing. I would be very careful about providing Office suites/applications to users for a certain amount of time, as that does not adhere to the license agreement. Be careful
    in case your company is audited.
    If you need to provide users with access to Visio and/or Project, then you need to license the users's physical device.
    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.
    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
    Twitter:
    @stealthpuppy | Blog:
    stealthpuppy.com |
    The Definitive Guide to Delivering Microsoft Office with App-V

  • 1 App-v package (5.0) won't start, howto repair (default repair won't work)

    Hi,
    I have this one App-v applicationon a server that won't start, I get some strange error what doesn't give any results in google. The application works fine on another server so the application itself is fine.
    I tried to remove the package via powershell but it won't let me. Now I tried
    Get-AppvClientPackage -All | Remove-AppVClientPackage hoping it would clear the cache (just as in 4.6), they are effectively gone but they show as installed in software center. Tried a computer policy refresh (they
    are published to computer) but no change.
    Please advise on this + what is the proper way to correct this problem in general (1 app-v that won't start on 1 server, whereas the App-v application is ok)?
    J.
    Jan Hoedt

    Don't have the message anymore and cannot reproduce it. Never mind, you can close this post.
    Packages are getting through after a reboot. I was only looking for an easy way to repair app-v packages, the powershell can do that but it does not refresh it directly, a reboot was necessary.
    Jan Hoedt
    Your best bet is to run a repair from the App-V console on the client. If you are using App-V 5.0 SP2+ then download the UI and run the repair
    Cheers
    Paul | sccmentor.wordpress.com

  • Slow Mount for App-V Packages

    Hi,
    I'm having an issue I first noticed with App-V 5 sequence packages deployed via ConfigMgr 2012 SP1 that are taking forever to mount.
    To rule out ConfigMgr i've manually copied an app-v package (around 1GB) and ran the following powershell commands locally on a test client...
    Add-AppvClientPackage -Path "path to package" | Publish-AppvClientPackage -Global | Mount-AppvClientPackage -Verbose
    The mount command takes around 25-35+ minutes to complete, which is the behaviour i'm seeing when ConfigMgr deploys the package to a client.
    If i was to just run the MSI from the same sequenced App-V Package on a client system this would complete a number of minutes.
    Whats the difference between how and what the MSI installer does and why is the mount command taking so long?
    App-V version is 5.0 SP1.
    Thanks,
    Doug

    +1
    We similarly have 30 - 45 minute mount times particularly for the larger Autodesk products (using App-V Server infrastructure) compared to 2 - 3 minutes for exactly the same package sequenced in 4.6.
    I raised a ticket with Microsoft and initially figuring it must be something in the way we were sequencing in 5.0. They played with one or two of our packages and gave a few tips to tidy up the packages, told us there were general performance issues at that
    stage with 5.0 but essentially there was no answer. To us, a package taking 20 minutes to load against 30-45 does not real make a huge difference. It is not acceptable coming from what we had with 4.6.
    I was told that a Hotfix was due to be released immediately after SP2 that would deal with some of the "performance issues" but no sign yet.
    We have been rolling out Windows 8.1 across our regional offices and have taken to sticking a member of IT in all of the App-V Groups that are required for the local office and doing the Mount on the weekend as part of the install. We can't be rolling
    out Windows 8.1 and then having the guys come in on a Monday and telling them they can't use any Apps for 2 hours. I'd be laughed out of the office.

  • Updating app-v packages on clients already deployed to.

    hi
    I'm deploying a few app-v packages..  
    If I make some changes to the osd file for instance.. 
    how do I get this update through to the clients that already have the app-v package deployed?
    Kindest regards, Martin

    You need to supersede the application. So create a new application and then set supersede rules in the properties of the new application. Browse to the app to replace and then in the New Deployment Type drop down select the new application. 
    Once that is done remove the deployment of the old application as this is no longer required.
    Cheers
    Paul | sccmentor.wordpress.com

  • App-V packages not streaming on VMWare View VDI

    Hello All,
    We are currently running SCCM 2012 R2 CU2 on VMware View VDI's.
    We maintain our golden image using SCCM OSD.
    NExt to applications installed in the image, we are also using app-v packages.
    Before we can deploy the image, it needs to be stripped (or sysprepped) so as to garantuee that the clones will not report to the Management Point using the same SCCM Guids etc.
    There for we perform the following:
    net stop "CcmExec"
    Remove-Item c:\windows\smscfg.ini
    Get-ChildItem -Path cert:\LocalMachine\SMS | Remove-Item
    Get-wmiObject -Namespace root\ccm\invagt -class inventoryActionStatus | where {$_.inventoryactionID -eq "{00000000-0000-0000-0000-000000000001}" } | remove-wmiobject
    Clear-EventLog -logname Application
    Clear-EventLog -logname System
    Clear-EventLog -logname Security
    Get-ChildItem c:\windows\ccm\logs | remove-item
    When we deploy the new version of an image, we see that APP-V packages are not being streamed immediately to the clients.
    While troubleshooting, I noticed that whenever I login and run a Machine Policy Evaluation & Retrieval cycle, that a ccmrepair and ccmrestart is being executed.
    After the restart, the client immediately starts streaming the App-V packages.
    Can anyone help me in pinpointing where the ccmrestart gets triggered from?
    I've searched to already a lot of logs (ccmexec, execmgr, policyagent, policyevaluator,..) for the root cause but am unable to find it.
    Many thanks in advance!
    Filip Theyssens

    Hi,
    I just ran the action "Machine Policy Evaluation & Retrieval cycle" on my client, the Ccmrepair and Ccmrestart were not being executed from the logs.
    You could trigger the CcmRestart by running "%windir%\CCM\CcmRestart.exe".
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • [svn:fx-trunk] 16385: -removed the utilities package target since it' s not used any longer - at least what is contained in this target.

    Revision: 16385
    Revision: 16385
    Author:   [email protected]
    Date:     2010-06-01 13:32:35 -0700 (Tue, 01 Jun 2010)
    Log Message:
    -removed the utilities package target since it's not used any longer - at least what is contained in this target.  I believe this was a leftover from flex 2 days.
    -fix up the packaging targets to ensure they are being properly built.  I removed depends="temp-clean" and inserted antcall target="temp-clean" because a target gets executed only once, even when more than one target depends on it. 
    QE notes:
    Doc notes: no
    Bugs: no
    Reviewer: Guarav
    Tests run: no
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/build.xml

    http://blogs.adobe.com/jkost/2014/06/installing-the-2014-release-of-creative-cloud.html
    -This messages says (at least some) CC 2014 programs use NEW plugins https://forums.adobe.com/thread/1499663
    -so do not uninstall the older CC programs if you use plugins in your programs until you are sure you have plugins that work in CC2014
    If you are sure you don't need the old CC programs
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall

  • Poweshell: deploy App-v package: deadline is wrong

    Hi,
    I have this powershell-line to deploy an App-v package. Only thing is that the deployment time appears wrong. I just wanted to set the deployment deadline date to 2015/04/21 10:00 but it appears as 12:00 when used this Powershell line:
    Start-CMApplicationDeployment -CollectionName $DeviceCollectionNameAppV -Name $FullAppVName -DeployPurpose $DeployPurpose -DeployAction Install -UserNotification DisplayAll -DeadlineDate $DeadlineDate -DeadlineTime $DeadlineTime -AvaliableDate $AvailableDate
    -AvaliableTime $AvailableTime
    $Date = Get-Date -format "yyyy/MM/dd"
    $Time = Get-Date -Format "h:mm"
    $AvailableDate = "2015/04/20" #$Date
    $AvailableTime = "21:00" #$Time
    $DeadlineDate = "2015/04/21"
    $DeadlineTime = "10:00"
    Please advise.
    J.
    Jan Hoedt

    Is a parameter of your
    Start-CMApplicationDeployment cmdlet:
    https://technet.microsoft.com/en-us/library/jj821911%28v=sc.20%29.aspx

  • How to remove files with package manager?

    CanI remove file with package manager
    For example if there is a file /apps/cq/ui/widgets/source/widgets/form/RichText.js in Author Instance A, then I delete RichText.js file using crxde.  Then I create a package remove_richtextjs.zip with filter /apps/cq/ui/widgets/source/widgets/form/
    Then I open another instance Author Instance B, there is an exact same file /apps/cq/ui/widgets/source/widgets/form/RichText.js.  Is it possible that if I apply remove_richtextjs.zip, an RichText.js will be removed from Author Instance B?
    Thanks

    You don't have to pay to remove files. Just drag them to the Trash and Empty the Trash.

  • Removing apps from Windows 8

    I am using Power shell to remove the modren apps from all users on Windows 8.  Can I just run the following Get-AppxProvisionedPackage -online | Remove-AppxProvisionedPackage -online or do I need to run Get-AppXPackage -AllUsers before I run the
    other script? Is the text case sensitive?

    Hi,
    Regards this issue,you need to understand these commands.
    The Get-AppxProvisionedPackage cmdlet gets information about app packages (.appx) in an image that are set to install for each new user.
    The Get-AppxPackage cmdlet gets a list of the app packages (.appx) that are installed in a user profile.
    The Remove-AppxProvisionedPackage cmdlet removes app packages (.appx) from a Windows image. App packages will not be installed when new user accounts are created. Packages will not be removed from existing user accounts.
    The Remove-AppxPackage cmdlet removes an app package (.appx) from a user account.
    We need to use Get-AppXPackage -AllUser command to get the package information fist.
    Also,we can use the script as Yannick Plavonil mentioned to remove Built-in Applications from Windows 8.
    http://blogs.technet.com/b/deploymentguys/archive/2013/06/07/update-removing-built-in-applications-from-windows-8.aspx
    Regards,
    Kelvin Xu
    TechNet Community Support

  • Removeing kde-meta packages

    Hi!
    On KDE 4.3, when I try to remove an unwanted KDE app (ie KsCD), it tells me that i need to remove the corresponding kde-meta package as well (ie kde-meta-kdemultimedia). cool. however, when i do this, it makes all of the other apps with the kdemultimedia group orphans - i.e. they show up in pacman -Qdtq. is there any way to stop this from happening?

    I'd say just remove the meta-packages and reinstall (with --asexplicit) those that you want to keep and which show up in -Qtd.

  • Office 2013 app-v packages

    In this article, http://blogs.windows.com/itpro/2013/12/02/announcing-mdop-2013-r2/   I see mention of an Office version called "Office 2013 ProPlus
    App-V Package".    Is this a download?  I don't see it available as one when I login to my VLSC site.  
    We plan to install Office 2013 pro plus VLA LOCALLY (on C:) in our vdisk for virtual machines, but will want to stream Visio,Project,Access 2013 to our users' VMs, using App-V.    (We used to use Citrix XenApp to stream them)  
    In the Citrix world, "streaming" is the opposite of Publishing or Hosting (running the app ON the server). Streaming means it copies over the files to the user's C: drive on their VM when they launch the appl.  
    Please advise.

    Hi,
    As far as I know, Microsoft Office 2013 App-V packages are created by using the Office Deployment Tool (ODT). The created packages may have Subscription Licensing or Volume Licensing.
    You need to download Office applications through the ODT first, then convert it into an Office 2013 App-V package with ODT tool.
    For more details, please refer to this KB article:
    http://support.microsoft.com/kb/2915745/en-us
    More reference:
    Supported scenarios for deploying Microsoft Office as an App-V package:
    http://support.microsoft.com/kb/2772509/en-us
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How can I remove apps from my iPad

    How can I remove apps from my iPad? It does not have the little "x" option on the iPad like the iPhones.

    It works just the same as an iPhone. A long hold on an icon will cause them all to start wobbling, drag to move around or tap the X to remove.You can't remove any of the built-in apps so these won't get an X to tap.
    tt2

  • Subscription and volume licensed Office 365 C2R App-V packages on the same computer

    I'm interested if anyone has come across a similar scenario to what we have at the organisation I am currently working for. The organisation has signed up for an E3 subscription to Office 365, however would like to continue to using their volume licenses
    of Visio and Project 2013 (at least until new versions are released at which point they'll likely move to the same subscription model).
    Using the Office Deployment Tool, I've created App-V 5.0 SP2 packages for
    a. "O365ProPlusRetail"
    b. "ProjectProVolume" and "VisioProVolume"
    Both App-V packages ignore any exclusion rules in the configuration.xml file I've defined. This is expected and I can control which applications are published using Config Mgr 2012 R2. Both packages deploy and run as I would expect.
    The issue I specifically have is that if I publish both App-V packages (using different package ID's) to the same PC with modified DeploymentConfig.xml files:
    a. "O365ProPlusRetail" package only enables Word, Outlook and Excel (subscription licensing)
    b. "ProjectProVolume/VisioProVolume" package only enables Visio and Project (volume licensed)
    it appears as though the Word, Excel and Outlook from (b) are utilised instead of from (a) even though they are specifically disabled. This means that Word, Excel and Outlook activate to our local KMS server, rather than using the user credentials as we would
    prefer.
    To confirm I can see that package (a) is already running when I run the following command: Get-AppvClientPackage | select Name, InUse, InUseByCurrentUser
    Name                                                                                         
    InUse                                InUseByCurrentUser
    Microsoft Office 15 ProjectProRetail_O365ProPl...                                             
    True                                             
    True
    Microsoft Office 15 VisioProVolume_ProPlusVolu...                                             
    False                                            
    False
    If I then open Word (which should only be enabled in the first package), I see that the second package is now in use
    Name                                                                                         
    InUse                                InUseByCurrentUser
    Microsoft Office 15 ProjectProRetail_O365ProPl...                                             
    True                                             
    True
    Microsoft Office 15 VisioProVolume_ProPlusVolu...                                             
    True                                             
    True
    I've also confirmed that all the applications (besides Visio and Project) are disabled in the second package:
    Name                                                                                                                                 
    EnabledGlobally
    Database Compare 2013                                                                                                                          
    False
    Spreadsheet Compare 2013                                                                                                                       
    False
    Excel 2013                                                                                                                                     
    False
    OneDrive for Business 2013                                                                                                                     
    False
    InfoPath Filler 2013                                                                                                                           
    False
    Lync 2013                                                                                                                                      
    False
    Access 2013                                                                                                                                    
    False
    Telemetry Log for Office 2013                                                                                                                  
    False
    Telemetry Dashboard for Office 2013                                                                                                            
    False
    Office 2013 Upload Center                                                                                                                      
    False
    Publisher 2013                                                                                                                                 
    False
    Lync Recording Manager                                                                                                                         
    False
    Microsoft Outlook Mobile Service                                                                                                               
    False
    OneNote 2013                                                                                                                                   
    False
    Send to OneNote 2013                                                                                                                           
    False
    Organization Chart Add-in for Microsoft Office programs                                                                                        
    False
    Outlook 2013                                                                                                                                   
    False
    PowerPoint 2013                                                                                                                                
    False
    Microsoft Office 2013                                                                                                                          
    False
    Office 2013 Language Preferences                                                                                                               
    False
    SharePoint Designer 2013                                                                                                                       
    False
    Visio 2013                                                                                                                                      
    True
    Project 2013                                                                                                                                    
    True
    Word 2013                                                                                                                                      
    False
    Office XML Handler                                                                                                                             
    False
    Internet Explorer                                                                                                                              
    False
    Notepad                                                                                                                                        
    False
    Perhaps what I am trying to do is unsupported but I can't find anything explicity calling this out - and surely other organisations will have a similar scenario to us. Is there any best practice recommendations from Microsoft in this regard?
    Cheers, Tim

    here is some reference, hope it's helpful.
    http://support.microsoft.com/kb/2915745
    http://technet.microsoft.com/en-us/library/jj219422(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/hh852466.aspx

  • Problems with Lync integration in App-V Package for Office 365 ProPlus

    We have problems with setting Lync 2013 to automatic start after Windows start with Office 365 ProPlus App-V Package made by Office Deployment Tool. We use latest version for both (ODT and download package) at Windows 7 Enterprise 64 bit.
    We have done this for Lync 2010 and also for Lync 2013 (MSI installations) and it works correctly.
    User can choose to start Lync automatically, but this settings is ignored and in virtual registry is set wrong. We look for possible ways to set this by GPO (in ADMX is not this option available) by inserting in virtual registry with Package ID and user
    SID in registry path.

    Usually setting apps to auto start sets a registry key under HKCU\Software\Microsoft\Windows\CurrentVersion\Run, but since this registry key is inside the virtual environment, Windows does not read it at logon.
    The workaround is to either set this key in the native registry (perhaps by an App-V script), or easier still, just copy the shortcut to the Start Menu\Programs\Startup folder. Since you can't really modify Office 2013 packages with the sequencer, you'd
    have to add this shortcut by modifying the deployment config file.
    Dan Gough - UK App-V MVP
    Blog: packageology.com
    Twitter: @packageologist
    LinkedIn

Maybe you are looking for