• Services
    • Mergers, Acquisitions and Divestitures (MAD): Know Before You Grow
    • Applications Packaging
    • Application Lifecycle Management
    • Professional Services
    • Road Map’s Asset Management Program (RAMP)
  • Experience
  • Partners & Products
  • About
    • Our Values
    • Our Focus
    • Leadership Team
    • Advisory Board
    • Philanthropy
  • News
  • Blog
  • Contact
  • News
  • Blog
  • Contact
Roadmap Technologies, LLC
Call Us! 314.222.0057
Roadmap Technologies, LLC
  • Home
  • Services
    • Discovery Assessments
    • Road Map’s Asset Management Program (RAMP)
    • Application Packaging
    • Application Lifecycle Management
    • Professional Services
    • Cyber Security Services
      • Technical Compliance Assessments
  • Experience
  • Partners & Products
  • About Us
    • Our Focus
    • Our Values
    • Testimonials
    • Leadership Team
    • Advisory Board
    • Philanthropy

Upgrade PowerShell and App-V Stops Working!

published on June 19, 2017
tagged in App-V Receipe, Application Packaging, Application Sequencing Tools, Application Virtualization

During an upgrade to Powershell 5 for a customer, we found that App-V applications would no longer work.  This was during an upgrade to PS 3 to PS 5 on Windows 7.  The PS 5 upgrade also had a dependency of PS 4, which may be the root cause of the issue.   Microsoft may have taken out the PS 4 dependency for the latest PS version upgrades since PS 5.0.

We saw an issue when importing the App-V module, it would fail unless we re-installed the App-V client. The error may be something like:

“The specified module ‘appvclient’ was not loaded because no valid module file was found in any module directory.”

Well none of us want to repair or re-install the App-V client after an upgrade.  After a bit of digging, we found that the install of PowerShell deleted the modules in the PowerShell directory.

Just adding a few extra lines to your install can remedy the issue.  Add the below lines to your Powershell installation script and automate the fix during the install.  Be sure to put it after the PowerShell 5 install and prior to the reboot.

if (Test-Path ‘c:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppVClientCmdlets.psm1’)

{

New-Item -ItemType Directory -Force -Path ‘c:\Windows\System32\WindowsPowerShell\v1.0\Modules\AppVclient’

Copy-Item -Path ‘c:\Program Files\Microsoft Application Virtualization\Client\AppvClient\*.*’ -Destination ‘c:\Windows\System32\WindowsPowerShell\v1.0\Modules\AppVclient’

#Import-Module ‘c:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppVClientCmdlets.psd1’

Import-Module ‘c:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppVClientCmdlets.psm1’

}

 

 

Hope this helps!

Ready To Simplify?

Road Map Technologies is your partner for reliable technology integration and managed services

Get Started

Recent Posts

  • Why Cybersecurity Insurance is Essential for Modern Businesses
  • The Hidden Costs of Cyber Attacks: How Insurance Can Help
  • Navigating Cybersecurity Insurance: Key Considerations for Business Leaders
  • Why ITSM is Critical for Modern Businesses
  • 5 Ways ITSM Can Boost Your Company’s Productivity

About Us

  • About
  • Contact
  • News
  • Blog

Services

  • Mergers, Acquisitions and Divestitures (MAD): Know Before You Grow
  • Road Map’s Asset Management Program (RAMP)
  • Applications Packaging
  • Application Lifecycle Management
  • Professional Services
  • Staff Augmentation

Partners & Products

  • Flexera
  • SentinelOne
  • RAMP (Road Map’s Asset Management Program)
  • RayNET

Road Map Technologies LLC

111 Wesport Plaza 6th Floor
Saint Louis, MO 63146

314.222.0057


Road Map Technologies

Application Remediation Management Group

Copyright © 2025. Road Map Technologies LLC. All Rights Reserved.