I'm trying to create a registry script that users can double click and it adds a 32-bit DWORD value to the registry.

The objective is to add EnableARIATelemetryFeature with a value of 0 to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Lync

So far, I am able to do it in the Command Line which is REG ADD HKLM\Software\Microsoft\Office\16.0\Lync /v EnableARIATelemetryFeature /t REG_DWORD /d 0 /f

Can anyone translate it into a .Reg Script so Users can just double click?

Thanks! Krauser


Yes, you can translate it to a .reg script by "exporting" the registry branch using either reg export or regedit tools, then editing out all unneeded values to leave just the one.

According to the .reg file specification:

Windows Registry Editor Version 5.00

  • Thank you for the answer, this was exactly what I was looking for! – Krauser Romanov Jun 17 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.