Add registry values from .reg file
Converts .reg
files into PowerShell commands for easier registry deployment, automatically generating installation and removal code for PSAppDeployToolkit scripts.
This feature allows converting .reg
files into PowerShell commands used in PSAppDeployToolkit scripts. It eliminates the need to manually write registry manipulation commands by automatically generating them based on the imported file.
How it works
- Click Browse .reg and select a registry export file from your system.
- Master Wrapper will parse the
.reg
content and automatically convert it intoSet-ADTRegistryKey
commands for installation andRemove-ADTRegistryKey
commands for uninstallation. - If the registry keys are under
HKCU
, the tool will useInvoke-ADTAllUsersRegistryAction
to ensure that the changes apply to all user profiles during a SYSTEM-level installation.
Generated code
- Install code: Appears in the top code window and contains
Set-ADTRegistryKey
commands. This is meant to be copied into the Install or Repair section of the deployment script. - Uninstall code: Appears in the bottom code window with
Remove-ADTRegistryKey
commands. This should be added to the Uninstall section of your script to clean up registry keys if needed.