SCCMScripts

Add registry key using Task Sequence

Today i had a task where i need to add a registry key to into registry using the OSD task sequence.

We want to add a value name “MaxByetesReboots” with value Data”0″ into  “HKLM\Software\Credant\DecryptAgen”.

From Task sequence, add a Run a Command step, then add these settings

cmd /c reg add “HKLM\Software\Credant\DecryptAgent” /v MaxBytesReboot /t REG_DWORD /d 0 /f

Value Name:  MaxbytesReboot

Value Data:  0

 

 

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button