I am currently working on a project on with AutoCAD 2013 to automatically preconfigure it on the first launch for a user. So here are the steps how to achieve that with EM.
- On an admin workstation start up AutoCAD 2013 and configure all the things you want to have for your users on first launch.
- When you are done stop the application and copy the following things to a network share:
- %APPDATA%\Autodesk
- %LOCALAPPDATA%\Autodesk
- HKEY_CURRENT_USER\Software\Autodesk (-> export this key as a .reg file)
- Now we are starting with the first time configuration. The first thing is that I am using an If/Else condition to check if there are already configuration settings on a network share for the user. If this is true I am copying back in this settings but if this condition is false then I am firing up the first time configuration settings which are the following.
- I am creating an Process started trigger for the AutoCAD 2013 application and configuring the following settings:
As a short explanation: I am creating the folders under %APPDATA% und %LOCALAPPDATA% and then copying back the folders from the network share where we saved the pre-configured settings from number 2. With the registry we have to do some AppSense "magic" because there is the username of pre-configured session hard-coded into the REG-file, so I am copying the reg-file to a temporary location on the disk, then do a textfile update where I am searching for the false username and replace it with the acutal username with the variable %username% and the end I am doing a reg import to import the changed registry-file for the user. - When you have done that you are able to pre-configure your AutoCAD for all of your users on their first launch.
Grettings
michael.obernberger