Run an .exe file that lives in user's Local App Data

I am in the process of attempting to deploy the 1Password Windows app to ~200 or so desktops. They evidently do not have an msi or an .exe that supports silent parameters. In their support forums they recommend the following deployment workaround:


  1. Install 1Password on a testing machine, but do not sign in.

  2. Xcopy the %LOCALAPPDATA%\1Password\app\ directory via your chosen deployment method to everyone's %LOCALAPPDATA%\1Password\app\ directory.

  3. Run the setup command line parameter on the 1Password.exe file: %LOCALAPPDATA%\1Password\app\7\1Password.exe setup


I am able to accomplish 1&2 by adjusting the powershell steps detailed on this page: 


Any thoughts on how one could use something similar to that powershell command in order to accomplish their listed step 3 - run the .exe file that now lives in each user's localappdata folder with the setup parameter?




1 comment
Date Votes
  • Something like this:

    ForEach ( $User in (Get-ChildItem "$env:SystemDrive\Users" -Directory) ) {

    CD "$($User.FullName)\AppData\Local\1Password\app\7"
    & .\1Password.exe setup


Please sign in to leave a comment.

Didn't find what you were looking for?

New post