Coping file to %userprofile%\appdata\locallow

Hi Guys

Is there a way to copy a file the %userprofile%\appdata\locallow folder? I tried using $envUserStartMenuPrograms\appdata\locallow erroing out

The Powershell path to this is


cp -Path <source> -Destination $env:USERPROFILE\AppData\LocalLow\

Should get this done

Thank u sir I figured it out I used


FYI: if you run PSADT as SYSTEM, you are going to get the SYSTEM account’s profile.

1 Like

Is there a way to put it in all userprofiles?

you might want to look at Installing in user profiles - ActiveSetup vs. Execute-ProcessAsUser - The Toolkit / Tips & Tricks - PSAppDeployToolkit Community

I’m a proponent of using ActiveSetup but I’m noticing most people are using Execute-ProcessAsUser even with its limitations.

1 Like