Script to automate backing up Autodesk Vault 2008
By peter.stilgoe
Here is the script I use to backup our Vault 2008 server, I run this as a scheduled task batch file on our SBS 2003 server.
Note the -S switch to run the backup in silent mode so you dont get irritating ‘OK’ pop up windows etc. -VP is where you enter your password. Obviously just change the paths & username / password to match your Vault setup.
REM: Cycling the SQL server
NET STOP MSSQL$AUTODESKVAULT
NET START MSSQL$AUTODESKVAULT
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:: Delete “B” and Cascade “A” backup subdirectories
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
RMDIR /Q /S “C:\Vault Backups\B”
MOVE /Y “C:\Vault Backups\A” “C:\Vault Backups\B”
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:: Start the backup process
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MKDIR “C:\Vault Backups\A\”
“C:\Program Files\Autodesk\Data Management Server 2008\ADMS Console\Connectivity.ADMSConsole.exe” -Obackup -B”C:\Vault Backups\A” -VUadministrator -VP -VAL -S
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:: Defragment the Database
::+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
“C:\Program Files\Autodesk\Data Management Server 2008\ADMS Console\Connectivity.ADMSConsole.exe” -Odefragment -NVault -VUadministrator -VP -S
Autodesk Inventor 2008: Fatal error during installation acad.msi: AdskExecuteSequence
By peter.stilgoe
Error: Fatal error during installation acad.msi: AdskExecuteSequence
Autodesk have never been the best in creating install packages & this appears to be another prime example!
You are getting the above error becuase the program is “auto running” the setup64.exe version automatically ie. Setup for PC’s with 64bit processors. This causes the above error message when your are trying to install on a 32bit machine.
A quick workaround to the problem is to browse the CD and run the setup32.exe file located after “exploring” the Inventor Pro 2008 CD1 and Mechanical Desktop 2008 installs without any further errors.
Autodesk AutoCad licence problem
By peter.stilgoe
If you have a client who cannot run Autocad 2007 that is bundled with Inventor 11 because of a ‘invalid licence error’ it is probably because in the registry its set to a ‘standalone licence’ & needs to be set to a ‘network licence’.
You can do this by editing the registry as instructed below:
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\Rxx.x\ACAD-xxxx:xxx\AdLM]
“Type”=dword:00000019
19=network license NLM
2a=standalone licence SLM
How to completely uninstall Autodesk Inventor
By peter.stilgoe
To completely uninstall Autodesk Inventor® from the system, follow the procedure below.
Log in as the Local System Administrator and disable any virus scanning programs.
In the Windows Control Panel, double-click the Add/Remove Programs icon.
Select Autodesk Inventor, click Remove.
Select Autodesk Inventor Professional Modules (if installed), click Remove.
Select Autodesk Vault 4 Client, Click Remove
Select Autodesk DM Server, Click remove
Select Microsoft SQL Server Desktop Engine (AUTODESKVAULT), and Remove
Select Microsoft SQL Server Desktop Engine (INVENTORCONTENTCENTER), and remove
In Windows Explorer, delete the following directories:
C:\Program Files\ Autodesk\Inventor 10 (and Inventor Professional 10)
C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor 10 (and Inventor Professional 10)
Go to C:\Program Files\Microsoft SQL Server and delete both MSSQL$AUTODESKVAULT and MSSQL$AUTODESKCONTENTCENTER,
On the Start menu (Windows), click Run.
In the Run dialog box, enter regedit in the Open box and click OK.
In the the Registry Editor, locate the following subkeys and delete them:
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Autodesk Inventor 10 (and Inventor Professional 10)
HKEY_CURRENT_USER\Software\Autodesk\ Inventor\RegistryVersion 10
Exit the Registry Editor and reboot the computer.
Install your new Software following the install proceedures found on the Product DVD.
Once the system is clean, you can then reinstall Inventor and any other Autodesk products you removed.
Warning! Problems caused by improperly editing the Windows registry could render your computer operating system unusable. Microsoft provides a wealth of critical information that you need to know about the registry in the Microsoft Knowledge Base at http://support.microsoft.com.
Use the Microsoft® Registry Editor only at your own risk and only after backing up the registry as well as the system.dat and user.dat files as outlined for your operating system in the Microsoft Knowledge Base and in the related Autodesk Technical Solution, TS66513. Additional information about the registry is also contained in the Help topics in the Microsoft Registry Editor.



November 8th, 2007

![Recommend [pstilgoe]](http://s3.amazonaws.com/arkayne-media/img/badge/logo-recommend-badge-medium.png)