Hi!
How can I set default first-run initialization settings—such as setting the background color to white—so they persist even after the HKEY_CURRENT_USER registry key is deleted and a new first-run initialization is triggered?
I’ve tried setting the corresponding values under HKEY_LOCAL_MACHINEthinking this is where the default values are sourced, but this had no effect.-
I also tried to configure AutoCAD OEM with the needed settings, hoping these would be picked up by the installer wizard, but this did not work either.
[HKEY_CURRENT_USER\SOFTWARE\<YOUR COMPANY NAME>\<YOUR PRODUCT NAME>\R29\<YOUR PROGRAM NAME>-8101:409\Profiles]
[HKEY_CURRENT_USER\SOFTWARE\<YOUR COMPANY NAME>\<YOUR PRODUCT NAME>\R29\<YOUR PROGRAM NAME>-8101:409\Profiles\<<Unnamed Profile>>]
Add these lines immediately after the above lines:
[HKEY_CURRENT_USER\SOFTWARE\<YOUR COMPANY NAME>\<YOUR PRODUCT NAME>\R29\<YOUR PROGRAM NAME>-8101:409\Profiles\<<Unnamed Profile>>\Drawing Window]
“Background”=dword:ffffff
For AutoCAD OEM 2026, use R30 and 9101 above. For AutoCAD OEM 2024 use R28 and 7101.
Then build the deployment using the InstallWizard as usual, sign and test on a separate machine. Thanks.
I’ve tested this approach now, but cannot get it to work.
I did manage to set most of the settings through code though, so I think that is the way to go for now.