Import .reg file

Hi,

I have exported a .reg file from registry that i want to import with Powershell App Deployment Toolkit.
The reg file is large so i dont want to use “Set-RegistryKey” and manually create all the values.

It worked fine with command:

Execute-Process -FilePath “reg.exe” -Parameters “import $dirSupportFiles\test.reg” -PassThru

2 Likes