Run Dism command as user

how can i run Dism command for user?
I am trying below lines but it errors out

Copy-Item -Path “$dirfiles\association.xml” -Destination “C:\windows\association.xml”

Execute-ProcessAsUser -Path “$PSHOME\powershell.exe” -Parameters “-Command & { & dism /online /import-defaultappassociations:“c:\windows\association.xml”}” -Wait

Failed to set read permissions on path

I don’t think DISM is meant to run as user.
Try to run DISM as user without PSADT.
If it works, we help you get it working in PSADT.

That said, to force file Associations in Windows you need to use GPO and an xml file. (I think)